We're looking to monitor a few of our Ubuntu servers Nagios. I walked through the initially installation of the client on a clean Ubuntu test server by following this documentation:
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
Brief description of procedures is as follows:
Code: Select all
Apt-get install python-software-properties
Add-apt-repository ppa:nagiosinc/ppa
Apt-get update
Apt-get install nagios-agent
Apt-get install sysstat
The only checks failing at this point are the service checks, referencing check_init_service. These are returning "NRPE: Unable to read output."
Code: Select all
[root@noc libexec]# ./check_nrpe -H 10.*.*.* -t 30 -c check_init_service -a 'cron'
NRPE: Unable to read output
The services in question are:
I did however notice that running the following check returned success for the nagios-nrpe-server service:
Code: Select all
[root@noc libexec]# ./check_nrpe -H 10.*.*.* -t 30 -c check_init_service -a 'nagios-nrpe-server'
* nagios-nrpe is running
My instinct is telling me this is permission related, but I'm just not savvy enough in Linux to know where to go from here. Any help would be greatly appreciated!