8 lines
148 B
Bash
Executable File
8 lines
148 B
Bash
Executable File
#!/bin/bash
|
|
|
|
rc=0
|
|
for proc in cron rsyslogd ntpd munin-node; do
|
|
sudo /usr/lib/nagios/plugins/check_procs -C $proc -c 1:
|
|
rc=$(($rc|$?))
|
|
done
|