[Nagiosplug-help] Monitoring nfs mount-points
Eyal Brave
Eyal.Brave at exanet.com
Wed Oct 17 16:37:31 CEST 2007
Ok, now for some reason the NRPE cant read the command output.
This is the command definition at the remote host :
command[check_disk]=/nagios/nagio-plugins/nagios-plugins-1.4.10/libexec/
check_disk -w 95 -c 99 /var/exanet
And this is the command I type at the nagios host : ./check_nrpe -H
dragon -p 20343 -c check_load
And the output is : NRPE: Unable to read output
BTW, the nrpe agent itself is working because if I type "./check_disk -H
dragon -p 20343" then I receive a "NRPE v2.0" response.
Any ideas?
Eyal
-----Original Message-----
From: Matthias Eble
[mailto:matthias.eble at mailing.kaufland-informationssysteme.com]
Sent: Wednesday, October 17, 2007 3:42 PM
To: Eyal Brave
Cc: Ralph.Grothe at itdz-berlin.de; nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] Monitoring nfs mount-points
Eyal Brave schrieb:
> My command line was : ./check_disk - w 80 -c 90 /var/exanet And I also
> tried : - W and -C And also -p before the "/var/exanet"
>
That's your problem. read --help. check_disk checks for free space not
used space. check_disk takes MB as default unit. alerting is thus
warning when 80MB free critical if less than 90MB. i guess you want
to use -w 20% -c 10%
matthias
More information about the Help
mailing list