View previous topic :: View next topic |
Author |
Message |
MirkoW
Joined: 01 Jul 2008 Posts: 205
|
Posted: Wed Jul 15, 2020 5:52 am Post subject: Alert based on specified count of error state on some tests |
|
|
Hello,
HM is monitoring a Server which have around 10 Disk drives.
Each drive freespace is monitoring by a test. But i dont want to get an alert when one of the disks does not have enough space.
I'm looking for a method to get an alert at first when more than 3 tests are containing errors.
It is possible a check a hm-folder which contain all tests and getting an alert if there are more than 3 tests which are containing errors?
Best regards,
Mirko |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Jul 15, 2020 6:35 am Post subject: |
|
|
Assign alert profile to each tests within the folder, use "advanced" mode action with expression like
(%FolderCurrent_BadTests%==3) and ("%SimpleStatus%"=="DOWN") and (%Recurrences%==1)
action will be started when 3 test items switches status to "bad" (later action can be started again if one test switches to "good", another to "bad", so total number of bad tests == 3)
Another option:
(%FolderCurrent_BadTests%>2) and ("%SimpleStatus%"=="DOWN") and (%Recurrences%==1)
action will be started when 3 test items switches status to "bad"; also it will be started when 4th test item will change status from "ok" to "bad"; 5th test item...
Regards
Alex |
|
Back to top |
|
|
MirkoW
Joined: 01 Jul 2008 Posts: 205
|
Posted: Wed Jul 15, 2020 7:26 am Post subject: |
|
|
Great!!
Thanks for fast support |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Jul 15, 2020 7:59 am Post subject: |
|
|
You are welcome
Regards
Alex |
|
Back to top |
|
|
|