SNMP Oid changes

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
karlh
Posts: 37
Joined: Wed Mar 06, 2002 7:00 pm
Location: Reykjavik, Iceland
Contact:

SNMP Oid changes

Post by karlh »

Hi all.
I have a small problem.
I have all my hardware being monitored and all is fine.
But.......

When i reboot an ATM switch on my network with modifycations, all my work is lost because the SNMP OID´s change, and reorder.

Is there a workaround to avoid this, or a flag to put on graphs ? I have a major software upgrade coming up on my network, and i realy want to fix this before i do so.

Cheers 8)
Best regards
Karl Heidar
RandomWelshBloke
Posts: 33
Joined: Mon Feb 18, 2002 7:00 pm
Location: London, UK

Post by RandomWelshBloke »

Exactly the same is happening to me on Cisco 7500's (cacti 0.6.5)

Random :-?
gwynnebaer
Posts: 35
Joined: Sat Apr 13, 2002 5:16 pm
Location: Santa Barbara, CA

Post by gwynnebaer »

Do the numeric OID's chnage, or the names, or what? Can you give me an example?

I may be able to help?

-matt
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

Hi,

This is a known problem for all SNMP based management platforms. According to SNMP RFC OIDs may change after device reinitialization (simply speaking reboot :) ). And it happens in real life... e.g. MIB indexes of ATM subinterfaces of Cisco routers change frequently. It's even worse because some objects change even just after reconfiguration (not only reboot).

There is workaround for Cisco devices with IOS 12.2.1+ (I guess). In the configuration you have to enter the command:

snmp-server ifindex persist

Note that this fixes only OIDs of (sub)interfaces. If you monitor other MIB objects (like CoS queues) you have not guarantee that they are stable.

Another approach is snmpwalk MIB tree and update OIDs before main poll. MRTG can do it (e.g. mapping interface names to interface indexes before poll).
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest