nagios-nrpe: check_process now return the error code (making the check more usefull than /bin/true)
This commit is contained in:
parent
d0b3b6d6b8
commit
f46f5ccbde
|
@ -18,6 +18,7 @@ The **patch** part changes incrementally at each release.
|
||||||
### Fixed
|
### Fixed
|
||||||
* nginx: Munin url config is now a template to insert the server-status prefix
|
* nginx: Munin url config is now a template to insert the server-status prefix
|
||||||
* redis: In instance mode, ensure to replace the nrpe check_redis with the instance check script
|
* redis: In instance mode, ensure to replace the nrpe check_redis with the instance check script
|
||||||
|
* nagios-nrpe: check_process now return the error code (making the check more usefull than /bin/true)
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
|
|
@ -5,3 +5,5 @@ for proc in cron rsyslogd ntpd munin-node; do
|
||||||
sudo /usr/lib/nagios//plugins/check_procs -C $proc -c 1:
|
sudo /usr/lib/nagios//plugins/check_procs -C $proc -c 1:
|
||||||
rc=$(($rc|$?))
|
rc=$(($rc|$?))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
exit $rc
|
||||||
|
|
Loading…
Reference in a new issue