Hello! I´d like another system to set status on a device to ignore in observium, is there a cli-command for that?
Regards Fredrik
No specific CLI command, but you have two options to do this, either via SQL or via the API.
For SQL you need to do this, either via CLI with the mysql client, or via some other language:
UPDATE `devices` SET `ignore` = 1 WHERE `device_id` = <device_id>;
You can see the API endpoint here:
https://docs.observium.org/api/#changing-a-device
Thanks, Adam.
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of Svensson Fredrik A via observium Sent: 17 November 2020 07:30 To: Observium observium@observium.org Cc: Svensson Fredrik A fredrik.a.svensson@rjl.se Subject: [Observium] Ignore device through cli
Hello! I´d like another system to set status on a device to ignore in observium, is there a cli-command for that?
Regards Fredrik
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
Svensson Fredrik A