[Nagiosplug-help] Monitoring nfs mount-points

Ralph.Grothe at itdz-berlin.de Ralph.Grothe at itdz-berlin.de
Wed Oct 17 16:47:02 CEST 2007


Besides calling the wrong check command,
isn't that the same typo that Mathias already has shown you?
Where are the % signs with your thresholds?

command[check_disk]=/nagios/nagio-plugins/nagios-plugins-1.4.10/l
ibexec/check_disk -w 95 -c 99 /var/exanet

> -----Original Message-----
> From: Eyal Brave [mailto:Eyal.Brave at exanet.com]
> Sent: Wednesday, October 17, 2007 4:38 PM
> To: Matthias Eble
> Cc: Grothe, Ralph; nagiosplug-help at lists.sourceforge.net
> Subject: RE: [Nagiosplug-help] Monitoring nfs mount-points
> 
> 
> 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.1
> 0/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