I took me the better part of a day to get MAC Track working (on Windows, Cacti 0.8.6.j).
Finally I got MAC-addresses which seem to resemble reality, but no IP addresses are shown.
Code: Select all
D:\inetpub\wwwroot\cacti\plugins\mactrack>php mactrack_scanner.php -id=1 -d
DEBUG: HOST: 172.18.1.80 is alive, processing has begun.
DEBUG: Scanning function is 'get_generic_switch_ports'
DEBUG: ifIndexes data collection complete
DEBUG: ifTypes data collection complete.
DEBUG: ifNames data collection complete.
DEBUG: ipAddrTable scanning for link ports data collection complete.
DEBUG: ifInterfaces assembly complete.
INFO: HOST: 172.18.1.80, TYPE: HP J4865A ProCurve Switch 4108GL, revisi, TOTAL P
ORTS: 0, OPER PORTS: 0
DEBUG: No user ports on this network.
DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',device_type_id='44',sca
n_type = '1',vlans_total='0',ports_active='0',ports_trunk='0',macs_active='0',sn
mp_readstring='dmx2mrtg',snmp_sysName='dmxsw01.dmxnet.local',snmp_sysLocation=''
,snmp_sysContact='',snmp_sysObjectID='.1.3.6.1.4.1
.11.2.3.7.11.23',snmp_sysDescr='HP J4865A ProCurve Switch 4108GL, revision G.07.
99, ROM G.05.02 (/sw/code/build/gamo(m03))',snmp_sysUptime='25970622',snmp_statu
s='3',last_runmessage='Data collection completed ok',last_rundate='2007-01-25 21
:39:54',last_runduration='0.4437' WHERE device_id ='1'
Do I need to use one of the included patched files (snmp.php)? If anyone needs more info/debugging, I'll be glad to post it.
Thanks,
Ronald
P.S. Keep up the good work with MAC Track, this certainly is one of the best plugins!
| Cacti 0.8.6j |
| MySQL 5.0.27 | PHP 5.1.6 | IIS 6 | RRDtool 1.2.15 | Cygwin 1.5.22 |
| Windows 2003 Server Standard R2 | P4 HT 3.2GHz | 512MB |