Hi,
Just tried to add a new device (r5478) but it’s failing with no feedback, even at the command line.
root@OBSERVIUM:/opt/observium # php add_device.php server.name.domain Observium v0.14.5.5478 Add Device(s)
Try to add server.name.domain: Trying v2c community xyz ... root@OBSERVIUM:/opt/observium#
It was ok a couple of days ago and I’m not sure how to try to diagnose this further as there is no feedback either at the command line or the web interface (which just says “Trying v2c community xyx …” the same as the command line does).
To rule out a duff device I removed an existing working device and tried to re-add it. Fails with the same error also and I’m unable to re-add that device.
Any pointers please?
Cheers!
Robert Williams Custodian Data Centre Email: Robert@CustodianDC.com http://www.CustodianDC.com
Seems to work fine for me:
root@observium:/opt/observium# ./add_device.php insider.redacted.frii.com redacted v2c Observium v0.14.5.5478 Add Device(s)
Try to add insider.redacted.frii.com: Trying v2c community redacted... Now discovering insider.redacted.frii.com (id = 143) insider.redacted.frii.com 143 generic Ports : lo(1)[5452] eth0(2)[5453] eth1(3)[5454] br0(4)[5455] dhcp0(7)[5456] Discovered in 0.194 seconds
insider.redacted.frii.com 143 generic IPv4 Addresses : ++ Discovered in 0.167 seconds
insider.redacted.frii.com 143 generic IPv6 Addresses : Discovered in 0.222 seconds
Added device insider.redacted.frii.com (143).
Devices added: 1.
Regards,
SG
On 5/12/2014 9:00 AM, Robert Williams wrote:
Hi,
Just tried to add a new device (r5478) but it’s failing with no feedback, even at the command line.
root@OBSERVIUM:/opt/observium # php add_device.php server.name.domain
Observium v0.14.5.5478
Add Device(s)
Try to add server.name.domain:
Trying v2c community xyz ...
root@OBSERVIUM:/opt/observium#
It was ok a couple of days ago and I’m not sure how to try to diagnose this further as there is no feedback either at the command line or the web interface (which just says “Trying v2c community xyx …” the same as the command line does).
To rule out a duff device I removed an existing working device and tried to re-add it. Fails with the same error also and I’m unable to re-add that device.
Any pointers please?
Cheers!
Robert Williams Custodian Data Centre Email: Robert@CustodianDC.com http://www.CustodianDC.com
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi,
I’ve just fixed it by forcing SVN to re-update from scratch and putting the config back - it’s now working. Unfortunately that means I’m not really clear on what the cause was :(
If it happens again is there a way I can collect some debug type output from the discovery engine?
Cheers,
Robert Williams Custodian Data Centre Email: Robert@CustodianDC.com http://www.CustodianDC.com From: observium [mailto:observium-bounces@observium.org] On Behalf Of Robert Williams Sent: 12 May 2014 16:01 To: Observium Network Observation System (observium@observium.org) Subject: [Observium] Add device failing
Hi,
Just tried to add a new device (r5478) but it’s failing with no feedback, even at the command line.
root@OBSERVIUM:/opt/observium # php add_device.php server.name.domain Observium v0.14.5.5478 Add Device(s)
Try to add server.name.domain: Trying v2c community xyz ... root@OBSERVIUM:/opt/observium#
It was ok a couple of days ago and I’m not sure how to try to diagnose this further as there is no feedback either at the command line or the web interface (which just says “Trying v2c community xyx …” the same as the command line does).
To rule out a duff device I removed an existing working device and tried to re-add it. Fails with the same error also and I’m unable to re-add that device.
Any pointers please?
Cheers!
Robert Williams Custodian Data Centre Email: Robert@CustodianDC.com http://www.CustodianDC.com
Hey Robert,
The -d flag on discovery.php will enable debugging output. You can filter this on a per host basis by using it in conjunction with the -h flag. Example:
root@observium:/opt/observium# ./discovery.php -h insider.redacted.frii.com -d
Regards,
SG
On 5/12/2014 9:40 AM, Robert Williams wrote:
Hi,
I’ve just fixed it by forcing SVN to re-update from scratch and putting the config back - it’s now working. Unfortunately that means I’m not really clear on what the cause was :(
If it happens again is there a way I can collect some debug type output from the discovery engine?
Cheers,
Robert Williams Custodian Data Centre Email: Robert@CustodianDC.com http://www.CustodianDC.com
*From:*observium [mailto:observium-bounces@observium.org] *On Behalf Of *Robert Williams *Sent:* 12 May 2014 16:01 *To:* Observium Network Observation System (observium@observium.org) *Subject:* [Observium] Add device failing
Hi,
Just tried to add a new device (r5478) but it’s failing with no feedback, even at the command line.
root@OBSERVIUM:/opt/observium # php add_device.php server.name.domain
Observium v0.14.5.5478
Add Device(s)
Try to add server.name.domain:
Trying v2c community xyz ...
root@OBSERVIUM:/opt/observium#
It was ok a couple of days ago and I’m not sure how to try to diagnose this further as there is no feedback either at the command line or the web interface (which just says “Trying v2c community xyx …” the same as the command line does).
To rule out a duff device I removed an existing working device and tried to re-add it. Fails with the same error also and I’m unable to re-add that device.
Any pointers please?
Cheers!
Robert Williams Custodian Data Centre Email: Robert@CustodianDC.com http://www.CustodianDC.com
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi Robert,
Unfortunately add_device doesn't take -d etc parameters yet.
You could try going to the add host page on the web, adding /debug to the url, then submitting the form. It should run stuff in debug mode... but it sounds like it didn't like an error in a PHP file, as the entire thing aborted. If it's working now, I can't say what it is/was...
Tom
On 05/12/2014 05:40 PM, Robert Williams wrote:
Hi,
I've just fixed it by forcing SVN to re-update from scratch and putting the config back - it's now working. Unfortunately that means I'm not really clear on what the cause was :(
If it happens again is there a way I can collect some debug type output from the discovery engine?
Cheers,
Robert Williams Custodian Data Centre Email: Robert@CustodianDC.com http://www.CustodianDC.com
*From:*observium [mailto:observium-bounces@observium.org] *On Behalf Of *Robert Williams *Sent:* 12 May 2014 16:01 *To:* Observium Network Observation System (observium@observium.org) *Subject:* [Observium] Add device failing
Hi,
Just tried to add a new device (r5478) but it's failing with no feedback, even at the command line.
root@OBSERVIUM:/opt/observium # php add_device.php server.name.domain
Observium v0.14.5.5478
Add Device(s)
Try to add server.name.domain:
Trying v2c community xyz ...
root@OBSERVIUM:/opt/observium#
It was ok a couple of days ago and I'm not sure how to try to diagnose this further as there is no feedback either at the command line or the web interface (which just says "Trying v2c community xyx ..." the same as the command line does).
To rule out a duff device I removed an existing working device and tried to re-add it. Fails with the same error also and I'm unable to re-add that device.
Any pointers please?
Cheers!
Robert Williams Custodian Data Centre Email: Robert@CustodianDC.com http://www.CustodianDC.com
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Robert Williams
-
Spencer Gaw
-
Tom Laermans