Place Your Feature Requests & Bug Reports Here

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Post by JorisFRST »

Only following error now, wich is due to macwatch I think, once I deleted the Mac address I was watching in macwatch, error is gone.

DEBUG: Interum IP addresses to MAC addresses association pass complete.
DEBUG: Waiting on 1 with id = [-1, 0, 76] to complete prior to exiting.
DEBUG: Interum IP addresses to MAC addresses association pass complete.
DEBUG: Waiting on 1 with id = [-1, 0, 76] to complete prior to exiting.
PHP Notice: Undefined variable: atEntries in /var/www/cacti/plugins/mactrack/lib/mactrack_functions.php on line 348
PHP Notice: Undefined variable: atEntries in /var/www/cacti/plugins/mactrack/lib/mactrack_functions.php on line 370
DEBUG: Interum IP addresses to MAC addresses association pass complete.
DEBUG: Waiting on 1 with id = [-1, 0, 76] to complete prior to exiting.
DEBUG: Interum IP addresses to MAC addresses association pass complete.
DEBUG: Waiting on 0 with id = [-1, 0] to complete prior to exiting.
DEBUG: Interum IP addresses to MAC addresses association pass complete.
DEBUG: MAC addresses to Vendor MACS association pass complete.
DEBUG: MAC VLAN's in VLAN Table Updated.
DEBUG: Finished transferring scan results to main table.
DEBUG: Finished updating site table with collection statistics.
PHP Notice: Undefined index: ip_address in /var/www/cacti/plugins/mactrack/poller_mactrack.php on line 610
PHP Notice: Undefined index: mac_address in /var/www/cacti/plugins/mactrack/poller_mactrack.php on line 611
PHP Notice: Undefined index: site_id in /var/www/cacti/plugins/mactrack/poller_mactrack.php on line 613
PHP Notice: Undefined index: hostname in /var/www/cacti/plugins/mactrack/poller_mactrack.php on line 614
PHP Notice: Undefined index: device_name in /var/www/cacti/plugins/mactrack/poller_mactrack.php on line 615
PHP Notice: Undefined index: port_number in /var/www/cacti/plugins/mactrack/poller_mactrack.php on line 616
PHP Notice: Undefined index: port_name in /var/www/cacti/plugins/mactrack/poller_mactrack.php on line 617
PHP Notice: Undefined variable: filename in /var/www/cacti/plugins/mactrack/lib/mactrack_functions.php on line 2613
PHP Notice: Undefined index: first_seen_time in /var/www/cacti/plugins/mactrack/poller_mactrack.php on line 639
03/10/2010 07:21:29 AM - SYSTEM MACTRACK STATS: Time:314.7141 ConcurrentProcesses:7 Devices:81

Joris.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ok, please submit your bugs to: http://bugs.cacti.net. I want to put this thing on the fast track to an official release.

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?
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Post by JorisFRST »

Added the mac watch issue to mantis.

Thanks,

Joris.
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Post by JorisFRST »

using svn 795 now.

DEBUG: A process cycle launch just completed.
DEBUG: A process cycle launch just completed.
DEBUG: CMD: /usr/bin/php -q /var/www/cacti/plugins/mactrack/mactrack_scanner.php -id=44 -d
DEBUG: A process cycle launch just completed.
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/cacti/plugins/mactrack/lib/mactrack_extreme.php on line 31

We don't have any extreme switches though.
And as far as I can see all devices are polled correctly, i'll try to go over some more when I have the time.

Is it correct that mac watch is not working now ?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

MacWatch is working yes.

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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I fixed the extreme issue.

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?
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Post by JorisFRST »

Thanks, just tested with revisioni 805.

Only thing that I can see now is a small issue in macwatch :

Mac Address 00:12:3F:63:60:35 found at IP Address 172.21.96.42 for Ticket Number: 2.2.0.
The device is located at
Site: , Device ZELXC004, IP 172.21.87.36, Port Fa2/0/20, and Port Name User port

Everytying is OK, but it doesn't fill in the sitename.

Email setup is :
Mac Address <MAC> found at IP Address <IP> for Ticket Number: <TICKET>.<br>The device is located at<br>Site: <SITENAME>, Device <DEVICENAME>, IP <DEVICEIP>, Port <PORTNUMBER>, and Port Name <PORTNAME>

I don't have any extreme switches, I can only see the error is gone, but can't test that functionality.

