Customize Graph Title

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Darkness

Customize Graph Title

Post by Darkness »

I am still new to cacti, but it is a great program.

I was wondering how can i customize the graph title?

For example like the following graph:
http://www.bigspring.k12.pa.us/cacti/gr ... rra_id=all

See how it says "Fiber to old MDF". I want to be able to do this for my graphs to make them more descriptive. Does this pull from a description on the device interface? I tried a few things but it didn't work.
User avatar
dorje
Posts: 8
Joined: Wed Dec 01, 2004 9:14 pm
Location: Santorini of the South - New Zealand

Graph title origins

Post by dorje »

Darkness,

To get an idea of where the information on the top of your graphs is coming from go to the Devices view / click on the device you want to understand. Then click on the 'Verbose query' link under the 'associated data queries' heading.

This will give you the debug output.
From that output you should be able to match up what is coming back to Cacti from SNMP and what Cacti is coming from cacti to make up the graph headings.

As I understand it (and I'm very new to this) the graph headings are generally
<host template> - <type of data query e.g traffic> - <name you've given the host> (<description from SNMP>)

I've customized the graph titles by where possible modifying the devices being queried by SNMP; routers, switches etc and also by organising the hosts into appropriate groups using the 'concole -> graph trees' options.

Hope this helps.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Actually, you first want to insure that your graph template allows for custom entries in the graph titles. Then, you will edit the actual graph and add the name you like.

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?
Darkness

Post by Darkness »

I think i got it. Went in to the graph and edited the graph title again. Wasn't working before but now it is. So thanks guys for pointing me in the right direction.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests