Skip to content

Commit

Permalink
Correct API URL example for acknowledge-problem
Browse files Browse the repository at this point in the history
refs #11328
  • Loading branch information
lazyfrosch authored and Michael Friedrich committed Mar 11, 2016
1 parent ee7af88 commit 2d4ccb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/9-icinga2-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ In addition to these parameters a [filter](9-icinga2-api.md#icinga2-api-filters)
The following example acknowledges all services which are in a hard critical state and sends out
a notification for them:

$ curl -k -s -u root:icinga -H 'Accept: application/json' -X POST 'https://localhost:566tions/acknowledge-problem?type=Service&filter=service.state==2&service.state_type=1' \
$ curl -k -s -u root:icinga -H 'Accept: application/json' -X POST 'https://localhost:5665/v1/actions/acknowledge-problem?type=Service&filter=service.state==2&service.state_type=1' \
-d '{ "author": "icingaadmin", "comment": "Global outage. Working on it.", "notify": true }' | python -m json.tool

{
Expand Down

0 comments on commit 2d4ccb4

Please sign in to comment.