[Nagiosplug-help] odd nrpe and check_disk issue

Tom Luong TLuong at responsys.com
Fri Jan 14 18:11:16 CET 2005


Hello,
 
I have a really odd one here.  I can't get the status of a check_disk from a
remote host. The commands seem to work with I run them manually but Nagios
can't seem to make out that response from the remote host.
 
Facts:
1.	I can manually run check_disk on my client box(hosta) to get an
answer 
[root at hosta]# /usr/local/nagios/libexec/check_disk 80 90 /var
DISK OK - [6142028 kB (73%) free on /dev/sdb1]
2.	manually run check_nrpe on my Nagios server(hostb) as Nagios user
and successfully retrieve a responsys from hosta 
[nagios at hostb]# /usr/local/nagios/libexec/check_nrpe hosta -c check_disk1
DISK OK [4490880 kB (53%) free on /dev/sdb1]
3.	both my check_nrpe and nrpe are:
Version: 1.5
Last Modified: 06-03-2002
License: GPL
4.	command in my nrpe.cfg:
command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 90 /var
 
Issue:
1.	Nagios Service Details page shows "Unable to read output"
2.	I want Nagios to be able to check disk space on the remote hosts
 
 
What I have done so far to try to resolve this without success:
1.	I have tried changing the syntax of the check_disk command to 
command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p
/var
2.	check permission of user on server and remote host running
check_nrpe and nrpe
 
 
Has anymore experience with this?  
 
Thanks in advance for your help.
Tom
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20050114/e4d9b435/attachment.html>


More information about the Help mailing list