When ever I try to change the template of a graph on any of our switch ports I get this error:
Notice: Undefined variable: local_graph_id in /usr/share/cacti/site/graphs.php on line 201
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/site/graphs.php:201) in /usr/share/cacti/site/graphs.php on line 254
Any suggestions?
biozal
error when trying to setup graphs for device
Moderators: Developers, Moderators
found problem
It looks like my template for Interface - Traffic (bytes/sec) is screwed up. Any easy way to fix this? If I try to export it, the web page blows up:
Notice: Only variable references should be returned by reference in /usr/share/cacti/site/lib/export.php on line 39
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/site/lib/export.php:39) in /usr/share/cacti/site/templates_export.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/site/lib/export.php:39) in /usr/share/cacti/site/templates_export.php on line 89
Invalid graph template. Interface - Traffic on |host_description| - Traffic hash_030011bf566c869ac6443b0c75d1c32b5a350e 300 on hash_150011c21df5178e5c955013591239eb0afd46|hash_1500110d9c0af8b8acdc7807943937b3208e29|hash_1500116fc2d038fb42950138b0ce3e9874cc60|hash_150011e36f3adb9f152adfa5dc50fd2b23337e traffic_in 0 on 100000000 2 600 0 traffic_out 0 on 100000000 2 600 0 hash_070011e6deda7be0f391399c5130e7c4a48b28 on hash_070011cbbe5c1ddfb264a6e5d509ce1c78c95f on hash_0700116027a919c7c7731fbe095b6f53ab127b on Get SNMP Data (Indexed) 3 SNMP IP Address hostname in management_ip SNMP Community snmp_community in snmp_community SNMP Username (v3) on snmp_username in snmp_username SNMP Password (v3) on snmp_password in snmp_password SNMP Version (1, 2, or 3) snmp_version in snmp_version Index Type index_type in index_type Index Value index_value in index_value Output Type ID output_type in output_type Daily (5 Minute Average) 0.5 1 600 86400 1|3 Weekly (30 Minute Average) 0.5 6 700 604800 1|3 Monthly (2 Hour Average) 0.5 24 775 2678400 1|3 Yearly (1 Day Average) 0.5 288 797 33053184 1|3 Normal %8.2lf %s
I can export any other template. Can I simply delete this template and then import it again from a fresh install? If so, could someone post the regular template for me to import?
Thanks,
biozal
Notice: Only variable references should be returned by reference in /usr/share/cacti/site/lib/export.php on line 39
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/site/lib/export.php:39) in /usr/share/cacti/site/templates_export.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/site/lib/export.php:39) in /usr/share/cacti/site/templates_export.php on line 89
Invalid graph template. Interface - Traffic on |host_description| - Traffic hash_030011bf566c869ac6443b0c75d1c32b5a350e 300 on hash_150011c21df5178e5c955013591239eb0afd46|hash_1500110d9c0af8b8acdc7807943937b3208e29|hash_1500116fc2d038fb42950138b0ce3e9874cc60|hash_150011e36f3adb9f152adfa5dc50fd2b23337e traffic_in 0 on 100000000 2 600 0 traffic_out 0 on 100000000 2 600 0 hash_070011e6deda7be0f391399c5130e7c4a48b28 on hash_070011cbbe5c1ddfb264a6e5d509ce1c78c95f on hash_0700116027a919c7c7731fbe095b6f53ab127b on Get SNMP Data (Indexed) 3 SNMP IP Address hostname in management_ip SNMP Community snmp_community in snmp_community SNMP Username (v3) on snmp_username in snmp_username SNMP Password (v3) on snmp_password in snmp_password SNMP Version (1, 2, or 3) snmp_version in snmp_version Index Type index_type in index_type Index Value index_value in index_value Output Type ID output_type in output_type Daily (5 Minute Average) 0.5 1 600 86400 1|3 Weekly (30 Minute Average) 0.5 6 700 604800 1|3 Monthly (2 Hour Average) 0.5 24 775 2678400 1|3 Yearly (1 Day Average) 0.5 288 797 33053184 1|3 Normal %8.2lf %s
I can export any other template. Can I simply delete this template and then import it again from a fresh install? If so, could someone post the regular template for me to import?
Thanks,
biozal
Who is online
Users browsing this forum: No registered users and 3 guests