many thanks for the new feature in 6.50 Beta
As it is complex maybe I've not fully understood the idea how it should work.
I've the following test
In short Words:
If CPU usage is more than 20%
- set WARNING for the first 2 recurrences
- if more than 2, set BAD
That results in the following behaviour (seen in native GUI):;-----------------------------------------------------------------------------
;- HostMonitor`s export/import file -
;- Generated by HostMonitor at 2006-12-09 11:21:57 -
;- Source file: D:\User\HostMonitor\Warning-Test.hml -
;- Generation mode: Selected_Tests -
;-----------------------------------------------------------------------------
; ------- Test #01 -------
Method = CPU
;--- Common properties ---
;DestFolder = Root\
Title = CPU <local computer>
Comment = CPU Usage on <local computer>
RelatedURL =
ScheduleMode= Regular
Schedule =
Interval = 10
Alerts = Message, Sound
ReverseAlert= No
UnknownIsBad= No
WarningIsBad= No
UseWarning = Yes
WarningExpr = ("%SimpleStatus%"=="DOWN") and (%Recurrences%<3)
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
;--- Test specific properties ---
Computer =
OS = NT
MaxCPUUsage = 20
;-----------------------------------------------------------------------------
; Exported 1 items
- Status is OK and Recurrences are 40 (as an example)
Now more than 20% CPU-Usage is created (cpustres.exe)
- Status is BAD and Recurrences are 1 and BAD Action ist started
- Status is WARNING and Recurrences are 1
- Status is WARNING and Recurrences are 2
- Status is WARNING and Recurrences are 3
- Status is BAD and Recurrences are 1 and BAD Action ist started
- Status is WARNING and Recurrences are 1
- Status is WARNING and Recurrences are 2
- Status is WARNING and Recurrences are 3
- Status is BAD and Recurrences are 1 and BAD Action ist started
.
.
.
If that works as it should, can you please explain why.
For me that is not clear. Maybe I don't understand the simple Status ?!
Many thanks.
Juergen