simple api to check for hostname / IP address / SOLVED
![](https://secure.gravatar.com/avatar/fe6c633b8f4853a584ff10e201d12c2d.jpg?s=120&d=mm&r=g)
I solved with this hack :
wget http://servername/graph.php?height=102&width=226&type=device_ping&am...
in config.php : enable access to images
best regards, Sala
---
Is it possible with some URL-fu or simple REST API to check if a hostname and / or IP is in Observium ?
The goal is to put this check inside some bash scripts.
best regards, Sala
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Hi Massimo,
Alternatively it could probably be solved with a few lines of PHP reading from the database!
adam.
On 23/10/2015 11:41:57, massimo.sala@asl.bergamo.it massimo.sala@asl.bergamo.it wrote: I solved with this hack :
wget http://servername/graph.php?height=102&width=226&type=device_ping&am...
in config.php : enable access to images
best regards, Sala
---
Is it possible with some URL-fu or simple REST API to check if a hostname and / or IP is in Observium ?
The goal is to put this check inside some bash scripts.
best regards, Sala
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
Massimo.Sala@asl.bergamo.it