Thanks Nate..
There's a lot of good info in that thread.
I ended up modifying the checkRange method in MinMaxThreshold.py for the time
being. Any value that's a string gets cast to a float; which seems to operate
as I'd like. My python isn't great so I suspect there's a cleaner way to check
the type, but ah well.. I'd rather not run a non-stock zenoss, so I'm hoping
someone will patch this back to core.
Code:
def checkRange(self, dp, value):
'Check the value for min/max thresholds'
log.debug("Checking %s %s against min %s and max %s",
dp, value, self.minimum, self.maximum)
>> if type(value) == type(""):
>> value = float(value)
if value is None:
return []
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=13798#13798
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users