How to add a comment or user input field to a graph

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

Moderators: Developers, Moderators

Post Reply
hypatia
Posts: 17
Joined: Mon Jan 03, 2005 1:28 pm

How to add a comment or user input field to a graph

Post by hypatia »

I've made a data and graph template for plotting the number of rows in a MySQL database table. The data has a custom data field for the table name. I'd like to have that table name appear in the graph, but don't know how to do that. I'd settle for giving the user an opertunity to add a comment, but I don't know how to eo that either.

And while I've got your attention, can I display the number of rows as an integer (6128) rather than 6.1k?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

np! Scripting rocks!!

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?
Cheburator
Posts: 9
Joined: Tue Jun 28, 2005 3:32 am

Post by Cheburator »

Go to graph template, click on graph items like (something) Current: and under Gprint type choose exact numbers
hypatia
Posts: 17
Joined: Mon Jan 03, 2005 1:28 pm

Post by hypatia »

Cheburator: Thanks. I didn't see the exact numbers option.

TheWitness: Huh? I haven't the slightest idea what your are trying to tell me.

How can I add a text string to a graph template? One that can be set when a new graph is created?

Thanks.
Post Reply

Who is online

Users browsing this forum: tylorjefcoat and 2 guests