Status
Seitenverzeichnis:
shd.status.read
Auslesen der Monitoring-Informationen.
Parameter
Parameter | Typ | Version |
---|---|---|
object_ids | array<string> | ab Version 1.0 |
[ with_profile ] | bool | ab Version 1.0 |
Rückgabewert
Wert | Typ | Version |
---|---|---|
color | string | ab Version 1.0 |
status | int | ab Version 1.0 |
service_status | string | ab Version 1.0 |
output | string | ab Version 1.0 |
text | string | ab Version 1.0 |
Beispiel
Beispielaufruf | Beispielantwort |
---|---|
{ "method" : "shd.status.read", "version" : "2.0", "params" : { "object_ids" : [ "1062", "5124", "5134", "5130" ], "apikey" : "1ialbgclm9" }, "id" : "1" } | { "id" : "1", "result" : { "5134" : { "color" : "#78D168", "status" : 0, "service_status" : "0|0|0|3", "output" : "OK - 192.168.93.236: rta 0.277ms, lost 0%", "text" : "OK" }, "5130" : { "color" : "#E7A1A2", "status" : 2, "service_status" : "0|1|0|7", "output" : "CRITICAL", "text" : "DOWN" }, "5124" : { "color" : "#E7A1A2", "status" : 2, "service_status" : "14|0|0|16", "output" : "Remote command execution failed: Could not create directory '\/var\/lib\/nagios\/.ssh'.", "text" : "DOWN" } }, "jsonrpc" : "2.0" } |
, multiple selections available,
(c) 2024 SHD System-Haus-Dresden GmbH | Impressum https://www.shd-online.de/impressum/