I have a device that both exists and doesn’t at the same time. I can’t add it because it exists, I can’t remove it because it doesn’t.
Prior to this I had deleted the device as it had accreted 15000+ interfaces due to ipsec tunnel churn. Where do I need to go looking to find the remanent data that is stopping me from adding it back?
[email protected]:/opt/librenms# ./addhost.php 192.168.33.1
Already have host with this IP 192.168.33.1
[email protected]:/opt/librenms# ./delhost.php 192.168.33.1
Host doesn't exist!
[email protected]:/opt/librenms# ./addhost.php 192.168.33.1
Already have host with this IP 192.168.33.1
[email protected]:/opt/librenms#
The message isn’t that the device exists, it’s that a device already exists which also has that IP registered to it. If you force add (-f) the device it will be added without any checks iirc
I have run into this after adding 190 hosts. I searched all IPs using the web interface and I was not able to find them existing. I am running into this with two new devices. Any ideas?
Version db58fea - Mon Feb 27 2017 17:32:13 GMT-0500
DB Schema #171
Web Server nginx/1.10.0
PHP 7.0.15-0ubuntu0.16.04.2
MySQL 10.0.29-MariaDB-0ubuntu0.16.04.1
RRDtool 1.5.5
Here is some additional information that I can add. This is actually the 2nd Barracuda Spam firewall that I am adding. The first has been in place and working for a while now. After looking around I did try this command on both devices to help me verify that my accounts were correct and if I could get any additional information.
That means you have a device with the sysName of Barracuda already. You can either just force add the device or set $config['allow_duplicate_sysName'] = true; in config.php but this takes effect for auto-discovery and you may end up with duplicates if you use it.
Okay, I have found issue below. Apparently, Barracuda never thought anyone would purchase more than one of their devices? I am reaching out to Barracuda to see what can be done.