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, 15 years and 213 days ago. Viewed 24,890 times. #5
[diff] [history] [edit] [rdf]
labels
attachments

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
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:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt