How may I add a description to the graph ???

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

Moderators: Developers, Moderators

Post Reply
saulofonseca
Posts: 40
Joined: Mon Jun 25, 2018 5:35 pm

How may I add a description to the graph ???

Post by saulofonseca »

Hello all,

How may I add a description to the graph ??? I tried to insert a |query_ifDescr|, but it did not worked.

I would like to insert the description of the interface name.

WhatsApp Image 2023-11-26 at 13.19.04.jpeg
WhatsApp Image 2023-11-26 at 13.19.04.jpeg (173.12 KiB) Viewed 1057 times
WhatsApp Image 2023-11-26 at 13.22.49.jpeg
WhatsApp Image 2023-11-26 at 13.22.49.jpeg (189.7 KiB) Viewed 1057 times

Regards
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: How may I add a description to the graph ???

Post by TheWitness »

Check the XML file for the Data Query just to be certain.
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?
saulofonseca
Posts: 40
Joined: Mon Jun 25, 2018 5:35 pm

Re: How may I add a description to the graph ???

Post by saulofonseca »

Hello again,

I created this template using (Get snmp data). There is no xml file.
Are u saying that I must change to (get snmp data indexed) instead ??

Regards
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: How may I add a description to the graph ???

Post by macan »

Let the Cacti grow!
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: How may I add a description to the graph ???

Post by TheWitness »

If you want to use "query_blah" it has to be an indexed data collection method. If you simply wrote a script and the index was an input parameter, you can use: |input_parametername| instead.
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?
saulofonseca
Posts: 40
Joined: Mon Jun 25, 2018 5:35 pm

Re: How may I add a description to the graph ???

Post by saulofonseca »

OK,

I will try.

Thank u very much !!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests