ansible-roles/nagios-nrpe/files/plugins/check_supervisord

7 lines
109 B
Bash
Executable file

#!/bin/bash
sudo /usr/bin/supervisorctl status |while read line
do
echo $line |grep RUNNING || exit 1
done