End Device Tracking Add-On for Cacti

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

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

Post by TheWitness »

Jforman,

How bout a Gotomeeting review of your environement. Please PM me with your availability.

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?
emerillat
Posts: 17
Joined: Mon Mar 21, 2005 8:44 am

Post by emerillat »

Okay when i run the poller I get no output it just dumps back out to the command line with no errors. I am using the following command.

php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php

In Cacti itself I have three device types setup for Passport 8600, Baystack 470, and Baystack 450. Each one of these device types has a switch defined for it and are pointing at the get_norbay_switch_ports scanning function. I can manually scan them and get information but the poller doesn't seem to be working when I manually run it. Any ideas as to how to fix this?

Thanks!
ddonohue
Cacti User
Posts: 77
Joined: Mon Jul 10, 2006 10:36 am
Contact:

Post by ddonohue »

try doing this

php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php -d


This will provide the debug output, and you should be able to see what's going on.

Also by helping another user on the boards, it appears that this will work with PHP 5 only, not a 100% but, i'm sure the witness could confirm. I was helping out Grodno w/ his Redhat Implamentation and was getting this w/ php 4

Updating Device Types in Devices Table. Please be patient. PHP Warning: Invalid argument supplied for foreach() in /var/www/cacti/plugins/mactrack/database_upgrade.php on line 71



donohue
dpartow
Posts: 19
Joined: Thu May 04, 2006 6:53 pm

ANYONE HAVE THE LATEST MAC TRACK?

Post by dpartow »

i've been looking around for the latest mactrack. I don;t see an updated version.

Can anyone post the latest MAC track plugin that works? Can you also include any instructions that I might not know?

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

Post by TheWitness »

I am making revisions this weekend to correct some lingering (since I changed jobs in February) problems.

Please expect a new release in SVN early next week and a formal release of the product prior to Linuxworld.

Regards,

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?
dpartow
Posts: 19
Joined: Thu May 04, 2006 6:53 pm

Post by dpartow »

Thanks a lot. i'll be waiting for it.

Can you also include instructions on installation for the plugin to work correctly?

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

Post by TheWitness »

No Problem
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?
pincher
Posts: 12
Joined: Wed May 31, 2006 1:39 am
Contact:

System Description Match for Nortel BS350,450,470

Post by pincher »

Hello CACTi Community!
emerillat wrote:Okay when i run the poller I get no output it just dumps back out to the command line with no errors. I am using the following command.

php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php

In Cacti itself I have three device types setup for Passport 8600, Baystack 470, and Baystack 450. Each one of these device types has a switch defined for it and are pointing at the get_norbay_switch_ports scanning function. I can manually scan them and get information but the poller doesn't seem to be working when I manually run it. Any ideas as to how to fix this?

Thanks!
Can you write or pointed me where i'm can look System Description Match, Vendor snmp Object ID Match and Scanning function for topic class of devices?
emerillat
Posts: 17
Joined: Mon Mar 21, 2005 8:44 am

Post by emerillat »

ddonohue wrote:try doing this

php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php -d

This will provide the debug output, and you should be able to see what's going on.

donohue
This is all I get when I do that......

[emerillat@net-cacti ~]$ sudo php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php -d
[emerillat@net-cacti ~]$

Thanks for the help.
ddonohue
Cacti User
Posts: 77
Joined: Mon Jul 10, 2006 10:36 am
Contact:

Post by ddonohue »

Mr. Witness, i'm seeing this

Timeout: No Response from 10.xxx.xxx.250:161
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 67 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192
PHP Notice: Undefined index: 112 in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 190
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 191
PHP Notice: Undefined index: in /cacti-0.8.6h/plugins/mactrack/lib/mactrack_cisco.php on line 192


But, i'm able to do a snmpwalk on the same OID, w/ the same SNMP community../

If anyone sees the above error, it's b/c you are using SNMP V2, not v1. it seems.

donohue
ddonohue
Cacti User
Posts: 77
Joined: Mon Jul 10, 2006 10:36 am
Contact:

Post by ddonohue »

emerillat wrote:
ddonohue wrote:try doing this

php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php -d

This will provide the debug output, and you should be able to see what's going on.

donohue
This is all I get when I do that......

[emerillat@net-cacti ~]$ sudo php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php -d
[emerillat@net-cacti ~]$

Thanks for the help.
Try doing this

sudo php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php -d -f
emerillat
Posts: 17
Joined: Mon Mar 21, 2005 8:44 am

Post by emerillat »

ddonohue wrote: Try doing this

sudo php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php -d -f
No change, just get this.....

[emerillat@net-cacti ~]$ sudo php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php -d -f
[emerillat@net-cacti ~]$
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

EM, I have sent you a PM.

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?
pincher
Posts: 12
Joined: Wed May 31, 2006 1:39 am
Contact:

poller_mactrack.php -d -> mactrack_functions.php on line

Post by pincher »

ddonohue wrote:
emerillat wrote:
ddonohue wrote:try doing this

php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php -d

This will provide the debug output, and you should be able to see what's going on.

donohue
This is all I get when I do that......

[emerillat@net-cacti ~]$ sudo php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php -d
[emerillat@net-cacti ~]$

Thanks for the help.
Try doing this

sudo php /var/www/html/cacti/plugins/mactrack/poller_mactrack.php -d -f
Hello Community!
I'm try and look warning:
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/plugins/mactrack/lib/mactrack_functions.php on line 252.
This problem frequency make a sound at forum.
Please make a FAQ for this topic.
Regards
ddonohue
Cacti User
Posts: 77
Joined: Mon Jul 10, 2006 10:36 am
Contact:

Post by ddonohue »

i was helping Grondo, and we got this resolved by upgrading him to php5.

the foreach()

donohue
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests