Add Data Query input field to graph template title

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

Moderators: Developers, Moderators

Post Reply
mlambie
Posts: 9
Joined: Wed Feb 18, 2004 3:01 am
Location: Perth, Western Australia
Contact:

Add Data Query input field to graph template title

Post by mlambie »

I have a data input method with three Input Fields - hostname, snmp_community and mac. The hostname and snmp_community fields use Cacti's Special Type Codes, and the mac field is a custom data dield which stores the MAC address of a target wireless client. My graph shows signal, noise and SNR between a base-station and its clients. I would like the graph template title to show the MAC address in the title, similar to this:

Code: Select all

My Host - Apple Airport Client Signal - 04:0C:CE:E3:F3:38
I can't work out how to reference the input variable using the piped token methods. I have read over the documentation regarding variables and thought that maybe this would work, but it appears to be for Data Queries, and not Data Input Methods.

Code: Select all

|host_description| - Apple Airport Client Signal - |query_mac|
Any advice?
Matt Lambie
Chief Information Officer
THE FRONTIER GROUP
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Add Data Query input field to graph template title

Post by noname »

That's already available in Cacti 0.8.7i. Try using "|input_xxxx|".
- http://forums.cacti.net/viewtopic.php?p=224762#p224762
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest