This behaviour is as designed:
- send an alarm e.g.:
{
"source": {
"id": "123456" },
"type": "TestAlarm2",
"text": "I am an alarm 2",
"severity": "MINOR",
"status": "ACTIVE",
"time": "{{isoTime}}"
}
Result: this alarm is shown in “MINOR” section
-
change “severity”: “MINOR” to “severity”: “MAJOR”
-
send alarm again
Result: this alarm is still shown in “MINOR” section enlarged with +1, not in “MAJOR” section, because it is n still the same alarm
Solution proposal:
- when you change “severity”, also change alarm type e.g. “type”: “TestAlarm2”
send alarm again
Result: this alarm is shown in “MAJOR” section