I have Found a fix that solves my problem by editing the findhosts.php
Bad Code -
Code: Select all
$isDuplicateSysName = sizeof(db_fetch_assoc("SELECT * FROM plugin_discover_hosts WHERE sysName='" . $snmp_sysName[0] . "'"));
Fixed code -
Code: Select all
$isDuplicateSysName = sizeof(db_fetch_assoc("SELECT * FROM host WHERE description='" . $snmp_sysName[0] . "'"));