Page 1 of 1

Wrong data collected through snmp

Posted: Fri Aug 14, 2015 1:22 am
by tthomas
Hello,

I am getting wrong data while trying to monitor file system usage on one of the servers. Please refer the below output.
COMMAND: /usr/local/nagios/libexec/check_snmp_storage.pl -H HOSTNAME -C COMMUNITYSTRING -m '/u01/appl' -w 90 -c 95 -f -o 5000
OUTPUT: /u01/appl/TEST1: 499%used(-999176MB/-200290MB) /u01/appl/TEST2: 2%used(12268MB/811154MB) (>95%) : CRITICAL | '/u01/appl/TEST1'=-999176MB;-180261;-190275;0;-200290 '/u01/appl/TEST2'=12268MB;730039;770596;0;811154
This is a solaris 5.10 server with custom snmp package installed. Could you please help here to identify the issue.

Regards
Tino

Re: Wrong data collected through snmp

Posted: Fri Aug 14, 2015 9:04 am
by hsmith
tthomas wrote:Hello,

I am getting wrong data while trying to monitor file system usage on one of the servers. Please refer the below output.
COMMAND: /usr/local/nagios/libexec/check_snmp_storage.pl -H HOSTNAME -C COMMUNITYSTRING -m '/u01/appl' -w 90 -c 95 -f -o 5000
OUTPUT: /u01/appl/TEST1: 499%used(-999176MB/-200290MB) /u01/appl/TEST2: 2%used(12268MB/811154MB) (>95%) : CRITICAL | '/u01/appl/TEST1'=-999176MB;-180261;-190275;0;-200290 '/u01/appl/TEST2'=12268MB;730039;770596;0;811154
This is a solaris 5.10 server with custom snmp package installed. Could you please help here to identify the issue.

Regards
Tino
What SNMP package are you using? Is it one that is exclusive to your environment?

Re: Wrong data collected through snmp

Posted: Fri Aug 14, 2015 10:46 am
by tthomas
Hi hsmith,

Yes, it is a custom package exclusive for our environment. It is worknig fine for other servers.

Regards
Tino

Re: Wrong data collected through snmp

Posted: Fri Aug 14, 2015 10:59 am
by tgriep
You may need to update the check_snmp_storage.pl plugin if the drives you are trying to monitor are larger than 2TB.
Here is the link to the updated plugin.
https://github.com/dnsmichi/manubulon-s ... storage.pl
Try that out to see if that resolves your issue.