I'm trying to get Nagios to check that some procs are running on a CentOS 5 server however when I get NRPE to check it, I get the output below:
Code: Select all
NRPE: Unable to read output
Code: Select all
command[check_local_lfd]=sudo /usr/local/nagios/libexec/check_procs -c 1: -C lfd
Code: Select all
[root@root ~]# sudo /usr/local/nagios/libexec/check_procs -c 1: -C lfd
PROCS OK: 2 processes with command name 'lfd'
Code: Select all
nagios ALL=(ALL) NOPASSWD: /usr/local/nagios/libexec/check_procs
I'm hoping I've supplied enough information!
Any help would be greatly appreciated.