Closed PCarter01 closed 4 years ago
Update the mactrack_juniper.php now and see if the warnings are gone.
Yep that worked like a charm but I'm still not getting the Juniper switches to populate the mac address table or getting mactrack to populate the IP to mac association. I have run the switches manually and everything runs correctly. The IP addresses are populated by the router and I have it setup exactly like the old system I have running with mactrack 2.x on cacti 0.8.8h. I can run or do anything you need to help diagnose the issue.
Try increasing the timeout. What's happening is that the collection for the ifInterfaces is timing out. Also, make sure the device is configured for snmpv2 and not snmpv1.
I tried increasing the timeout but it did not resolve the issue and snmpv2 was selected from the beginning. There are absolutely no errors in the log files so I'm just stumped at this point.
The the plugin is pulling the router information correctly with IP's and mac-address but the switches only get the port information and no association is completed mapping the mac address to switch ports with IP addresses for the hosts. The switches in question are EX8208 and EX4200 running 15.x firmware.
I have same problem. I don't have mac addresses. Is the problem solved?
No, this issue never got resolved so I had to stop using it.
On Wed, Jun 17, 2020 at 8:52 AM housefly15 notifications@github.com wrote:
I have same problem. I don't have mac addresses. Is the problem solved?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Cacti/plugin_mactrack/issues/117#issuecomment-645354727, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZJG6KV6YCBMS4RNUPNADLRXC4CHANCNFSM4HEUAWVQ .
--
No, this issue never got resolved so I had to stop using it. … On Wed, Jun 17, 2020 at 8:52 AM housefly15 @.***> wrote: I have same problem. I don't have mac addresses. Is the problem solved? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#117 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZJG6KV6YCBMS4RNUPNADLRXC4CHANCNFSM4HEUAWVQ .
------------------------------------Preston Carter Phone: (828) 271-4241 Fax: (828) 271-4022 Email: preston.carter@noaa.gov --NOAA's National Centers for Environmental Information (NCEI) 151 Patton Avenue Asheville NC 28801-5001 ------------------------------------
THX, for your quick answer!
So, I'm using the developer version and also tried the 4.0 version. The 4.0 version had issues too so I decided to try the developer version. I'm trying to scan my ex4200 switches. I get user ports and vlans but no mac-addresses. The errors I receive are below. I manually did a snmp on the devices and can get results back from the mibs that the get_JEX_switch_ports uses but no dice when running the scanner.
2019/04/09 12:58:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[158]:call_user_func_array(), get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[109]:CactiErrorHandler())
2019/04/09 12:58:24 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /var/www/html/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 109 2019/04/09 12:58:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[158]:call_user_func_array(), get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[108]:CactiErrorHandler()) 2019/04/09 12:58:24 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /var/www/html/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 108 2019/04/09 12:58:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[158]:call_user_func_array(), get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[107]:CactiErrorHandler()) 2019/04/09 12:58:24 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined offset: 513 in file: /var/www/html/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 107 2019/04/09 12:58:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[158]:call_user_func_array(), get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[109]:CactiErrorHandler()) 2019/04/09 12:58:24 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /var/www/html/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 109 2019/04/09 12:58:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[158]:call_user_func_array(), get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[108]:CactiErrorHandler()) 2019/04/09 12:58:24 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /var/www/html/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 108 2019/04/09 12:58:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[158]:call_user_func_array(), get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[107]:CactiErrorHandler()) 2019/04/09 12:58:24 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined offset: 6 in file: /var/www/html/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 107 2019/04/09 12:58:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[158]:call_user_func_array(), get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[109]:CactiErrorHandler()) 2019/04/09 12:58:24 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /var/www/html/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 109 2019/04/09 12:58:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[158]:call_user_func_array(), get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[108]:CactiErrorHandler()) 2019/04/09 12:58:24 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /var/www/html/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 108 2019/04/09 12:58:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[158]:call_user_func_array(), get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[107]:CactiErrorHandler()) 2019/04/09 12:58:24 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined offset: 4 in file: /var/www/html/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 107 2019/04/09 12:58:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[158]:call_user_func_array(), get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[109]:CactiErrorHandler()) 2019/04/09 12:58:24 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /var/www/html/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 109 2019/04/09 12:58:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[158]:call_user_func_array(), get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[108]:CactiErrorHandler()) 2019/04/09 12:58:24 - ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /var/www/html/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 108