Place Your Feature Requests & Bug Reports Here
Moderators: Developers, Moderators
Re: Place Your Feature Requests & Bug Reports Here
Hi,
It's been asked by others, but I'd like to add my vote for a speed/duplex column in the interfaces tab of mactrack in a future release of mactrack. Would be great to be able to easily spot those ports that have auto-negotiated to 10/half or 100/half.
Thanks for a great plugin.
Regards,
Costyn
It's been asked by others, but I'd like to add my vote for a speed/duplex column in the interfaces tab of mactrack in a future release of mactrack. Would be great to be able to easily spot those ports that have auto-negotiated to 10/half or 100/half.
Thanks for a great plugin.
Regards,
Costyn
Re: Place Your Feature Requests & Bug Reports Here
Feature request:
@mactrack/ip addresses is a column for port name necessary.
Problem:
i.e. if u have a core router with modules, u don't know which port has port number 801. Cause it is port 10 at module 9 or something like that. The only way to find out the name is via MAC Adddresses tab.
So i think it is a importend feature.
Thx
@mactrack/ip addresses is a column for port name necessary.
Problem:
i.e. if u have a core router with modules, u don't know which port has port number 801. Cause it is port 10 at module 9 or something like that. The only way to find out the name is via MAC Adddresses tab.
So i think it is a importend feature.
Thx
System: Ubuntu 10.04lts@64bit, 2*X5650, 12GB, Cacti 0.8.7g, Spine 0.8.7g, PA2.9, Weathermap 0.97a, CAMM 1.6.75, monitor 1.3.1, realtime 0.43, thold 0.4.9.3, manage 0.6.2, mactrack 2.9(.1) ---- 508 devices, 6741 items, 4263 ds, time 7.01s, intervall 60, proc. 12, threads 14, php server 8
Re: Place Your Feature Requests & Bug Reports Here
mini bug report:
mactrack_sites.php: line 494
the str_replace does not take effect:
the line needs to be:
same problem in mactrack_view_sites.php line 310
mactrack_sites.php: line 494
the str_replace does not take effect:
Code: Select all
$url_page_select = str_replace("&page", "?page", get_page_list($_REQUEST["page"], MAX_DISPLAY_PAGES, $row_limit, $total_rows, "mactrack_sites.php"));
Code: Select all
$url_page_select = str_replace("&page", "?page", get_page_list($_REQUEST["page"], MAX_DISPLAY_PAGES, $row_limit, $total_rows, "mactrack_sites.php"));
-
- Cacti User
- Posts: 168
- Joined: Fri Sep 12, 2008 2:41 am
- Location: Sweden
Re: Place Your Feature Requests & Bug Reports Here
Hi,
I cant seem to give permissions to view the MacTrack tab, for example a guest user that only has "View graphs" permission otherwise.
Anyone else?
//toe
I cant seem to give permissions to view the MacTrack tab, for example a guest user that only has "View graphs" permission otherwise.
Anyone else?
//toe
Re: Place Your Feature Requests & Bug Reports Here
PHP Notice: Undefined variable: snmp_readstring in /usr/share/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
I have an ! in my version 3 SNMP Privacy Passphrase - is it possible for the code to 'allow' this?
I have an ! in my version 3 SNMP Privacy Passphrase - is it possible for the code to 'allow' this?
-
- Posts: 1
- Joined: Fri Aug 09, 2013 2:03 pm
Re: Place Your Feature Requests & Bug Reports Here
Bug report
Cacti: 0.8.8a
Mac Track Plugin: 2.9-1
When attempting to add SNMP Options to an SNMP Option Set, the following PHP error is logged:
PHP Notice: Undefined index: snmp_id in /usr/share/cacti/plugins/mactrack/mactrack_snmp.php on line 145, referer: http://srv-storagemgt.roomstogo.rtg/cac ... _edit&id=2
Notice the "action=item_edit&id=2" in the referenced URL, this should read "action=item_edit&id=2"
My fix:
edit cacti/plugins/mactrack/mactrack_snmp.php at line 397:
Remove the "htmlspecialchars" function, and replace the text with a single quoted string literal:
Original ine:
New line:
Cacti: 0.8.8a
Mac Track Plugin: 2.9-1
When attempting to add SNMP Options to an SNMP Option Set, the following PHP error is logged:
PHP Notice: Undefined index: snmp_id in /usr/share/cacti/plugins/mactrack/mactrack_snmp.php on line 145, referer: http://srv-storagemgt.roomstogo.rtg/cac ... _edit&id=2
Notice the "action=item_edit&id=2" in the referenced URL, this should read "action=item_edit&id=2"
My fix:
edit cacti/plugins/mactrack/mactrack_snmp.php at line 397:
Remove the "htmlspecialchars" function, and replace the text with a single quoted string literal:
Original ine:
Code: Select all
html_start_box("<strong>Mactrack SNMP Options</strong>", "100%", $colors["header"], "3", "center", htmlspecialchars("mactrack_snmp.php?action=item_edit&id=" . $_GET["id"]));
Code: Select all
html_start_box("<strong>Mactrack SNMP Options</strong>", "100%", $colors["header"], "3", "center", 'mactrack_snmp.php?action=item_edit&id=' . $_GET["id"]);
Re: Place Your Feature Requests & Bug Reports Here
MacTrack gets VLANs and Macs fine running mactrack_scanner.php in console but only appear some VLANs and Macs in the GUI.
Some help please??
Mactrack 3.0
Cacti 0.8.8b
Some help please??
Mactrack 3.0
Cacti 0.8.8b
-
- Posts: 40
- Joined: Sun Oct 21, 2012 10:42 pm
Re: Place Your Feature Requests & Bug Reports Here
Mactrack showing first 10 character of interface however my switches interface on Nexus is 16 char long. Is there any way we can increase the field for interface display?
For Example : - my interface is - ethernet100/1/20 and macktrack is displaying as ethernet10. Please see attached image.
For Example : - my interface is - ethernet100/1/20 and macktrack is displaying as ethernet10. Please see attached image.
- Attachments
-
- mactrack.jpg (142.15 KiB) Viewed 14302 times
-
- Posts: 40
- Joined: Sun Oct 21, 2012 10:42 pm
Re: Place Your Feature Requests & Bug Reports Here
This is fixed now. I had changed database structure from 10 to 20. Now I am able to see complete interface name.
Re: Place Your Feature Requests & Bug Reports Here
It would be really nice with a discovery feature in MAC Track. In a large network to remember to add nodes manually to mac track is easy to forget.
-
- Posts: 40
- Joined: Sun Oct 21, 2012 10:42 pm
Re: Place Your Feature Requests & Bug Reports Here
First of all heartiest Thanks for such a wonderful plugin, you made our life so easy
I have one feature request if feasible with next mactrack version, can you please add negotiated duplex setting vs configured setting on port in next release? I don't know how much effort is needed to accomplish.
I have one feature request if feasible with next mactrack version, can you please add negotiated duplex setting vs configured setting on port in next release? I don't know how much effort is needed to accomplish.
Re: Place Your Feature Requests & Bug Reports Here
Hi,
if possible it will be great to merge the cacti devices DB with the mactrack devices DB
Good luck
if possible it will be great to merge the cacti devices DB with the mactrack devices DB
Good luck
-
- Posts: 19
- Joined: Mon Dec 05, 2011 11:31 am
Re: Place Your Feature Requests & Bug Reports Here
Cacti 1.0.6, upgraded database from 0.8.x
Have two devices in the Mactrack devices that were in upgraded database, but am unable to add any additional devices. Appears that my database does not have a column for 'snmp_engine_id' in 'field list'. ??
/thanks
2017-03-16 09:58:12 - MACTRACK ERROR: Cacti Device: (0/432): 10.40.17.49, error on save: a:27:{s:9:"device_id";s:1:"0";s:7:"host_id";s:3:"432";s:7:"site_id";s:1:"1";s:8:"hostname";s:11:"10.40.17.49";s:11:"device_name";s:12:"Applegate BB";s:5:"notes";s:0:"";s:9:"scan_type";s:1:"1";s:12:"snmp_options";s:1:"1";s:15:"snmp_readstring";s:6:"public";s:12:"snmp_version";s:1:"2";s:13:"snmp_username";s:0:"";s:13:"snmp_password";s:0:"";s:18:"snmp_auth_protocol";s:3:"MD5";s:20:"snmp_priv_passphrase";s:0:"";s:18:"snmp_priv_protocol";s:3:"DES";s:12:"snmp_context";s:0:"";s:14:"snmp_engine_id";s:0:"";s:9:"snmp_port";s:3:"161";s:12:"snmp_timeout";s:3:"500";s:12:"snmp_retries";s:1:"3";s:8:"max_oids";s:2:"10";s:9:"user_name";s:0:"";s:13:"user_password";s:0:"";s:11:"ignorePorts";s:21:"ge-0/1/0.0 ge-0/0/0.0";s:9:"term_type";s:1:"1";s:16:"private_key_path";s:0:"";s:8:"disabled";s:0:"";}
2017-03-16 09:58:12 - DBCALL ERROR: SQL Save Failed for Table 'mac_track_devices'. SQL:'INSERT INTO mac_track_devices (`device_id`, `host_id`, `site_id`, `hostname`, `device_name`, `notes`, `scan_type`, `snmp_options`, `snmp_readstring`, `snmp_version`, `snmp_username`, `snmp_password`, `snmp_auth_protocol`, `snmp_priv_passphrase`, `snmp_priv_protocol`, `snmp_context`, `snmp_engine_id`, `snmp_port`, `snmp_timeout`, `snmp_retries`, `max_oids`, `user_name`, `user_password`, `ignorePorts`, `term_type`, `private_key_path`, `disabled`) VALUES (0, 432, 1, '10.40.17.49', 'Applegate BB', '', 1, 1, 'public', '2', '', '', 'MD5', '', 'DES', '', '', 161, 500, 3, 10, '', '', 'ge-0/1/0.0 ge-0/0/0.0', 1, '', '') ON DUPLICATE KEY UPDATE `host_id`=VALUES(`host_id`), `site_id`=VALUES(`site_id`), `hostname`=VALUES(`hostname`), `device_name`=VALUES(`device_name`), `notes`=VALUES(`notes`), `scan_type`=VALUES(`scan_type`), `snmp_options`=VALUES(`snmp_options`), `snmp_readstring`=VALUES(`snmp_readstring`), `snmp_version`=VALUES(`snmp_version`), `snmp_username`=VALUES(`snmp_username`), `snmp_password`=VALUES(`snmp_password`), `snmp_auth_protocol`=VALUES(`snmp_auth_protocol`), `snmp_priv_passphrase`=VALUES(`snmp_priv_passphrase`), `snmp_priv_protocol`=VALUES(`snmp_priv_protocol`), `snmp_context`=VALUES(`snmp_context`), `snmp_engine_id`=VALUES(`snmp_engine_id`), `snmp_port`=VALUES(`snmp_port`), `snmp_timeout`=VALUES(`snmp_timeout`), `snmp_retries`=VALUES(`snmp_retries`), `max_oids`=VALUES(`max_oids`), `user_name`=VALUES(`user_name`), `user_password`=VALUES(`user_password`), `ignorePorts`=VALUES(`ignorePorts`), `term_type`=VALUES(`term_type`), `private_key_path`=VALUES(`private_key_path`), `disabled`=VALUES(`disabled`)'
2017-03-16 09:58:12 - CMDPHP SQL Backtrace: (/plugins/mactrack/mactrack_devices.php: 44 form_mactrack_save)(/plugins/mactrack/mactrack_devices.php: 95 api_mactrack_device_save)(/plugins/mactrack/mactrack_actions.php: 65 sql_save)(/lib/database.php: 943 _db_replace)(/lib/database.php: 890 db_execute)(/lib/database.php: 113 db_execute_prepared)(/lib/database.php: 178 cacti_debug_backtrace)
2017-03-16 09:58:12 - CMDPHP ERROR: A DB Exec Failed!, Error: Unknown column 'snmp_engine_id' in 'field list'
2017-03-16 09:58:12 - DBCALL ERROR: A DB Exec Failed!, Error:1054, SQL:"INSERT INTO mac_track_devices (`device_id`, `host_id`, `site_id`, `hostname`, `device_name`, `notes`, `scan_type`, `snmp_options`, `snmp_readstring`, `snmp_version`, `snmp_username`, `snmp_password`, `snmp_auth_protocol`, `snmp_priv_passphrase`, `snmp_priv_protocol`, `snmp_context`, `snmp_engine_id`, `snmp_port`, `snmp_timeout`, `snmp_retries`, `max_oids`, `user_name`, `user_password`, `ignorePorts`, `term_type`, `private_key_path`, `disabled`) VALUES (0, 432, 1, '10.40.17.49', 'Applegate BB', '', 1, 1, 'public', '2', '', '', 'MD5', '', 'DES', '', '', 161, 500, 3, 10, '', '', 'ge-0/1/0.0 ge-0/0/0.0', 1, '', '') ON DUPLICATE KEY UPDATE `host_id`=VALUES(`host_id`), `site_id`=VALUES(`site_id`), `hostname`=VALUES(`hostname`), `device_name`=VALUES(`device_name`), `notes`=VALUES(`notes`), `scan_type`=VALUES(`scan_type`), `snmp_options`=VALUES(`snmp_options`), `snmp_readstring`=VALUES(`snmp_readstring`), `snmp_version`=VALUES(`snmp_version`), `snmp_username`=VALUES(`snmp_username`), `snmp_password`=VALUES(`snmp_password`), `snmp_auth_protocol`=VALUES(`snmp_auth_protocol`), `snmp_priv_passphrase`=VALUES(`snmp_priv_passphrase`), `snmp_priv_protocol`=VALUES(`snmp_priv_protocol`), `snmp_context`=VALUES(`snmp_context`), `snmp_engine_id`=VALUES(`snmp_engine_id`), `snmp_port`=VALUES(`snmp_port`), `snmp_timeout`=VALUES(`snmp_timeout`), `snmp_retries`=VALUES(`snmp_retries`), `max_oids`=VALUES(`max_oids`), `user_name`=VALUES(`user_name`), `user_password`=VALUES(`user_password`), `ignorePorts`=VALUES(`ignorePorts`), `term_type`=VALUES(`term_type`), `private_key_path`=VALUES(`private_key_path`), `disabled`=VALUES(`disabled`)'
2017-03-16 09:58:12 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_devices.php: 44 form_mactrack_save)(/plugins/mactrack/mactrack_devices.php: 95 api_mactrack_device_save)(/plugins/mactrack/mactrack_actions.php: 65 sql_save)(/lib/database.php: 920 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 09:58:12 - ERROR PHP NOTICE: Undefined index: snmp_engine_id in file: /var/www/html/cacti/lib/database.php on line: 920
2017-03-16 09:58:12 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_devices.php: 44 form_mactrack_save)(/plugins/mactrack/mactrack_devices.php: 95 api_mactrack_device_save)(/plugins/mactrack/mactrack_actions.php: 65 sql_save)(/lib/database.php: 919 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 09:58:12 - ERROR PHP NOTICE: Undefined index: snmp_engine_id in file: /var/www/html/cacti/lib/database.php on line: 919
2017-03-16 09:58:12 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_devices.php: 44 form_mactrack_save)(/plugins/mactrack/mactrack_devices.php: 95 api_mactrack_device_save)(/plugins/mactrack/mactrack_actions.php: 65 sql_save)(/lib/database.php: 918 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 09:58:12 - ERROR PHP NOTICE: Undefined index: snmp_engine_id in file: /var/www/html/cacti/lib/database.php on line: 918
2017-03-16 09:58:12 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_devices.php: 44 form_mactrack_save)(/plugins/mactrack/mactrack_devices.php: 95 api_mactrack_device_save)(/plugins/mactrack/mactrack_actions.php: 65 sql_save)(/lib/database.php: 917 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 09:58:12 - ERROR PHP NOTICE: Undefined index: snmp_engine_id in file: /var/www/html/cacti/lib/database.php on line: 917
Have two devices in the Mactrack devices that were in upgraded database, but am unable to add any additional devices. Appears that my database does not have a column for 'snmp_engine_id' in 'field list'. ??
/thanks
2017-03-16 09:58:12 - MACTRACK ERROR: Cacti Device: (0/432): 10.40.17.49, error on save: a:27:{s:9:"device_id";s:1:"0";s:7:"host_id";s:3:"432";s:7:"site_id";s:1:"1";s:8:"hostname";s:11:"10.40.17.49";s:11:"device_name";s:12:"Applegate BB";s:5:"notes";s:0:"";s:9:"scan_type";s:1:"1";s:12:"snmp_options";s:1:"1";s:15:"snmp_readstring";s:6:"public";s:12:"snmp_version";s:1:"2";s:13:"snmp_username";s:0:"";s:13:"snmp_password";s:0:"";s:18:"snmp_auth_protocol";s:3:"MD5";s:20:"snmp_priv_passphrase";s:0:"";s:18:"snmp_priv_protocol";s:3:"DES";s:12:"snmp_context";s:0:"";s:14:"snmp_engine_id";s:0:"";s:9:"snmp_port";s:3:"161";s:12:"snmp_timeout";s:3:"500";s:12:"snmp_retries";s:1:"3";s:8:"max_oids";s:2:"10";s:9:"user_name";s:0:"";s:13:"user_password";s:0:"";s:11:"ignorePorts";s:21:"ge-0/1/0.0 ge-0/0/0.0";s:9:"term_type";s:1:"1";s:16:"private_key_path";s:0:"";s:8:"disabled";s:0:"";}
2017-03-16 09:58:12 - DBCALL ERROR: SQL Save Failed for Table 'mac_track_devices'. SQL:'INSERT INTO mac_track_devices (`device_id`, `host_id`, `site_id`, `hostname`, `device_name`, `notes`, `scan_type`, `snmp_options`, `snmp_readstring`, `snmp_version`, `snmp_username`, `snmp_password`, `snmp_auth_protocol`, `snmp_priv_passphrase`, `snmp_priv_protocol`, `snmp_context`, `snmp_engine_id`, `snmp_port`, `snmp_timeout`, `snmp_retries`, `max_oids`, `user_name`, `user_password`, `ignorePorts`, `term_type`, `private_key_path`, `disabled`) VALUES (0, 432, 1, '10.40.17.49', 'Applegate BB', '', 1, 1, 'public', '2', '', '', 'MD5', '', 'DES', '', '', 161, 500, 3, 10, '', '', 'ge-0/1/0.0 ge-0/0/0.0', 1, '', '') ON DUPLICATE KEY UPDATE `host_id`=VALUES(`host_id`), `site_id`=VALUES(`site_id`), `hostname`=VALUES(`hostname`), `device_name`=VALUES(`device_name`), `notes`=VALUES(`notes`), `scan_type`=VALUES(`scan_type`), `snmp_options`=VALUES(`snmp_options`), `snmp_readstring`=VALUES(`snmp_readstring`), `snmp_version`=VALUES(`snmp_version`), `snmp_username`=VALUES(`snmp_username`), `snmp_password`=VALUES(`snmp_password`), `snmp_auth_protocol`=VALUES(`snmp_auth_protocol`), `snmp_priv_passphrase`=VALUES(`snmp_priv_passphrase`), `snmp_priv_protocol`=VALUES(`snmp_priv_protocol`), `snmp_context`=VALUES(`snmp_context`), `snmp_engine_id`=VALUES(`snmp_engine_id`), `snmp_port`=VALUES(`snmp_port`), `snmp_timeout`=VALUES(`snmp_timeout`), `snmp_retries`=VALUES(`snmp_retries`), `max_oids`=VALUES(`max_oids`), `user_name`=VALUES(`user_name`), `user_password`=VALUES(`user_password`), `ignorePorts`=VALUES(`ignorePorts`), `term_type`=VALUES(`term_type`), `private_key_path`=VALUES(`private_key_path`), `disabled`=VALUES(`disabled`)'
2017-03-16 09:58:12 - CMDPHP SQL Backtrace: (/plugins/mactrack/mactrack_devices.php: 44 form_mactrack_save)(/plugins/mactrack/mactrack_devices.php: 95 api_mactrack_device_save)(/plugins/mactrack/mactrack_actions.php: 65 sql_save)(/lib/database.php: 943 _db_replace)(/lib/database.php: 890 db_execute)(/lib/database.php: 113 db_execute_prepared)(/lib/database.php: 178 cacti_debug_backtrace)
2017-03-16 09:58:12 - CMDPHP ERROR: A DB Exec Failed!, Error: Unknown column 'snmp_engine_id' in 'field list'
2017-03-16 09:58:12 - DBCALL ERROR: A DB Exec Failed!, Error:1054, SQL:"INSERT INTO mac_track_devices (`device_id`, `host_id`, `site_id`, `hostname`, `device_name`, `notes`, `scan_type`, `snmp_options`, `snmp_readstring`, `snmp_version`, `snmp_username`, `snmp_password`, `snmp_auth_protocol`, `snmp_priv_passphrase`, `snmp_priv_protocol`, `snmp_context`, `snmp_engine_id`, `snmp_port`, `snmp_timeout`, `snmp_retries`, `max_oids`, `user_name`, `user_password`, `ignorePorts`, `term_type`, `private_key_path`, `disabled`) VALUES (0, 432, 1, '10.40.17.49', 'Applegate BB', '', 1, 1, 'public', '2', '', '', 'MD5', '', 'DES', '', '', 161, 500, 3, 10, '', '', 'ge-0/1/0.0 ge-0/0/0.0', 1, '', '') ON DUPLICATE KEY UPDATE `host_id`=VALUES(`host_id`), `site_id`=VALUES(`site_id`), `hostname`=VALUES(`hostname`), `device_name`=VALUES(`device_name`), `notes`=VALUES(`notes`), `scan_type`=VALUES(`scan_type`), `snmp_options`=VALUES(`snmp_options`), `snmp_readstring`=VALUES(`snmp_readstring`), `snmp_version`=VALUES(`snmp_version`), `snmp_username`=VALUES(`snmp_username`), `snmp_password`=VALUES(`snmp_password`), `snmp_auth_protocol`=VALUES(`snmp_auth_protocol`), `snmp_priv_passphrase`=VALUES(`snmp_priv_passphrase`), `snmp_priv_protocol`=VALUES(`snmp_priv_protocol`), `snmp_context`=VALUES(`snmp_context`), `snmp_engine_id`=VALUES(`snmp_engine_id`), `snmp_port`=VALUES(`snmp_port`), `snmp_timeout`=VALUES(`snmp_timeout`), `snmp_retries`=VALUES(`snmp_retries`), `max_oids`=VALUES(`max_oids`), `user_name`=VALUES(`user_name`), `user_password`=VALUES(`user_password`), `ignorePorts`=VALUES(`ignorePorts`), `term_type`=VALUES(`term_type`), `private_key_path`=VALUES(`private_key_path`), `disabled`=VALUES(`disabled`)'
2017-03-16 09:58:12 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_devices.php: 44 form_mactrack_save)(/plugins/mactrack/mactrack_devices.php: 95 api_mactrack_device_save)(/plugins/mactrack/mactrack_actions.php: 65 sql_save)(/lib/database.php: 920 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 09:58:12 - ERROR PHP NOTICE: Undefined index: snmp_engine_id in file: /var/www/html/cacti/lib/database.php on line: 920
2017-03-16 09:58:12 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_devices.php: 44 form_mactrack_save)(/plugins/mactrack/mactrack_devices.php: 95 api_mactrack_device_save)(/plugins/mactrack/mactrack_actions.php: 65 sql_save)(/lib/database.php: 919 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 09:58:12 - ERROR PHP NOTICE: Undefined index: snmp_engine_id in file: /var/www/html/cacti/lib/database.php on line: 919
2017-03-16 09:58:12 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_devices.php: 44 form_mactrack_save)(/plugins/mactrack/mactrack_devices.php: 95 api_mactrack_device_save)(/plugins/mactrack/mactrack_actions.php: 65 sql_save)(/lib/database.php: 918 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 09:58:12 - ERROR PHP NOTICE: Undefined index: snmp_engine_id in file: /var/www/html/cacti/lib/database.php on line: 918
2017-03-16 09:58:12 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_devices.php: 44 form_mactrack_save)(/plugins/mactrack/mactrack_devices.php: 95 api_mactrack_device_save)(/plugins/mactrack/mactrack_actions.php: 65 sql_save)(/lib/database.php: 917 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 09:58:12 - ERROR PHP NOTICE: Undefined index: snmp_engine_id in file: /var/www/html/cacti/lib/database.php on line: 917
-
- Posts: 19
- Joined: Mon Dec 05, 2011 11:31 am
Re: Place Your Feature Requests & Bug Reports Here
Cacti 1.0.6 Upgraded Database from .0.8.x Ubuntu 16.04
Created a new device through Add in Devices Tab for "general devices", not mactrack devices. Create worked ok, but any subsequent changes to the device would generate the following errors. This was the same for all devices.. I.E. I could not update any existing devices. Disabled and removed Mactrack and the errors go away.
Kinda looks like the MysqL not allowing null entries issue...?
/rh
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 211 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: device_id in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 211
2017-03-16 15:31:08 - MACTRACK ERROR: Cacti Device: (0/501): 192.168.40.101, error on verify: a:27:{s:9:"device_id";N;s:7:"host_id";i:501;s:7:"site_id";N;s:8:"hostname";s:14:"192.168.40.101";s:11:"device_name";s:15:"Test-EdgeRouter";s:5:"notes";s:0:"";s:9:"scan_type";N;s:12:"snmp_options";N;s:15:"snmp_readstring";s:7:"h00nt4r";s:12:"snmp_version";s:1:"2";s:13:"snmp_username";s:0:"";s:13:"snmp_password";s:0:"";s:18:"snmp_auth_protocol";s:0:"";s:20:"snmp_priv_passphrase";s:0:"";s:18:"snmp_priv_protocol";s:0:"";s:12:"snmp_context";s:0:"";s:14:"snmp_engine_id";s:0:"";s:9:"snmp_port";s:3:"161";s:12:"snmp_timeout";s:3:"400";s:12:"snmp_retries";N;s:8:"max_oids";s:2:"10";s:9:"user_name";N;s:13:"user_password";N;s:11:"ignorePorts";N;s:9:"term_type";N;s:16:"private_key_path";N;s:8:"disabled";s:0:"";}
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 207 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: private_key_path in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 207
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 206 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: term_type in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 206
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 205 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: user_password in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 205
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 204 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: user_name in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 204
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 202 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: ignorePorts in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 202
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 200 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: snmp_retries in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 200
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 188 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: snmp_options in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 188
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 187 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: scan_type in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 187
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 184 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: site_id in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 184
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 182 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: device_id in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 182
Created a new device through Add in Devices Tab for "general devices", not mactrack devices. Create worked ok, but any subsequent changes to the device would generate the following errors. This was the same for all devices.. I.E. I could not update any existing devices. Disabled and removed Mactrack and the errors go away.
Kinda looks like the MysqL not allowing null entries issue...?
/rh
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 211 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: device_id in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 211
2017-03-16 15:31:08 - MACTRACK ERROR: Cacti Device: (0/501): 192.168.40.101, error on verify: a:27:{s:9:"device_id";N;s:7:"host_id";i:501;s:7:"site_id";N;s:8:"hostname";s:14:"192.168.40.101";s:11:"device_name";s:15:"Test-EdgeRouter";s:5:"notes";s:0:"";s:9:"scan_type";N;s:12:"snmp_options";N;s:15:"snmp_readstring";s:7:"h00nt4r";s:12:"snmp_version";s:1:"2";s:13:"snmp_username";s:0:"";s:13:"snmp_password";s:0:"";s:18:"snmp_auth_protocol";s:0:"";s:20:"snmp_priv_passphrase";s:0:"";s:18:"snmp_priv_protocol";s:0:"";s:12:"snmp_context";s:0:"";s:14:"snmp_engine_id";s:0:"";s:9:"snmp_port";s:3:"161";s:12:"snmp_timeout";s:3:"400";s:12:"snmp_retries";N;s:8:"max_oids";s:2:"10";s:9:"user_name";N;s:13:"user_password";N;s:11:"ignorePorts";N;s:9:"term_type";N;s:16:"private_key_path";N;s:8:"disabled";s:0:"";}
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 207 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: private_key_path in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 207
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 206 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: term_type in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 206
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 205 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: user_password in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 205
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 204 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: user_name in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 204
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 202 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: ignorePorts in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 202
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 200 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: snmp_retries in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 200
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 188 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: snmp_options in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 188
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 187 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: scan_type in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 187
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 184 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: site_id in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 184
2017-03-16 15:31:08 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 53 form_save)(/host.php: 171 api_device_save)(/lib/api_device.php: 188 api_plugin_hook_function)(/lib/plugins.php: 104 api_plugin_run_plugin_hook_function)(/lib/plugins.php: 205 sync_cacti_to_mactrack)(/plugins/mactrack/mactrack_actions.php: 182 CactiErrorHandler)(/lib/functions.php: 4265 cacti_debug_backtrace)
2017-03-16 15:31:08 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: device_id in file: /var/www/html/cacti/plugins/mactrack/mactrack_actions.php on line: 182
Re: Place Your Feature Requests & Bug Reports Here
This issue should be logged in GitHub.
Before history, there was a paradise, now dust.
Who is online
Users browsing this forum: No registered users and 0 guests