Last active
August 3, 2018 10:50
-
-
Save PeteLawrence/da19eaa0077cf5f184ce8a022cc0c6f7 to your computer and use it in GitHub Desktop.
Icinga2 API Examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List all service problems that haven't been acknowledged | |
curl -k -H 'X-HTTP-Method-Override: GET' -u username:password -X POST https://127.0.0.1:5665/v1/objects/services -d '{ "filter": "service.state !=0 && service.acknowledgement != 0" }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment