Wrong data collected through snmp

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tthomas
Posts: 39
Joined: Mon Jun 01, 2015 6:54 am

Wrong data collected through snmp

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Wrong data collected through snmp

Post 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?
Former Nagios Employee.
me.
tthomas
Posts: 39
Joined: Mon Jun 01, 2015 6:54 am

Re: Wrong data collected through snmp

Post by tthomas »

Hi hsmith,

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

Regards
Tino
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Wrong data collected through snmp

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked