[mrtg] Re: Using SNMP v2 - WorkAround

Peter Glanville peter_glanville at cuk.canon.co.uk
Thu May 15 13:07:23 MEST 2003


Wierd!
The obvious way fails:
Target[gig]: 1:public at 172.16.32.3:::::2

But both of the following work!!!!!!
Target[gig]:
.1.3.6.1.2.1.31.1.1.1.6.1&.1.3.6.1.2.1.31.1.1.1.10.1:public at 172.16.32.3
Target[gig]: ifHCInOctets.1&ifHCOutOctets.1:public at 172.16.32.3

I cannot be bothered to try to figure out why, I've got a solution that
works.

Thanks Jozsef

Regards
Peter Glanville


>Hi Peter,
>
>Have you tried to use the OIDs instead of  ifHCInOctets.1
(&ifHCOutOctets.1) ?
>
>Jozsef


>> -----Original Message-----
>> From: Peter Glanville [mailto:peter_glanville at cuk.canon.co.uk]
>> Sent: Thursday, May 15, 2003 12:07 PM
>> To: mrtg at list.ee.ethz.ch
>> Subject: [mrtg] Using SNMP v2
>>
>>
>> Hi all,
>> Can anyone spot the really obvious mistake I must have made.
>>
>> I decided to upgrade to 64 bit counters for the Gigabit
>> interface on my
>> 3Com 3500.
>>
>> I used Getif to check ifHCInOctets.1 (&ifHCOutOctets.1) and
>> both return a
>> value (displayed as 16 bytes of Hex)
>> I think that this proves that the device supports 64 bit counters.
>>
>> I then added :::::2 to my Target line (in a working MRTG.cfg)
>> The line now reads "Target[Gig_interface_1]:
>> 1:public at 172.16.32.3:::::2"
>>
>> But running MRTG now gives:
>> SNMP Error:
>> no response received
>> SNMPv2c_Session (remote host: "172.16.32.3" [172.16.32.3].161)
>>                    community: "public"
>>                   request ID: 1108138999
>>                  PDU bufsize: 8000 bytes
>>                      timeout: 2s
>>                      retries: 5
>>                      backoff: 1)
>> SNMPGET Problem for ifHCInOctets.1 ifHCOutOctets.1 sysUptime
>> sysName on
>> public at 172.16.32.3:::::2
>> WARNING: skipping because at least the query for ifHCInOctets.1 on
>> 172.16.32.3 did not succeed
>>
>> I suspect my problem is a silly one, but please point out my
>> stupidity. TIA
>>
>> Win2k, MRTG 2.9.25
>>
>> Regards
>> Peter Glanville





--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list