On Mar 31, 2008, at 5:08 AM, zarick wrote:
So, I remember somewhere else in zenoss admin manual has stated that,
min/max threshold is just one kind of threshold.
I got a sense that, zenoss does allow adding new kind of threshold by
programming. Is it real?
Does anyone which have done this before? and leave some notes around?
That's right. Starting with version 2.1, thresholds have become
abstracted in such a way that new ones can be created and bundled with
ZenPacks. Take a look at the MinMaxThreshold.py in Products/ZenModel.
You will have to implement logic for the ThresholdClass and
ThresholdInstance just like MinMaxThreshold does.
Once you've implemented this, you can drop the .py file you created
into the thresholds/ directory of a ZenPack and install it.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users