How to automatically update my |query_xxx| in graph titles

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

Moderators: Developers, Moderators

Post Reply
lups
Posts: 2
Joined: Thu Apr 06, 2017 4:23 am

How to automatically update my |query_xxx| in graph titles

Post by lups »

Hi all,
I'm using Cacti 0.8.8b.
I've devices with associated SNMP data queries.
With "Devices->Create graphs for this host", I've created some graphs.
These graphs have |query_ServiceName| in their title.
I've chosen "Verify All fields" in reindex method, and in my xml file, I've

Code: Select all

<index_order>ServiceName:ServiceType</index_order>
The service name is well substituted the first time, but if updated, my titles keep unchanged.

I've tried tons of tests and read hundreds of posts without really understanding how to update my graph titles.
The only ways to update them are :
* Click on "Verbose query" or on the green circle in "Associated data queries"
* Run the cli poller_reindex_hosts.php script
But the first option is manual, the second is too heavy...

So my questions are :
Is the "re-index method" field devoted to this function ?
More generally, is it possible to use fields with

Code: Select all

<direction>input</direction>
in graph title and have their value updated automatically ?

Regards,
Bernard
lups
Posts: 2
Joined: Thu Apr 06, 2017 4:23 am

Re: How to automatically update my |query_xxx| in graph titl

Post by lups »

Hi,
I'm still looking for an advice to automatically update my graph titles containing |query_xxx| variables.

Is the poller_reindex_hosts.php script the only available solution ? Is there somewhere a tutorial or an example that explains step by step how to use the "re-index method" field in "Associated Data Queries" ?

Regards,
Bernard
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: How to automatically update my |query_xxx| in graph titl

Post by Osiris »

Cacti guys moved on to 1.x. If there is no option there, log an issue on GitHub.
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest