I've added a number of devices and a number of them are working correctly, reporting users, MAC, IP's etc. However, a number of them are showing 0 user ports. If I run the mactrack_scanner manually -
php /var/www/html/plugins/mactrack/mactrack_scanner.php -id=23 -d
The output gives me a couple of errors -
I've tried changing the device type from Hub/Switch/Router but I am still getting these errors.[root@localhost ~]# php /var/www/html/plugins/mactrack/mactrack_scanner.php -id=23 -d
DEBUG: HOST: 10.100.190.111 is alive, processing has begun.
DEBUG: Scanning function is 'get_IOS_dot1dTpFdbEntry_ports'
DEBUG: There are 15 VLANS.
DEBUG: ifIndexes data collection complete
DEBUG: ifTypes data collection complete.
DEBUG: ifNames data collection complete.
DEBUG: ifAlias data collection complete.
DEBUG: ipAddrTable scanning for link ports data collection complete.
DEBUG: ifSpeed data collection complete.
DEBUG: ifDescr data collection complete.
DEBUG: ifMtu data collection complete.
DEBUG: ifPhysAddress data collection complete.
DEBUG: ifAdminStatus data collection complete.
DEBUG: ifOperStatus data collection complete.
DEBUG: ifLastChange data collection complete.
DEBUG: ifInDiscards data collection complete.
DEBUG: ifInErrors data collection complete.
DEBUG: ifInUnknownProtos data collection complete.
DEBUG: ifOutDiscards data collection complete.
DEBUG: ifOutErrors data collection complete.
DEBUG: ifInterfaces assembly complete.
PHP Notice: Undefined variable: ifInterfaces in /var/www/html/plugins/mactrack/lib/mactrack_functions.php on line 517
Notice: Undefined variable: ifInterfaces in /var/www/html/plugins/mactrack/lib/mactrack_functions.php on line 517
DEBUG: Cisco Voice VLAN collection complete
DEBUG: Voice VLANs exist on this device
DEBUG: ifInterfaces assembly complete.
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 50
DEBUG: VLAN Analysis for VLAN: 20/VLAN0020 is complete. ACTIVE PORTS: 50
DEBUG: VLAN Analysis for VLAN: 30/VLAN0030 is complete. ACTIVE PORTS: 50
DEBUG: VLAN Analysis for VLAN: 40/VLAN0040 is complete. ACTIVE PORTS: 50
DEBUG: VLAN Analysis for VLAN: 50/VLAN0050 is complete. ACTIVE PORTS: 50
DEBUG: VLAN Analysis for VLAN: 101/VLAN0101 is complete. ACTIVE PORTS: 50
Any help/suggestions gratefully received.
Andy.
Cacti Version - 0.8.7b
Plugin Architecture - 2.0
Poller Type - Cactid v
Server Info - Linux 2.6.9-67.0.4.plus.c4smp
Web Server - Apache/2.0.59 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, gd, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, eAccelerator
MySQL - 5.0.54
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
- Global Plugin Settings (settings - v0.3)
Thresholds (thold - v0.3.9)
Large Site Performane Booster for Cacti (boost - v1.5)
Device Monitoring (monitor - v0.8.2)
Network Discovery (discovery - v0.8.4)
Network Tools (tools - v0.2)
Syslog Monitoring (syslog - v0.5.2)
Device Tracking (mactrack - v1.1)
RRD Cleaner (rrdclean - v1.1)
Update Checker (update - v0.4)
FlowView (flowview - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
PHP Network Weathermap (weathermap - v0.941)
Create Aggregate Graphs (aggregate - v0.63)
Documents (docs - v0.1)
report it! (report it! - v0.5.0)