Describe the bug
A clear and concise description of what the bug is.
MAC addresses are not populating for Juniper EX switch using get_JEX_switch_Ports may be due to this errors loged.
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[168]:get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[100]:CactiErrorHandler())
ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /usr/share/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 100
CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[168]:get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[99]:CactiErrorHandler())
ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /usr/share/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 99
CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[168]:get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[98]:CactiErrorHandler())
ERROR PHP NOTICE in Plugin 'mactrack': Undefined offset: 591 in file: /usr/share/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 98
CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[168]:get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[100]:CactiErrorHandler())
ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /usr/share/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 100
Expected behavior
A clear and concise description of what you expected to happen.
Mac addresses populated in tab DeviceTracking->Devices or DeviceTracking->MAC address
Screenshots
If applicable, add screenshots to help explain your problem.
Plugin (please complete the following information):
Version: 4.2
Source: github
Identifer:
Desktop (please complete the following information):
OS: Centos 8
Browser Edge, Chrome
Version Version 87.0.664.75, 87.0.4280.141
Smartphone (please complete the following information):
Device: NA
OS: NA
Browser NA
Version NA
Additional context
Add any other context about the problem here.
Thank you
Describe the bug A clear and concise description of what the bug is. MAC addresses are not populating for Juniper EX switch using get_JEX_switch_Ports may be due to this errors loged.
To Reproduce Steps to reproduce the behavior:
CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[168]:get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[100]:CactiErrorHandler()) ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /usr/share/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 100 CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[168]:get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[99]:CactiErrorHandler()) ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /usr/share/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 99 CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[168]:get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[98]:CactiErrorHandler()) ERROR PHP NOTICE in Plugin 'mactrack': Undefined offset: 591 in file: /usr/share/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 98 CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mactrack/mactrack_scanner.php[168]:get_JEX_switch_ports(), /plugins/mactrack/lib/mactrack_juniper.php[100]:CactiErrorHandler()) ERROR PHP NOTICE in Plugin 'mactrack': Undefined index: in file: /usr/share/cacti/plugins/mactrack/lib/mactrack_juniper.php on line: 100
Expected behavior A clear and concise description of what you expected to happen. Mac addresses populated in tab DeviceTracking->Devices or DeviceTracking->MAC address Screenshots If applicable, add screenshots to help explain your problem.
Plugin (please complete the following information):
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here. Thank you