[Nagiosplug-help] plugns

Martin J. Green mgreen at altien.com
Wed Jul 26 19:47:03 CEST 2006


Having some bizarre problems with plugins - nagios says they don't exist
(or passes bollocks output in some cases), even when I've explicitly
told it where they are.

 

Take one example...

 

[root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 85% -c 95% -p
/dev/hda1

INPUT ERROR: C_DFP (95.000000) should be less than W_DFP (85.0) and both
should be between zero and 100 percent, inclusive for /dev/hda1

check_disk: Could not parse arguments

Usage: check_disk -w limit -c limit [-p path | -x device] [-t
timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q]

[root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 95% -c 85% -p
/dev/hda1

DISK CRITICAL - free space: / 1776 MB (30% inode=84%);|
/=4130MB;295;885;84;5905

[root at agw01 nagios]# df

Filesystem            Size  Used Avail Use% Mounted on

/dev/hda1             5.8G  3.8G  1.8G  69% /

/dev/hda6              32G   27G  5.5G  83% /home

[root at agw01 nagios]#

 

1)       Critical & warning seem to be the wrong way round? (Critical
*should* be higher than warning, right?)

2)       Why did it tell me my disk was critical - its below both
thresholds??

 

Anything I should be doing - can't seem to figure out why its not
picking them up.

 

________________________________________________________________________
___________________________

The questions remain the same. The answers are eternally variable.

 

Martin J. Green

Altien Ltd

E: mgreen at altien.com

 

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


More information about the Help mailing list