You can't remove the "-h" device (please check the error messages).

That said, discovery won't discover if the device is marked as down by the poller. We should make that a little more clear.

Tom

On 03/14/2016 06:57 PM, Jeffrey d'Ambly 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 176
Observium 0.15.5.6406
Remove 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 Mailbird

On 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> exit
Bye
[root@sjc-corp-net01 ~]# /home/observium/discovery.php -h 176
Observium 0.15.5.6406
Discovery

Current Revision : 6406
New Revision   : 7674
WARNING: 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 176
Observium 0.15.5.6406
Remove Device

Device -h doesn't exist!
[root@sjc-corp-net01 ~]#


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium