-
-
Notifications
You must be signed in to change notification settings - Fork 427
Closed
Labels
resolvedA fixed issueA fixed issue
Description
Hi,
when I try to add a device manually discovered by Automation, I get the following error in the logfile:
2019/02/06 09:27:19 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2019/02/06 09:27:19 - ERROR PHP ERROR: Uncaught Error: Call to undefined function create_complete_graph_from_template() in /var/www/html/lib/api_automation.php:2445 Stack trace: #0 /var/www/html/lib/api_automation.php(2148): create_dq_graphs('11727', '1', Array) #1 /var/www/html/lib/data_query.php(335): automation_execute_data_query('11727', '1') #2 /var/www/html/lib/api_device.php(861): run_data_query('11727', '1') #3 /var/www/html/lib/api_device.php(779): api_device_update_host_template('11727', 5) #4 /var/www/html/lib/api_automation.php(2803): api_device_save('0', 5, 'NOME_DEVICE_...', 'XX.XX.XX.XX', 'COMMUNITY', '2', '', '', '161', '3000', '', 1, '1', '23', '3000', '2', 'Added manually ...', 'MD5', '', '[None]', '', '', 10, 1, 1, '0') #5 /var/www/html/automation_devices.php(103): automation_add_device(Array, true) #6 /var/www/html/automation_devices.php(60): form_actions() #7 {main} thrown in file: /var/www/html/lib/api_automation.php on line: 2445
The device is added anyway, but I have then to create the graphs manually (it seems that the graph rules won't get applied).
Any idea whats wrong and why this error is triggered?
Metadata
Metadata
Assignees
Labels
resolvedA fixed issueA fixed issue