Hi guys,
I tought I was doing well with my monitoring, found a lot of useful information here, but I'm stuck again. The test below supposed to give an error after testing BAD for the fifth time. But it does not. It already gives an error at the first BAD attempt. Please tell me what I'm doing wrong?
Method = DominantProcess
;--- Common properties ---
;DestFolder = Prometheus\DBA & SB\#Prometheus OTA\Servers\Fysiek\servername\
Title = CHK-005, Dominant CPU process, servername
Comment =
RelatedURL =
NamePattern = CHK-005, Dominant CPU process, %host%
ScheduleMode= Regular
Schedule =
Interval = 30
Alerts =
ReverseAlert= No
UnknownIsBad= Yes
WarningIsBad= Yes
UseWarning = Yes
WarningExpr = ('%SimpleStatus%'=='DOWN') and (%Recurrences%==5)
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
;--- Test specific properties ---
Host = servername
ExceptList =
Threshold = 90
CheckMode = CPU Usage
DisplayMode = ValueNameID
Bad after 5 reocurrences
"to give an error" means set Bad test status? otherwise set Warning status?The test below supposed to give an error after testing BAD for the fifth time
Then you set wrong expression ('%SimpleStatus%'=='DOWN') and (%Recurrences%==5)
try
('%SuggestedSimpleStatus%'=='DOWN') and (%FailureIteration% < 5)
or like this
(%FailureIteration% > 0) and (%FailureIteration% < 5)
Regards
Alex