Hi everybody,
at least I'm not the only one asking for simple solutions.
Maybe it helps to explain my considerations and suggestions a little more:
Obviously there are two main conditions we will use for the new NORMAL and WARNING statuses.
a) if recurrences of bad results exceed a certain number
b) if reply exceeds a certain threshold
Condition a) is useful for most tests (except SNMP trap test, unless recurrences are processed as suggested in
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=3011)
Condition b) is mainly useful for tests which produce a numeric reply.
Examples:
a)a): CPU test, threshold 90%
- NORMAL if <4 bad recurrences;
- WARNING if <10 bad recurrences;
- BAD if >=10 bad recurrences
a)b): Ping test, threshold 1000ms
- NORMAL if <2 bad recurrences;
- WARNING if (1000ms >= Reply time >200ms) and >2 recurrencies;
- BAD if Reply time > 1000ms and >2 recurrencies
b)b): Disk Space test threshold 10%
- NORMAL if 10% < space <20%;
- WARNING if 10% >= Space >5%.
- BAD if Space <=5%
That's why I imagine an advanced status processing dialogue similar to the action properties dialogue giving a choice (in a list box) between four modes as follows:
Condition to set WARNING resp. NORMAL status:
- DO NOT SET THIS STATUS
- RECURRENCE MODE: set status if recurrences of bad result exceed [ ]
- THRESHOLD MODE: set status if reply value is in the range between test threshold and [ ]
- EXPRESSION MODE: set status if the following expression is fulfilled: [............]
Recurrence mode and Threshold mode are designed to make admin work VERY easy; nevertheless it would be possible to define special conditions in the Expression mode!
Whereas the conditions and variables necessary for Recurrence Mode were already discussed in this forum let me add a few more considerations to the threshold mode:
IMHO it should be sufficient to define one threshold for each status - the second threshold can always be the threshold defined in the test properties dialogue. This avoids redundant information.
IMHO it is not necessary to declare a < or > for this threshold. The operator depends on whether the test threshold is < or > th status threshold.
Hope I don't make you crazy
Cheers
Thomas