[Nagiosplug-help] Problem with output of check_disk
Ton Voon
ton.voon at altinity.com
Wed Nov 8 17:08:15 CET 2006
Hi!
This was fixed in the plugins release 1.4.4.
Ton
On 8 Nov 2006, at 15:52, Joerg Janes wrote:
> Hi folks,
>
> i'm new with nagios configuration and struggle with an error in the
> display of the disk usage in the web interface of nagios2. I want
> to display the disk usage of the localhost (sauron):
>
> The command definition:
> define command{
> command_name check_disk_gb
> command_line /usr/lib/nagios/plugins/check_disk -u GB -w
> $ARG1$ -c $ARG2$ -p $ARG3$
> }
>
> The service definition in the config file:
> define service{
> host_name sauron
> service_description Disk Space 4
> check_command check_disk_gb!20%!10%!"/
> dev/hdc1"
> use generic-service
> }
>
> The wrong line in the web interface:
> Disk Space 4 CRITICAL 2006-11-08 08:26:31 0d 19h 8m
> 1s 4/4 DISK CRITICAL - free space: /storage/media/video
> 136298985198123397907742720000 GB (100% inode=105%):
>
> But if I call it from the commandline itself:
> sauron:/usr/lib/nagios/plugins# ./check_disk -u GB -w 20% -c
> 10% -p "/dev/hdc1"
> DISK OK - free space: /storage/media/video 127 GB (53% inode=nan
> %);| /storage/media/video=111GB;190;214;-2147483648;238
>
> Does anyone have an idea how to fix this output error? Ist ist a
> problem of parsing the status output of the plugin?
>
> Some infos about my linux and nagios version-
> sauron:/usr/lib/nagios/plugins# uname -a
> Linux sauron 2.6.17-2-k7 #1 SMP Wed Sep 13 17:18:46 UTC 2006
> i686 GNU/Linux
> sauron:/usr/lib/nagios/plugins# ./check_disk -V
> check_disk (nagios-plugins 1.4.3) 1.68
> sauron:/usr/lib/nagios/plugins# nagios2 --version
> Nagios 2.5
> I use the testing branch of Debian, which is called etch.
>
> Thanks in advance,
> Impesa
>
http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20061108/77097fc0/attachment.html>
More information about the Help
mailing list