For When You Can't Have The Real Thing
[ start | index | login ]
start > cacti > Graph Titles Including ifAlias

Graph Titles Including ifAlias

Created by dave. Last edited by dave, 9 years and 249 days ago. Viewed 17,287 times. #5
[diff] [history] [edit] [rdf]

Change the graph template

(You either have to manually do this before you create your graphs, or you get to edit your graph definitions manually after the fact.)

console -> Data Queries -> SNMP Interface Statistics -> Associated Graph Templates -> I/O Bits -> Suggested Values :

Several formats are listed there , change their order with the up/down arrows . Or create a new one with your desired params in it and move it to the top of the list

Mine Looks Like This:

title |host_description| - Traffic - |query_ifName| - |query_ifAlias|

Then you can re-apply the template to the existing graphs:

# cd ~cacti/cli
# php poller_graphs_reapply_names.php -id=All
Instead of =All you can just apply the templates to devices if you know the device ID.
# cd ~cacti/cli
# php poller_graphs_reapply_names.php -id=5

To regenerate labels from updated switch information:

There's a php script in the main directory to do so (poller_reindex_hosts.php). But it's VERY time consuming. You may run it on a per host basis.

Reason # 443 why 3Com Sucks

3Com Port Labels are not read as ifAliases. Boo.

no comments | post comment

Virtual Dave Megaplex:

Internet Explorer 6 Users >>Click Here

(read this note about local search)

Logged in Users: (0)
… and 11 Guests.

Editing: snipsnap-help, Image Macro

(Et auditum est, et idcirco ego nunc simulare)

Installed 7 years and 102 days ago
Powered By >>SnipSnap Version 1.0b1-uttoxeter

This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt