nagios-nrpe: check_process now return the error code (making the check more usefull than /bin/true)

This commit is contained in:
Ludovic Poujol 2018-12-12 14:58:12 +01:00
parent d0b3b6d6b8
commit f46f5ccbde
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ The **patch** part changes incrementally at each release.
### Fixed
* 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
* nagios-nrpe: check_process now return the error code (making the check more usefull than /bin/true)
### Security

View File

@ -5,3 +5,5 @@ for proc in cron rsyslogd ntpd munin-node; do
sudo /usr/lib/nagios//plugins/check_procs -C $proc -c 1:
rc=$(($rc|$?))
done
exit $rc