[mrtg] graphing an OID
Dylan Bouterse
dylan at corp.power1.com
Wed Oct 17 18:41:57 CEST 2007
I added the . back to the beginning of the OID and added a trailing .0
Target[OutsideTemp]:
.1.3.6.1.4.1.16174.1.1.3.3.1.3.0.0&.1.3.6.1.4.1.16174.1.1.3.3.1.3.0.0:co
mmunity at 1.1.12.250
and I get:
2007-10-17 12:34:23 -- SNMPGET Problem for
.1.3.6.1.4.1.16174.1.1.3.3.1.3.0.0 .1.3.6.1.4.1.16174.1.1.3.3.1.3.0.0 on
community at 1.1.12.250 at /usr/local/mrtg/bin/mrtg line 1620
2007-10-17 12:34:23 -- WARNING: skipping because at least the query for
.1.3.6.1.4.1.16174.1.1.3.3.1.3.0.0 on 1.1.12.250 did not succeed
I get no error in my mrtg.log when I leave the . at the beginning of the
OID and remove the trailing .0 like:
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:communi
ty at 1.1.12.250
I also get no error in my mrtg.log when I take out the . at the
beginning of the OID:
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:communit
y at 1.1.12.250
Is this helping at all?
Dylan
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:02 PM
To: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] graphing an OID
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
More information about the mrtg
mailing list