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'
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!!