2023-08-31 16:00:36 +02:00
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"check": {
|
|
|
|
|
"active": true,
|
|
|
|
|
"threshold": 1,
|
|
|
|
|
"schedule": {
|
|
|
|
|
"attentive_interval": 120,
|
|
|
|
|
"regular_interval": 3600,
|
|
|
|
|
"reminding_interval": 86400
|
|
|
|
|
},
|
|
|
|
|
"notifications": [],
|
|
|
|
|
"name": "test",
|
|
|
|
|
"title": "Test",
|
|
|
|
|
"kind": "BOGUS",
|
|
|
|
|
"parameters": {},
|
|
|
|
|
"custom": null,
|
2023-08-31 19:15:40 +02:00
|
|
|
"annoy": false
|
2023-08-31 16:00:36 +02:00
|
|
|
},
|
|
|
|
|
"old_item_state": {
|
|
|
|
|
"timestamp": "2023-01-15T11:00:00",
|
|
|
|
|
"last_notification_timestamp": "2023-01-15T10:00:00"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"cases": [
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"unknown\",\"threshold_reached\":false,\"passed\":\"none\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "unknown",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "none"
|
|
|
|
|
},
|
|
|
|
|
"output": false
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"unknown\",\"threshold_reached\":false,\"passed\":\"attentive\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "unknown",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "attentive"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"unknown\",\"threshold_reached\":false,\"passed\":\"regular\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "unknown",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "regular"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"unknown\",\"threshold_reached\":false,\"passed\":\"reminding\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "unknown",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "reminding"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"unknown\",\"threshold_reached\":true,\"passed\":\"none\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "unknown",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "none"
|
|
|
|
|
},
|
2023-08-31 19:15:40 +02:00
|
|
|
"output": false
|
2023-08-31 16:00:36 +02:00
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"unknown\",\"threshold_reached\":true,\"passed\":\"attentive\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "unknown",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "attentive"
|
|
|
|
|
},
|
2023-08-31 19:15:40 +02:00
|
|
|
"output": false
|
2023-08-31 16:00:36 +02:00
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"unknown\",\"threshold_reached\":true,\"passed\":\"regular\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "unknown",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "regular"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"unknown\",\"threshold_reached\":true,\"passed\":\"reminding\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "unknown",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "reminding"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"ok\",\"threshold_reached\":false,\"passed\":\"none\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "ok",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "none"
|
|
|
|
|
},
|
|
|
|
|
"output": false
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"ok\",\"threshold_reached\":false,\"passed\":\"attentive\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "ok",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "attentive"
|
|
|
|
|
},
|
2023-08-31 19:15:40 +02:00
|
|
|
"output": false
|
2023-08-31 16:00:36 +02:00
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"ok\",\"threshold_reached\":false,\"passed\":\"regular\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "ok",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "regular"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"ok\",\"threshold_reached\":false,\"passed\":\"reminding\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "ok",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "reminding"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"ok\",\"threshold_reached\":true,\"passed\":\"none\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "ok",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "none"
|
|
|
|
|
},
|
|
|
|
|
"output": false
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"ok\",\"threshold_reached\":true,\"passed\":\"attentive\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "ok",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "attentive"
|
|
|
|
|
},
|
|
|
|
|
"output": false
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"ok\",\"threshold_reached\":true,\"passed\":\"regular\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "ok",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "regular"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"ok\",\"threshold_reached\":true,\"passed\":\"reminding\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "ok",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "reminding"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"concerning\",\"threshold_reached\":false,\"passed\":\"none\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "concerning",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "none"
|
|
|
|
|
},
|
2023-08-31 19:15:40 +02:00
|
|
|
"output": false
|
2023-08-31 16:00:36 +02:00
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"concerning\",\"threshold_reached\":false,\"passed\":\"attentive\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "concerning",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "attentive"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"concerning\",\"threshold_reached\":false,\"passed\":\"regular\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "concerning",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "regular"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"concerning\",\"threshold_reached\":false,\"passed\":\"reminding\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "concerning",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "reminding"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"concerning\",\"threshold_reached\":true,\"passed\":\"none\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "concerning",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "none"
|
|
|
|
|
},
|
2023-08-31 19:15:40 +02:00
|
|
|
"output": false
|
2023-08-31 16:00:36 +02:00
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"concerning\",\"threshold_reached\":true,\"passed\":\"attentive\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "concerning",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "attentive"
|
|
|
|
|
},
|
2023-08-31 19:15:40 +02:00
|
|
|
"output": false
|
2023-08-31 16:00:36 +02:00
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"concerning\",\"threshold_reached\":true,\"passed\":\"regular\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "concerning",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "regular"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"concerning\",\"threshold_reached\":true,\"passed\":\"reminding\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "concerning",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "reminding"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"critical\",\"threshold_reached\":false,\"passed\":\"none\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "critical",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "none"
|
|
|
|
|
},
|
2023-08-31 19:15:40 +02:00
|
|
|
"output": false
|
2023-08-31 16:00:36 +02:00
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"critical\",\"threshold_reached\":false,\"passed\":\"attentive\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "critical",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "attentive"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"critical\",\"threshold_reached\":false,\"passed\":\"regular\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "critical",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "regular"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"critical\",\"threshold_reached\":false,\"passed\":\"reminding\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "critical",
|
|
|
|
|
"threshold_reached": false,
|
|
|
|
|
"passed": "reminding"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"critical\",\"threshold_reached\":true,\"passed\":\"none\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "critical",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "none"
|
|
|
|
|
},
|
2023-08-31 19:15:40 +02:00
|
|
|
"output": false
|
2023-08-31 16:00:36 +02:00
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"critical\",\"threshold_reached\":true,\"passed\":\"attentive\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "critical",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "attentive"
|
|
|
|
|
},
|
2023-08-31 19:15:40 +02:00
|
|
|
"output": false
|
2023-08-31 16:00:36 +02:00
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"critical\",\"threshold_reached\":true,\"passed\":\"regular\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "critical",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "regular"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-08-31 19:15:40 +02:00
|
|
|
"name": "{\"condition\":\"critical\",\"threshold_reached\":true,\"passed\":\"reminding\"}",
|
2023-08-31 16:00:36 +02:00
|
|
|
"input": {
|
|
|
|
|
"condition": "critical",
|
|
|
|
|
"threshold_reached": true,
|
|
|
|
|
"passed": "reminding"
|
|
|
|
|
},
|
|
|
|
|
"output": true
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|