[zenoss-users] Again thresholds problems
Hrvoje Habjanić
hrvoje.habjanic at zg.t-com.hr
Mon Nov 26 11:41:17 EST 2007
Hi!
It seems that in 2.1.1 thresholds, considering all previous posts, are quite
borken. I did manage to find one more "bug".
In MinMaxThreshold.py, line 195:
if self.escalateCount and self.count >= self.escalateCount:
severity = max(severity + 1, 5)
summary = '%s %s threshold of %s %s: current value %.2f' % (
So what is here written is that when severity is incremented, get larger value
between new severity and 5! So, when your event rise, it will end up on level
5, always!
I'm guessing that instead "max" here should be "min". :-)
H.
More information about the zenoss-users
mailing list