PDA

View Full Version : Bug in check_centreon_snmp_remote_storage


nks
13th March 2009, 08:54
Hi there,

i don't know if this is already reported, but i still can't report it myself on the official way, because i have to make a wiki account when i want to be able report bugs. And that's not working....

(see post (http://forum.centreon.com/showthread.php?p=45743#post45743))

Description of the problem:

When i use the plugin check_centreon_snmp_remote_storage, it's not given me the right values back! And that can be very tricky!

On my host (redhat linux) i have:
/dev/sdb1 154816488 138957796 7994476 95% /home

The centreon plugin gives on the command line:

/usr/local/nagios/libexec/check_centreon_snmp_remote_storage -H <host> -v1 -C<community> -n -d "/home"

Disk OK - /home TOTAL: 147.645 Go USED: 89% : 132.521 Go|size=158532083712o used=142292811776o;12806353059840;13517817118720

And in centreon is visible:

/home : Disk OK - /home TOTAL: 147.645 Go USED: 89%

As you can see, different values which can be tricky by checks on a production environment. I tried this on different versions of centOS, RedHat and AIX and all give the same result.

On windows hosts the check gives the right values!