[
{
"id": 1,
"stream": "proxy:echo-back:processedInCount",
"description": "Test proxy counter alerts on server ${server}",
"severity": "WARNING",
"function": "COUNT",
"criteria": {
"minThreshold": 1,
"maxThreshold": 3
},
"actions": [
{
"@class": ".NotificationAction",
"protocol": "EMAIL",
"address": "support@adroitlogic.com"
}
]
},
{
"id": 2,
"stream": "proxy:echo-proxy:messageTimes",
"description": "Test Event alerts",
"severity":"ERROR",
"event" : "proxy:in:start",
"secondEvent" : "proxy:out:end",
"function": "DIFF",
"criteria": {
"maxThreshold": 3E6
}
},
{
"id": 3,
"stream": "proxy:echo-proxy:messageTimes",
"description": "Test event with more than one occurrence alerts",
"severity": "CRITICAL",
"event" : "proxy:in:start",
"secondEvent" : "proxy:out:end",
"function": "DIFF",
"criteria": {
"maxThreshold": 3E5,
"withinPeriod": 30000,
"hitCount": 2
}
}
]