PHP Notices for macwatch I think :
PHP Notice: Undefined index: site_id in /var/www/cacti/plugins/mactrack/poller_mactrack.php on line 613
PHP Notice: Undefined variable: filename in /var/www/cacti/plugins/mactrack/lib/mactrack_functions.php on line 2642
PHP Notice: Undefined index: first_seen_time in /var/www/cacti/plugins/mactrack/poller_mactrack.php on line 639

And a small SQL error for macwatch wich the 2nd one probably explains the sitename not filled in :
03/24/2010 09:31:04 AM - SYSTEM MACTRACK STATS: Time:362.7712 ConcurrentProcesses:7 Devices:82
03/24/2010 09:31:04 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1054', SQL:"UPDATE mac_track_macwatch SET discovered=1, last_seen_date=NOW(), first_seen_date=NOW() WHERE mac_address='00:12:3F:63:60:35''
03/24/2010 09:31:04 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1064', SQL:"SELECT site_name FROM mac_track_sites WHERE site_id="

Thanks for all your hard work, I love this plugin and where it's going,

Joris.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Joris,

Please attach this information to a bug report here: http://bugs.cacti.net and I'll get to it ASAP.

Larry
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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Nevermind. Fixed in Rev:806.

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?
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Post by JorisFRST »

That was quick :o

rev:806

macwatch email is OK now :
Mac Address 00:12:3F:63:60:35 found at IP Address 172.21.96.42 for Ticket Number: 2.2.0.
The device is located at
Site: ZEL, Device ZELXC004, IP 172.21.87.36, Port Fa2/0/20, and Port Name User port

no php errors
no errors in log

Thanks,

Joris.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I need someone to update to the latest and test the Cacti Integration pieces. When you integrate a device in the main Cacti to the MacTrack device, the View Graphs and View Interfaces graphs at both the MacTrack Interfaces and Mac Addresses should work after the next scan.

Also, the "Rescan Device" item will be visible, but will, or should not work.

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?
toe_cutter
Cacti User
Posts: 168
Joined: Fri Sep 12, 2008 2:41 am
Location: Sweden

Post by toe_cutter »

TheWitness wrote:I need someone to update to the latest and test the Cacti Integration pieces. When you integrate a device in the main Cacti to the MacTrack device, the View Graphs and View Interfaces graphs at both the MacTrack Interfaces and Mac Addresses should work after the next scan.

Also, the "Rescan Device" item will be visible, but will, or should not work.

TheWitness

Code: Select all

Notice: Undefined index: term_type in /usr/local/share/cacti/plugins/mactrack/mactrack_actions.php on line 260

Notice: Undefined index: private_key_path in /usr/local/share/cacti/plugins/mactrack/mactrack_actions.php on line 261

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/cacti/plugins/mactrack/mactrack_actions.php:260) in /usr/local/share/cacti/host.php on line 318
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

toe_cutter wrote:
TheWitness wrote:I need someone to update to the latest and test the Cacti Integration pieces. When you integrate a device in the main Cacti to the MacTrack device, the View Graphs and View Interfaces graphs at both the MacTrack Interfaces and Mac Addresses should work after the next scan.

Also, the "Rescan Device" item will be visible, but will, or should not work.

TheWitness

Code: Select all

Notice: Undefined index: term_type in /usr/local/share/cacti/plugins/mactrack/mactrack_actions.php on line 260

Notice: Undefined index: private_key_path in /usr/local/share/cacti/plugins/mactrack/mactrack_actions.php on line 261

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/cacti/plugins/mactrack/mactrack_actions.php:260) in /usr/local/share/cacti/host.php on line 318
Goto Plugin Management and view the version. Also, verify that you have the most recent version. You may have updated before SVN completely sync'd.

If that does not get it, goto the plugin_config table and change the version back to 2.2.0, then back to the Plugin Management page to get the update again, but only after resyncing from SVN.

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?
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Post by JorisFRST »

Hi,

one error : PHP Fatal error: Call to undefined function mactrack_find_host_graphs() in /var/www/cacti/mactrack/lib/macktrack_functions on line 784

It also doesn't scan that device that run then.

I also get "No Non Interface graphs in cacti" when hovering over the graphs icon in mac addresses and interfaces.

No errors in the log.

Thanks,

Joris.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

JorisFRST wrote:Hi,

one error : PHP Fatal error: Call to undefined function mactrack_find_host_graphs() in /var/www/cacti/mactrack/lib/macktrack_functions on line 784

It also doesn't scan that device that run then.

I also get "No Non Interface graphs in cacti" when hovering over the graphs icon in mac addresses and interfaces.

No errors in the log.

Thanks,

Joris.
I'll get that fixed in the next few minutes. If you can test right away, that would be good.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest