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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Is this helping at all? Dylan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PAUL WILLIAMSON Sent: Wednesday, October 17, 2007 12:02 PM To: [email protected] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dylan Bouterse Sent: Wednesday, October 17, 2007 10:25 AM To: [email protected] 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: [EMAIL PROTECTED] 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 _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
