MacTrack installed, nothing happen

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
copo
Posts: 11
Joined: Mon Oct 09, 2006 1:35 am

MacTrack installed, nothing happen

Post by copo »

My current setup is Cacti 0.86j/PIA/MacTrack 1.1/PHP5.2.9/MySQL 5.1.35.

I have imported the mactrack.sql and mactrack.sql.0.0.1 and also do the database_upgrade.php, I can use the interface of mactrack admin, add devices and site, But the installation seems not working at all.

I have added a device which is currently monitoring nicely by Cacti using the same IP address and SNMP community, but it either show "Error" or "Down" in the device list view.

I then try to use mactrack_scanner.php to check the added device, it give me the following, either timeout or strange response:

Code: Select all

[mrtg@fractal mactrack]$ php mactrack_scanner.php -d -id=1
Timeout: No Response from 172.24.10.55:.
Timeout: No Response from 172.24.10.55:.
Timeout: No Response from 172.24.10.55:.
Timeout: No Response from 172.24.10.55:.
Timeout: No Response from 172.24.10.55:.
DEBUG: HOST: 172.24.10.55 is alive, processing has begun.
DEBUG: WARNING: SITE: HK, IP: 172.24.10.55, TYPE: , Device Type Not Found in Device Type Table.
DEBUG: WARNING: SITE: HK, IP: 172.24.10.55, TYPE: , Device Type Not Found in Device Type Table.
DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',device_type_id='0',scan_type = '2',vlans_total='0',ports_active='0',ports_trunk='0',macs_active='0',snmp_readstring='hade3755',snmp_sysName='3755',snmp_sysLocation='',snmp_sysContact='',snmp_sysObjectID='.1.3.6.1.4.1.9.1.516',snmp_sysDescr='',snmp_sysUptime='',snmp_status='4',last_runmessage='WARNING: Device Type Not Found in Device Type Table.',last_rundate='',last_runduration='0.0429' WHERE device_id ='1'


[mrtg@fractal mactrack]$ php mactrack_scanner.php -d -id=1
Timeout: No Response from 172.24.10.55:.
DEBUG: WARNING: SITE: HK, IP: 172.24.10.55, TYPE: , Device unreachable.
DEBUG: SQL: UPDATE mac_track_devices SET snmp_status='1',device_type_id='0',scan_type = '2',vlans_total='0',ports_active='0',ports_trunk='0',macs_active='0',last_runmessage='Device Unreachable', last_rundate='',last_runduration='0.2948' WHERE device_id ='1'
I have also tried "php poller_mactrack.php -d" but it do not have any output.

Is there anything I'm missing? I'm sure the SNMP polling to the device is working since Cacti is polling such device for traffic statistics.

Any hint will be appreciated, thanks!!
JamesD
Posts: 22
Joined: Fri Feb 03, 2006 12:15 pm

You need to define a device type

Post by JamesD »

Device Type Not Found in Device Type Table is the key part of the message. Click on the device type link under device tracking and add a device type for your device
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Also, snmp timeouts are not good. Sounds like multiple issues.

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?
copo
Posts: 11
Joined: Mon Oct 09, 2006 1:35 am

Post by copo »

Looks like I'm on running MacTrack on an old version of Cacti (0.8.6j) which is not supported. I have upgraded my Cacti to 0.8.7e and it is now up and running. Though I will still need to figure out how it works. Thanks.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

One of these day's, I'll write complete documentation. Bottom line, you need to define sites. Each site requires at least 1 Layer3 devices. The rest can be layer 2.

Some devices are not very well supported. However, Cisco devices work just fine. Little Caveat's exist for Layer3 devices that don't support an ARP table. So, you have to come up with creative ways to get the ARP table from those types of devices (ssh for example).

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 2 guests