[mrtg] graphing an OID

Dylan Bouterse dylan at corp.power1.com
Wed Oct 17 18:43:43 CEST 2007


My community string is all lower alpha characters (a-z).

From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of PAUL WILLIAMSON
Sent: Wednesday, October 17, 2007 12:08 PM
To: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] graphing an OID


Never mind...that won't work...

 

The format for a custom OID should be:

 

Target[ezwf]: 1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.1.58.0:xxxxx at device

 

There are characters in a community string that may need to be escaped.
Are 

you using all A-Z characters, or are there special characters (like @ or
&) in 

the string.  There is a mention on the MRTG website about characters
that 

need some TLC when in the Target line of the config file.

 

Paul

>>> "PAUL WILLIAMSON" <pwilliamson at mtb.com> 10/17/2007 12:01 PM >>>
Try adding a 0 to the end, and also put the . back at the front of the
OID.


-----Original Message-----
From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch]
On Behalf Of Dylan Bouterse
Sent: Wednesday, October 17, 2007 10:25 AM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] graphing an OID

I am not able to turn an snmpget command that works into a working
graph. I'm sure there is a relatively simple answer/fix to what I am
doing wrong. SNMPGET returns:

[root at ns1 cfg]# snmpget -v 1 -c ##### 1.1.12.250
.1.3.6.1.4.1.16174.1.1.3.3.1.3.0
SNMPv2-SMI::enterprises.16174.1.1.3.3.1.3.0 = STRING: "80.5"

In my MRTG config I have:

Target[OutsideTemp]:
.1.3.6.1.4.1.16174.1.1.3.3.1.3.0&.1.3.6.1.4.1.16174.1.1.3.3.1.3.0:#####@
1.1.12.250

I can also change the 1.3.0 to 1.4.0 to get an INTERGER but I'm not sure
that matters with my issue. Any help?

Dylan

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20071017/7557ac63/attachment-0001.html 


More information about the mrtg mailing list