zulip/zerver/webhooks/librato/fixtures/three_conditions_alert.json

56 lines
1.2 KiB
JSON
Raw Normal View History

2016-08-31 21:23:20 +02:00
{
"alert": {
"id": 6294535,
"name": "TooHighTemperature",
2016-08-31 21:23:20 +02:00
"runbook_url": "http://www.use.water.pl",
"version": 2,
"description": "Measurement of temperature in your computer"
2016-08-31 21:23:20 +02:00
},
"account": "lizonr@gmail.com",
"trigger_time": 1460407214,
"conditions": [
{
"id": 4158783,
"type": "above",
"threshold": 4,
"summary_function": "absolute_value",
"duration": 300
},
{
"id": 4299396,
"type": "above",
"threshold": 99,
"summary_function": "max"
},
{
"id": 3651148,
"type": "absent",
"summary_function": "average",
"duration": 60
}
],
"violations": {
"test-source": [
{
"metric": "collectd.interface.eth0.if_octets.tx",
"value": 46,
"recorded_at": 1460407214,
"condition_violated": 4158783
},
{
"metric": "collectd.load.load.longterm",
"value": 141,
"recorded_at": 1460407214,
"condition_violated": 4299396
},
{
"metric": "librato.swap.swap.cached",
"value": 42,
"recorded_at": 1460407214,
"condition_violated": 3651148
}
]
},
"triggered_by_user_test": true
}