[Nagiosplug-help] Monitoring nfs mount-points

Eyal Brave Eyal.Brave at exanet.com
Wed Oct 17 16:47:43 CEST 2007


Neither of the commands works.
Same output on both of them.
Eyal 

-----Original Message-----
From: Robert Hassing [mailto:robert at cable2000.nl] 
Sent: Wednesday, October 17, 2007 4:44 PM
To: Eyal Brave; 'Matthias Eble'
Cc: nagiosplug-help at lists.sourceforge.net; Ralph.Grothe at itdz-berlin.de
Subject: RE: [Nagiosplug-help] Monitoring nfs mount-points

Well, 

What if you c=hanged the commando n the host from:

./check_nrpe -H dragon -p 20343 -c check_load

To:
./check_nrpe -H dragon -p 20343 -c check_disk

That will help you bigtime :)

Robert


-----Oorspronkelijk bericht-----
Van: nagiosplug-help-bounces at lists.sourceforge.net
[mailto:nagiosplug-help-bounces at lists.sourceforge.net] Namens Eyal Brave
Verzonden: woensdag 17 oktober 2007 16:38
Aan: Matthias Eble
CC: nagiosplug-help at lists.sourceforge.net; Ralph.Grothe at itdz-berlin.de
Onderwerp: 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.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

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.

::: Messages without supporting info will risk being sent to /dev/null





More information about the Help mailing list