Maybe I have onethomasschmeidl wrote:- You ping a server.
- You have a "warning" threshold in case of slow replies (>200) and
- a "bad" threshold in case of very slow/no replies (>1000).
- And you consider the first two irregular (=warning or bad) replies as "normal"
First of all let's transfer that example to a CPU test. For me it's much easier to set up CPU load using cpustres.exe than creating different PING response times.
So my tested and verified example:
- You 'CPU-test' a server.
- You have a "warning" threshold in case of high usage (> 10 %) and
- a "bad" threshold in case of very high usage (> 30 %).
- And you consider the first two irregular (=warning or bad) recurrences as "normal"
Setup CPU test - Alert > 30 %
[x] Treat Warning status as Bad
[x] Use "Warning" status if: ("%SuggestedReply%" > "10 %") and ("%SuggestedReply%" <= "30 %")
[x] Use "Normal" status if: ("%SuggestedReply%" > "10 %") and (("%Status%" == "Ok") or ("%LastStatus%" == "Ok"))
This was tested and is working fine from my pov.
**********************************
Transfered to the PING example it should look like (NOT TESTED)
Setup PING test - Timeout 1000 ms
[x] Treat Warning status as Bad
[x] Use "Warning" status if: ("%SuggestedReply%" > "200 ms") and ("%SuggestedReply%" <= "1000 ms")
[x] Use "Normal" status if: ("%SuggestedReply%" > "200 ms") and (("%Status%" == "Host is alive") or ("%LastStatus%" == "Host is alive"))
I hope that will help Thomas and others
Best regards
Juergen