<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Hi!</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This was fixed in the plugins release 1.4.4.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Ton</DIV><DIV><BR><DIV><DIV>On 8 Nov 2006, at 15:52, Joerg Janes wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> Hi folks,<BR> <BR> 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):<BR> <BR> The command definition:<BR>     define command{<BR>         command_name    check_disk_gb<BR>         command_line    /usr/lib/nagios/plugins/check_disk -u GB -w $ARG1$ -c $ARG2$ -p $ARG3$<BR>         }<BR> <BR> The service definition in the config file:<BR>     define service{<BR>             host_name                          sauron<BR>             service_description             Disk Space 4<BR>             check_command                   check_disk_gb!20%!10%!"/dev/hdc1"<BR>             use                             generic-service <BR>     }<BR> <BR> The wrong line in the web interface:<BR>     Disk Space 4    CRITICAL     2006-11-08 08:26:31     0d 19h 8m 1s     4/4     DISK CRITICAL - free space: /storage/media/video <FONT color="#ff0000"><B>136298985198123397907742720000 GB (100% inode=105%)</B></FONT>: <BR> <BR> But if I call it from the commandline itself:<BR>     sauron:/usr/lib/nagios/plugins# ./check_disk -u GB -w 20% -c 10% -p "/dev/hdc1"<BR>     DISK OK - free space: /storage/media/video <FONT color="#ff0000"><B>127 GB (53% inode=nan%)</B></FONT>;| /storage/media/video=111GB;190;214;-2147483648;238<BR> <BR> Does anyone have an idea how to fix this output error? Ist ist a problem of parsing the status output of the plugin?<BR> <BR> Some infos about my linux and nagios version-<BR>     sauron:/usr/lib/nagios/plugins# uname -a<BR>     Linux sauron 2.6.17-2-k7 #1 SMP Wed Sep 13 17:18:46 UTC 2006 i686 GNU/Linux<BR>     sauron:/usr/lib/nagios/plugins# ./check_disk -V<BR>     check_disk (nagios-plugins 1.4.3) 1.68<BR>     sauron:/usr/lib/nagios/plugins# nagios2 --version<BR>     Nagios 2.5<BR> I use the testing branch of Debian, which is called etch.<BR> <BR> Thanks in advance,<BR> Impesa<BR><BR class="khtml-block-placeholder"></BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://www.altinity.com">http://www.altinity.com</A></DIV><DIV>T: +44 (0)870 787 9243</DIV><DIV>F: +44 (0)845 280 1725</DIV><DIV>Skype: tonvoon</DIV></SPAN></SPAN></SPAN></SPAN></SPAN><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>