Page 2 of 2

Re: NRPE check_init_service returning: Unable to read output

Posted: Wed Apr 18, 2012 3:38 pm
by GreatWolfResorts
Additional notes to apply. Enabling the messages log was helpful, but I had made two changes without testing each individually. Turns out that the following apt-get was applied which resolved the issue:

Code: Select all

apt-get install gdebi
So, I have documented each step we took that successfully allowed us to check all required items on our Ubuntu 11.04 Server OS:

Code: Select all

# Apt-get install python-software-properties
# Add-apt-repository ppa:nagiosinc/ppa
# Apt-get update
# Apt-get install nagios-agent

Client will prompt for nagios server IP:  <enter IP>

# Apt-get install sysstat (To get the CPU check to work)
# Apt-get install gdebi (resolves check_init_service checks)
http://assets.nagios.com/downloads/nagi ... _Agent.pdf mentiones the running of gdebi install, but as an alternative method to install the client. It appears there is a package or series of packages that are required, (on a clean ubuntu server 11.04 install) in the gdebi package, for the check_init_service to work remotely. No further action was taken in my testing and everything is green. Hope this helps!