[mrtg] SNMP Get Error

Mike Mitchell Mike.Mitchell at sas.com
Fri Jan 23 15:59:23 CET 2009


I tried to reply directly to Patrick Topping but my mail bounced.

Replace 'tcp' with '7', i.e.

 1.3.6.1.4.1.9.9.491.1.1.4.1.1.9.7
 1.3.6.1.4.1.9.9.491.1.1.4.1.1.10.7

The table from the MIB is
 1 => none
 2 => other
 3 => ip
 4 => icmp
 5 => gre
 6 => udp
 7 => tcp

Mike Mitchell


-----Original Message-----
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Steve Shipway
Sent: Thursday, January 22, 2009 7:31 PM
To: 'Patrick Topping'; 'mrtg at lists.oetiker.ch'
Subject: Re: [mrtg] SNMP Get Error

> 1.3.6.1.4.1.9.9.491.1.1.4.1.1.9.tcp
> 1.3.6.1.4.1.9.9.491.1.1.4.1.1.10.tcp

Try using the purely numerical OID?  This might help.

> 2009-01-22 21:34:01 -- Thursday, 22 January 2009 at 21:34: ERROR:
> Target[XXX.connsetuprate-tcp][_IN_]
> '1.3.6.1.4.1.9.9.491.1.1.4.1.1.9.tcp&1.3.6.1.4.1.9.9.491.1.1.4.1.1.10.tcp:
> xxxxxxx at XXX::::2'
> (warn): Bareword "com::::" refers to nonexistent package at (eval 52)
> line 1.

This seems to be complaining about part of your hostname, but that might be
a knock-on effect of a parsing failure elsewhere.

> Target[XXX.connsetuprate-tcp]:
> 1.3.6.1.4.1.9.9.491.1.1.4.1.1.9.tcp&1.3.6.1.4.1.9.9.491.1.1.4.1.1.10.tcp
> :xxxxx at xxxxx.advancedvideocommunications.com:::::2

Oops, you didn't hide the SNMP info and hostname...  If you replaced the
community string with random characters, make sure you don't have any
reserved chars (eg, :,&,@,|,!,space) in the real one.

There's the .com but the syntax looks fine.  Maybe it's the .tcp, so try
using the numerical value and see what happens.

Steve



More information about the mrtg mailing list