How dows one go about handlingSNMP OID of interfaces changes

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

Moderators: Developers, Moderators

Post Reply
alform2000
Posts: 1
Joined: Fri Nov 11, 2011 5:41 am

How dows one go about handlingSNMP OID of interfaces changes

Post by alform2000 »

Greetings.
It is a sad fact of life that SNMP OIDs of network interface for a wide variety of interface can and DO change across reboots, OS/Firmware upgrades etc.
In MRTG one could specify interfaces by IP, but i appears that cacti cannot. Ouch. Manual tracking of the changes *NOT* being an option (I monitor hundresds of devices) , how to cope with this? I'd be willing to run a cron script on a few minute basis and upgrade the graphs definition, but cacti internal are a deep mistery to me.....

Advanced Thanks,
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: How dows one go about handlingSNMP OID of interfaces cha

Post by paulgevers »

I really haven't every looked at it, but isn't the autom8 plugin what you are looking for?
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: How dows one go about handlingSNMP OID of interfaces cha

Post by gandalf »

We usually keep those interfaces by using ifDescr as the "real" index. This is done by

Code: Select all

<index_order>ifDescr:ifName:ifHwAddr:ifIndex</index_order>
in the XML.
Not verified, but when moving the ifIP in front of that, you _may_ receive what you want. Don't flame me, if I'm wrong
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests