[TODO] norbay undefined index problem
Moderators: Developers, Moderators
[TODO] norbay undefined index problem
PHP Notice: Undefined index: 2 in /srv/cacti/plugins/mactrack/lib/mactrack_norbay.php on line 234
PHP Notice: Undefined index: 2 in /srv/cacti/plugins/mactrack/lib/mactrack_norbay.php on line 249
PHP Notice: Undefined index: 3 in /srv/cacti/plugins/mactrack/lib/mactrack_norbay.php on line 234
PHP Notice: Undefined index: 3 in /srv/cacti/plugins/mactrack/lib/mactrack_norbay.php on line 249
PHP Notice: Undefined index: 3 in /srv/cacti/plugins/mactrack/lib/mactrack_norbay.php on line 234
PHP Notice: Undefined index: 3 in /srv/cacti/plugins/mactrack/lib/mactrack_norbay.php on line 249
The lines both deal with: $ifNames[$ifIndex];
$ifIndex returns undefined instead of a value.
PHP Notice: Undefined index: 2 in /srv/cacti/plugins/mactrack/lib/mactrack_norbay.php on line 249
PHP Notice: Undefined index: 3 in /srv/cacti/plugins/mactrack/lib/mactrack_norbay.php on line 234
PHP Notice: Undefined index: 3 in /srv/cacti/plugins/mactrack/lib/mactrack_norbay.php on line 249
PHP Notice: Undefined index: 3 in /srv/cacti/plugins/mactrack/lib/mactrack_norbay.php on line 234
PHP Notice: Undefined index: 3 in /srv/cacti/plugins/mactrack/lib/mactrack_norbay.php on line 249
The lines both deal with: $ifNames[$ifIndex];
$ifIndex returns undefined instead of a value.
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Is this a problem with the switch's agent? Please advise.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
For future reference of those who encounter this error. Mactrack did work fine for approximately three months after which time some additional addons were added to cacti which one of them ended up resulting in the formentioned error. This error is causing when the port number called by mactrack prior to rendering is nulled out by another addon referencing the same variable name.
In a nut shell start with a fresh install, add mac track and then the other addons one by one testing mac track after each install. When you mac track stops working whatever the last addon installed is the cause of the conflict in which case you can use that addon or mactrack but not both without re-writing one or the other to not use that variable name.
In a nut shell start with a fresh install, add mac track and then the other addons one by one testing mac track after each install. When you mac track stops working whatever the last addon installed is the cause of the conflict in which case you can use that addon or mactrack but not both without re-writing one or the other to not use that variable name.
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Which plugin stomped on MacTrack? Another reason to do it in a class library.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests