I am experiencing many issues after migrating cacti from 0.8.8 to 1.2.11 and one of them is, the graphs breaks whenever i edit the associated graph template. For example I added a new field on a template "Interface - Traffic (bits/sec)" to show the interface field as a comment. Soon I added the field the graphs stops working and I see "Damaged Graph" under under source name. Looking at the logs, I see these errors and not sure if they are related.
Code: Select all
2020/10/19 15:30:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_templates_items.php[35]:form_save(), /graph_templates_items.php[276]:push_out_graph_item(), /lib/template.php[454]:change_graph_template(), /lib/template.php[882]:update_graph_data_source_output_type(), /lib/template.php[547]:push_out_host(), /lib/utility.php[708]:CactiErrorHandler())
2020/10/19 15:30:36 - ERROR PHP NOTICE: Undefined index: snmp_community in file: /usr/share/cacti/lib/utility.php on line: 708
2020/10/19 15:30:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_templates_items.php[35]:form_save(), /graph_templates_items.php[276]:push_out_graph_item(), /lib/template.php[454]:change_graph_template(), /lib/template.php[882]:update_graph_data_source_output_type(), /lib/template.php[547]:push_out_host(), /lib/utility.php[708]:CactiErrorHandler())
2020/10/19 15:30:36 - ERROR PHP NOTICE: Undefined index: snmp_username in file: /usr/share/cacti/lib/utility.php on line: 708
2020/10/19 15:30:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_templates_items.php[35]:form_save(), /graph_templates_items.php[276]:push_out_graph_item(), /lib/template.php[454]:change_graph_template(), /lib/template.php[882]:update_graph_data_source_output_type(), /lib/template.php[547]:push_out_host(), /lib/utility.php[708]:CactiErrorHandler())
2020/10/19 15:30:36 - ERROR PHP NOTICE: Undefined index: snmp_password in file: /usr/share/cacti/lib/utility.php on line: 708
2020/10/19 15:30:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_templates_items.php[35]:form_save(), /graph_templates_items.php[276]:push_out_graph_item(), /lib/template.php[454]:change_graph_template(), /lib/template.php[882]:update_graph_data_source_output_type(), /lib/template.php[547]:push_out_host(), /lib/utility.php[708]:CactiErrorHandler())
2020/10/19 15:30:36 - ERROR PHP NOTICE: Undefined index: snmp_version in file: /usr/share/cacti/lib/utility.php on line: 708
2020/10/19 15:30:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_templates_items.php[35]:form_save(), /graph_templates_items.php[276]:push_out_graph_item(), /lib/template.php[454]:change_graph_template(), /lib/template.php[882]:update_graph_data_source_output_type(), /lib/template.php[547]:push_out_host(), /lib/utility.php[708]:CactiErrorHandler())
2020/10/19 15:30:36 - ERROR PHP NOTICE: Undefined index: snmp_port in file: /usr/share/cacti/lib/utility.php on line: 708
2020/10/19 15:30:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_templates_items.php[35]:form_save(), /graph_templates_items.php[276]:push_out_graph_item(), /lib/template.php[454]:change_graph_template(), /lib/template.php[882]:update_graph_data_source_output_type(), /lib/template.php[547]:push_out_host(), /lib/utility.php[708]:CactiErrorHandler())
2020/10/19 15:30:36 - ERROR PHP NOTICE: Undefined index: snmp_auth_protocol in file: /usr/share/cacti/lib/utility.php on line: 708
2020/10/19 15:30:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_templates_items.php[35]:form_save(), /graph_templates_items.php[276]:push_out_graph_item(), /lib/template.php[454]:change_graph_template(), /lib/template.php[882]:update_graph_data_source_output_type(), /lib/template.php[547]:push_out_host(), /lib/utility.php[708]:CactiErrorHandler())
2020/10/19 15:30:36 - ERROR PHP NOTICE: Undefined index: snmp_priv_passphrase in file: /usr/share/cacti/lib/utility.php on line: 708
2020/10/19 15:30:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_templates_items.php[35]:form_save(), /graph_templates_items.php[276]:push_out_graph_item(), /lib/template.php[454]:change_graph_template(), /lib/template.php[882]:update_graph_data_source_output_type(), /lib/template.php[547]:push_out_host(), /lib/utility.php[708]:CactiErrorHandler())
2020/10/19 15:30:36 - ERROR PHP NOTICE: Undefined index: snmp_priv_protocol in file: /usr/share/cacti/lib/utility.php on line: 708
2020/10/19 15:30:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_templates_items.php[35]:form_save(), /graph_templates_items.php[276]:push_out_graph_item(), /lib/template.php[454]:change_graph_template(), /lib/template.php[882]:update_graph_data_source_output_type(), /lib/template.php[547]:push_out_host(), /lib/utility.php[708]:CactiErrorHandler())
2020/10/19 15:30:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_templates_items.php[35]:form_save(), /graph_templates_items.php[276]:push_out_graph_item(), /lib/template.php[454]:change_graph_template(), /lib/template.php[882]:update_graph_data_source_output_type(), /lib/template.php[547]:push_out_host(), /lib/utility.php[731]:CactiErrorHandler())
2020/10/19 15:32:56 - ERROR PHP ERROR: Maximum execution time of 60 seconds exceeded in file: /usr/share/cacti/lib/database.php on line: 497