26 lines
470 B
Plaintext
26 lines
470 B
Plaintext
meta {
|
|
name: Set Downtime by Hostfilter
|
|
type: http
|
|
seq: 4
|
|
}
|
|
|
|
post {
|
|
url: https://monitoring-api-qsu.noris.net:5665/v1/actions/schedule-downtime
|
|
body: json
|
|
auth: inherit
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"pretty": true,
|
|
"type": "Host",
|
|
"filter": "match(\"*.monitoring.noris.de\", host.name)",
|
|
"all_services": true,
|
|
"author": "Icinga Admin",
|
|
"comment": "Test for API",
|
|
"fixed": true,
|
|
"start_time": 1752241200,
|
|
"end_time": 1752244800
|
|
}
|
|
}
|