Snmpget returns values enclosed by *


#1

Hi all,

Am currently running Nagios 3.06 on FreeBSD.
Ever since Nagios has been setup and configured, I sometimes receive values enclosed by asterisk which causes SNMP CRITICAL errors.

Information:
Host: sw-dnnhp-mdf1-1-sr065-c3550
Service: Port 24 GWIP Out Octets
Status: CRITICAL
Last Check: 03-21-2011 11:37:36
Duration: 0d 0h 14m 31s
Attempt: 3/3
Status Information: SNMP CRITICAL - 3638835594

Defined by:
define service{
use generic-service
host_name sw-dnnhp-mdf1-1-sr065-c3550
service_description Port 24 GWIP Out Octets
check_command check_snmp!-C xxxxxx -o ifOutOctets.24 -r 1 -m RFC1213-MIB
}

We can see that 3638835594 is a valid number without the asterisks (3638835594).
I have not set any limits on these checks; why is the information being returned incorrectly?

This problem has been inconsistent; some checks (once refreshed) will show 3638835594.

However since the results arent predictable; we have not been able to set up notifications.
james


#2

Hi all,

I’ve upgraded my nagios-plugins (from 1.4.13 to 1.4.15) and this seems to have resolved the issue.
Since there is absolutely no information available about this on forums or google; I hope this helps someone else.

James


#3

jtaylor,

Can you post a quick ‘howto’ regarding setting up Nagios with SNMP.

Nagios has been running for over a year now and I would like to start monitoring our Cisco switches. Any information would be extremely appreciated since I wasn’t able to find a good doc on the net.

Thanks!