Version Information Observium 18.11.9580 (9th November 2018) OS Linux 4.4.0-116-generic [amd64] (Ubuntu 16.04) Apache 2.4.18 (Ubuntu) PHP 7.0.32-0ubuntu0.16.04.1 (OPcache: ENABLED) Python 2.7.12 MySQL 10.3.10-MariaDB-1:10.3.10+maria~xenial-log (extension: mysqli 5.0.12-dev) SNMP NET-SNMP 5.7.3 RRDtool 1.5.5 (rrdcached 1.5.5: unix:/var/run/rrdcached.sock) Fping 3.13 (IPv4 and IPv6)
Trying to add a device :-
I have tried the following incantations :-
curl -u admin:PASSWORD http://observium.riksbyggen.intra/api/v0/devices/ -H "Content-Type: application/json" -X POST -d '{"hostname":"papp01-exo"}'
curl -u admin:PASSWORD http://observium.riksbyggen.intra/api/v0/devices/ -H "Content-Type: application/json" -X POST -d '{"papp01-exo":"localhost"}'
curl -u admin:PASSWORD http://observium.riksbyggen.intra/api/v0/devices/ -H "Content-Type: application/json" -X POST -d '{"papp01-exo":"observium.riksbyggen.intra"}'
curl -u admin:POSSWORD http://observium.riksbyggen.intra/api/v0/devices/ -H "Content-Type: application/json" -X POST -d '{'papp01-exo':'observium'}'
all of which return "Hostname Required"