The snapshot check_disk plugin has a few functions that remained after the rewrite.  I submitted a patch recently to resolve this issue; however, I'm not sure if it has been taken in to consideration or not.

If you check the patches portion of sourceforge, you can find the changes which fix this problem.

Mike

On 8/11/06, Jan van der Merwe <[EMAIL PROTECTED]> wrote:
Hi!

I have tried with snapshot: nagios-plugins-HEAD-200608092352

What can I tell you, I get a different error instead :D

Here is nagios:

Status Indormation: DISK CRITICAL - free space: /mnt/storage/ftp-storage 0
MB (0% inode=-9900%):

Performance Data: /mnt/storage/ftp-storage=0MB;;;

Here is the df:

/dev/hdd1            241263968 136218652 105045316  57%
/mnt/storage/ftp-storage

=================

The inodes for this drive are also incorrect actually, but the MB amounts
are correct:

Status Information: DISK OK - free space: / 3270 MB (70% inode=-1000%):
Performance Data: /=1397MB;;;

Any ideas?

Thanks!

>Jan,
>
>Can you try the snapshot at http://nagiosplug.sf.net/snapshot. There  have
>been fixes to check_disk so it should be the same output as df.
>
>Ton
>
>On 2 Aug 2006, at 08:58, Jan van der Merwe wrote:
>
>>Hi Guys,
>>
>>I'm using NRPE on a Fedora Core 2 box.
>>
>>I'm using the following line in /etc/nrpe.cfg to check the disk:
>>
>>command[check_disk4]=/usr/local/nagios/libexec/check_disk -w 20 -c  10 -p
>>/dev/hdd1
>>
>>Here is what df -k gives me that disk:
>>
>>/dev/hdd1            241263968 136218652 105045316  57%
>>/mnt/storage/ftp-storage
>>
>>But the Nagios Webpage gives me a crazy answer!!!
>>
>>Status Information: DISK OK - free space: /mnt/storage/ftp-storage
>>-4126222888188510208 MB (20952869% inode=99%)
>>Performance Data:
>>/mnt/storage/ftp- storage=-865395347MB;-452984852;-452984842;98;-452984832
>>
>>I have many other drives on the same machine and they all work  fine! So,
>>I
>>can't understand what is the specific problem with this one.
>>
>>Any ideas would be appreciated.
>>
>>Thanks
>>
>>
>>
>>---------------------------------------------------------------------- ---
>>Take Surveys. Earn Cash. Influence the Future of IT
>>Join SourceForge.net's Techsay panel and you'll get the chance to  share
>>your
>>opinions on IT & business topics through brief surveys -- and earn  cash
>>http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
>>_______________________________________________
>>Nagios-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/nagios-users
>>::: Please include Nagios version, plugin version (-v) and OS when
>>reporting any issue.
>>::: Messages without supporting info will risk being sent to /dev/null
>>
>>
>>This message has been scanned for viruses by MailController -
>>www.MailController.altohiway.com
>
>
>
> http://www.altinity.com
>T: +44 (0)870 787 9243
>F: +44 (0)845 280 1725
>Skype: tonvoon
>
>



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to