[Nagiosplug-help] Monitoring nfs mount-points
Eyal Brave
Eyal.Brave at exanet.com
Wed Oct 17 16:48:58 CEST 2007
Yes, but this is not the issue. I will fix this later but even in this
format I should receive a "DISK OK" output and not an error.
Eyal
-----Original Message-----
From: Ralph.Grothe at itdz-berlin.de [mailto:Ralph.Grothe at itdz-berlin.de]
Sent: Wednesday, October 17, 2007 4:47 PM
To: Eyal Brave; matthias.eble at mailing.kaufland-informationssysteme.com
Cc: nagiosplug-help at lists.sourceforge.net
Subject: RE: [Nagiosplug-help] Monitoring nfs mount-points
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