Hello,I want to use the icinga2 api. I am querying all services with problems like so:
https://icinga.mydomain.com:5665/v1/objects/services?filter=service.state!=ServiceOK
This returns services objects like so:
{ "attrs": { "__name": "somehost.mydomain.com!apt", "acknowledgement": 2.0, "acknowledgement_expiry": 0.0, "action_url": "", "active": true, "check_attempt": 1.0, "check_command": "apt", "check_interval": 60.0,
...
"paused": false, "retry_interval": 30.0, "state": 1.0, "state_type": 1.0, "templates": [ "apt", "generic-service" ], "type": "Service", "vars": null, "version": 0.0, "volatile": false, "zone": "" }, "joins": {}, "meta": {}, "name": "vmrbg69.in.tum.de!apt", "type": "Service" }
What does > "acknowledgement": 2.0,specifically mean; and more generally, what values are possible for "acknowledgement"; and most generally, is there a specification somewhere that tells me what all possible attributes of host and services objects mean?
Best regards, Luke
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users