-->
  • Recent Articles

    Peculiar Error with cacti. mactrack device scan works manually but returns Device Error status when run from the Poller?

    Peculiar Error with cacti. mactrack device scan works manually but returns Device Error status when run from the Poller?



    Please if you are getting following error:

    File:/var/log/cacti/cacti.log
    03/11/2017 12:40:02 PM - MACTRACK: Poller[0] WARNING: SITE: example site,
    IP: 192.168.1.2, TYPE: Cisco IOS Software, ISR Software (X86_64, ERROR: Device Type Not Found in Device Type Table.

    Command Executed: php -q poller_mactrack.php  -d -f

    If you run "/usr/bin/php -q mactrack_scanner.php -id=<device id> -d" then status is ok.

    Solution:

    1. Run following command and check the value in snmp_sysObjectID column of the particular device you are having error.
    select * from mac_track_devices;

    2. Then go to mactrack device types.

    3. Go to the device type and choose the device type associated with erroneous device.

    4. Then change the Vendor snmp Object ID Match value as the  snmp_sysObjectID value you got earlier.


    No comments