When creating new graphs for a Cisco device that does not have any interface descriptions, the SNMP graph template selects a template based on the lack of query_ifAlias. The problem is, if I go and add an interface description, the graph never updates because it is using a different SNMP graph template.
I'd like an automated way to update the graph description if a new ifAlias is added to the device, so that a simple SNMP re-poll will select the correct SNMP graph description template. Right now it seems that I have to go into the data sources manually and update the graph description field.
Thanks,
Ability to update query_ifAlias..
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
There is already a festure to do so. First, you must edit the Interface Data Query and then for each graph type, add the ifAlias query.
Then from the "Graphs" section, select the graphs that you want to change the titles on and from the drop down, select "Reapply Suggested Name" and like magic, all the ifAliases will magically appear... I wrote it myself.
TheWitness
Then from the "Graphs" section, select the graphs that you want to change the titles on and from the drop down, select "Reapply Suggested Name" and like magic, all the ifAliases will magically appear... I wrote it myself.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests