[Nagiosplug-help] Regarding check_disk

Pak, Dmitry (dmpa) dmpa at tengizchevroil.com
Sat Nov 29 07:02:37 CET 2008

Thanks for reply.
I did all the checks from Nagios server and when I'm invoking this
/usr/local/nagios/libexec/check_nrpe -H <solaris9_box> -c check_disk
(check_disk in this example is the check of the root slice)
I'm receiving this:
DISK CRITICAL: / not found
I already got 2 Solaris9 boxes with such an error, while others are ok.

Yours faithfully, 
Dmitry Pak 
/usr/bin/ - *NIX+Backup Team 

From: Nigel Prentice [mailto:nigelpr at paradise.net.nz] 
Sent: Saturday, November 29, 2008 2:59 AM
To: Nagios Plugin Help List
Subject: Re: [Nagiosplug-help] Regarding check_disk

If it works correctly on the monitored system (solaris9_box), then the
next thing to verify is from the command line on the Nagios server (I
assume you are not passing any parameters via check_nrpe) viz:
<nagios-svr> /usr/local/nagios/libexec/check_nrpe -H <solaris9_box> -c
This will verify that:
1) the communications are okay (probably in your case since other checks
work), and
2) the nrpe.cfg is correct on the monitored system (solaris9_box).

	----- Original Message ----- 
	From: Pak, Dmitry (dmpa) <mailto:dmpa at tengizchevroil.com>  
	To: nagiosplug-help at lists.sourceforge.net 
	Sent: Friday, 28 November 2008 5:12 p.m.
	Subject: [Nagiosplug-help] Regarding check_disk

	Hi 2 All! 

	I got one question regarding check_disk plugin, it's work

	I have Solaris 9 box (SPARC) with compiled plugins (1.4.13) and
NRPE daemon (2.12), done with SSL support. Monitoring host is RHEL4,
working fine.

	When I'm trying to check some of the plugins locally (i.e.
/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /) it's working
fine, without errors.

	<solaris9_box>> /usr/local/nagios/libexec/check_disk -w 10% -c
5% -p / 
	DISK OK - free space: / 851 MB (21% inode=86%);|

	But when I'm doing it through monitoring host (via Nagios
configuration) - it goes with "DISK CRITICAL: / not found". 
	While all others plugins - such as "CPU Load", "Current Users",
"HTTP check" - are working OK. 
	It's not SSL shaking error, because I did all the checks, and
other plugins working OK. But when I'm trying to check disk space - all

	PS. I have a few other Solaris boxes (v9), with the same
versions of plugins and NRPE, compiled the same way. And all working OK
on them regardin disk space usage.

	Yours faithfully, 
	Dmitry Pak 
	/usr/bin/ - *NIX+Backup Team 



	This SF.Net email is sponsored by the Moblin Your Move
Developer's challenge
	Build the coolest Linux based applications with Moblin SDK & win
great prizes
	Grand prize is a trip for two to an Open Source event anywhere
in the world



	Nagiosplug-help mailing list
	Nagiosplug-help at lists.sourceforge.net
	::: Please include plugins version (-v) and OS when reporting
any issue. 
	::: Messages without supporting info will risk being sent to



	No virus found in this incoming message.
	Checked by AVG - http://www.avg.com 
	Version: 8.0.176 / Virus Database: 270.9.11/1817 - Release Date:
11/28/2008 8:17 AM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20081129/9665ab3b/attachment.html>

More information about the Help mailing list