Hello,
Use cacti version 1.1.38.
I am creating graphs from add_graphs.php, the graph is created correctly but does not change the title with the --graph-title option.
I have checked the checkbox title in the template.
I have also used the version of cacti 0.8.7 and in this case if I changed the title with the script.
I have searched this forum and on the Internet how to solve it and I have not found any way to do it.
Anyone know what might be happening?
A basic example (this is not the graph I want but it is a test to see that the title does not change): php -q add_graphs.php --host-id=3 --graph-type=ds --graph-template-id=2 --snmp-query-id=1 --snmp-query-type-id=6 --snmp-field=ifName --snmp-value=Gi3 --graph-title="Gi3 interface graph"
Thanks and sorry for my English.
add_graphs.php not change the title
Moderators: Developers, Moderators
Re: add_graphs.php not change the title
Hello,
From the Github website they have helped me to solve the problem, I put it here in case someone happens the same.
The add_graphs.php file must be modified, changing the 3 lines where "SET title_cache =?" for "SET title =?"
https://github.com/Cacti/cacti/commit/9 ... cc099c1612
Thanks
From the Github website they have helped me to solve the problem, I put it here in case someone happens the same.
The add_graphs.php file must be modified, changing the 3 lines where "SET title_cache =?" for "SET title =?"
https://github.com/Cacti/cacti/commit/9 ... cc099c1612
Thanks
Who is online
Users browsing this forum: No registered users and 0 guests