On Mar 13, 2008, at 1:30 PM, daviz00 wrote:
They left out a line in MinMaxThreshold.py which is found in /
Products/ZenModel
EXISTING CONTENTS
class MinMaxThresholdInstance(ThresholdInstance):
def __init__(self, id, context, dpNames,
minval, maxval, eventClass, severity, escalateCount):
self.count = {}
self._context = context
self.id = id
self.minimum = minval
NEW CONTENTS
class MinMaxThresholdInstance(ThresholdInstance):
count = {}
def __init__(self, id, context, dpNames,
minval, maxval, eventClass, severity, escalateCount):
self.count = {}
self._context = context
self.id = id
self.minimum = minval
There exists a simpler fix for this problem that doesn't involve
modifying the code (although that will still work.) Follow these steps
as the zenoss user:
1. zenperfsnmp stop
2. find $ZENHOME/perf -name *.pickle -delete
3. zenperfsnmp start
This will remove the old pickle files which zenperfsnmp will recreate
as soon as it loads the config from zenhub again.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users