Already have host, even though it doesn't!


I’m trying to add a new device, different DNS name and ip from any other already in the DB, but I am getting an error telling me “Already have host lg-ucp-raicam (OpenWrt)”

now there already are 2 other devices of the same type in the DB, and they call themselves OpenWrt. (Even though they are not, not great SNMP implementation)
But nothing with this hostname or IP.



Can you run ./validate.php and post the results here?

No problem @murrant:

Component | Version
--------- | -------
LibreNMS | c5c643f9017d4a9bc53fa16ab549383b9ea772d4
DB Schema | 185
PHP | 7.0.15-0ubuntu0.16.04.4
MySQL | 10.0.29-MariaDB-0ubuntu0.16.04.1
RRDTool | 1.5.5
[OK] Database connection successful
[OK] Database schema correct
[FAIL] Discovery has not completed in the last 24 hours, check the cron job

This is most likely because they have the same sysName. Just force add the device.

1 Like

thanks @laf I will try that.

Yep that did it.
Is there a way to make the error message a bit more descriptive?