Skip to content

MAC address not populating on Juniper EX switch #158

@DaveNet4300

Description

@DaveNet4300

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:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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.
image
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneed helpNeed someone to create a pull request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions