On 14/03/2016 17:57:37, Jeffrey d'Ambly <jeffrey.dambly@jasper.com> wrote:
I don’t see why that matters, there seems to be an issue with something in the db, I still can’t remove this device or poll it.
[root@sjc-corp-net01 observium]# ./delete_device.php -h 176Observium 0.15.5.6406Remove Device
Device -h doesn't exist![root@sjc-corp-net01 observium]#
From: observium <observium-bounces@observium.org> on behalf of Adam Armstrong <adama@memetic.org>
Reply-To: Observium Network Observation System <observium@observium.org>
Date: Monday, March 14, 2016 at 10:49 AM
To: "observium@observium.org" <observium@observium.org>
Subject: Re: [Observium] cannot find device
lol?
why are you trying to run observium scripts from your home directory with full path?
adam.
Sent from MailbirdOn 14/03/2016 17:48:14, Jeffrey d'Ambly <jeffrey.dambly@jasper.com> wrote:
I have a device that I cannot discover or delete, in observium Professional
How can I fix this?
mysql> select hostname, device_id FROM devices WHERE hostname LIKE 'ams-sw121';+-----------+-----------+| hostname | device_id |+-----------+-----------+| ams-sw121 | 176 |+-----------+-----------+1 row in set (0.00 sec)
mysql> exitBye[root@sjc-corp-net01 ~]# /home/observium/discovery.php -h 176Observium 0.15.5.6406Discovery
Current Revision : 6406New Revision : 7674WARNING: 0 devices discovered. Did you specify a device that does not exist?Memory usage: 4.5MB (peak: 4.5MB)MySQL: Cell[21/0.03s] Row[0/0s] Rows[2/0s] Column[0/0s] Update[0/0s] Insert[0/0s] Delete[0/0s][root@sjc-corp-net01 ~]#
[root@sjc-corp-net01 ~]# /home/observium/delete_device.php -h 176Observium 0.15.5.6406Remove Device
Device -h doesn't exist![root@sjc-corp-net01 ~]#