[Nagiosplug-help] Regarding check_disk

Nigel Prentice nigelpr at paradise.net.nz
Fri Nov 28 22:59:02 CET 2008

Regarding check_diskIf 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 check_disk

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) 
  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 actually. 

  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%);| /=3138MB;3627;3829;0;4031 

  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 faulty.

  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 /dev/null


  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/33cffa08/attachment.html>

More information about the Help mailing list