Archived community.zenoss.org | full text search
Skip navigation
36482 Views 5 Replies Latest reply: Mar 26, 2010 6:26 PM by Matt Ray RSS
Matt Ray Rank: Zen Master 2,484 posts since
Apr 5, 2008
Currently Being Moderated

Jun 22, 2009 6:51 PM

New Predictive Threshold ZenPack

Zenoss Community member Eric J. Edgar has generously provided a new
Predictive Threshold ZenPack that adds a new threshold type for
determining when to trigger an event. The threshold uses the Holt-
Winters Forecasting from RRDTool.

Predictive Threshold: http://www.zenoss.com/community/projects/zenpacks/predictivethreshold
Community ZenPack Repository: trac-zenpacks/wiki/ZenPackscommunityPredictiveThreshold

Thanks Eric!

Thanks,Matt Ray
Zenoss Community Manager
community.zenoss.com
mray@zenoss.com



_______________________________________________
zenoss-zenpacks mailing list
zenoss-zenpacks@zenoss.org
http://lists.zenoss.org/mailman/listinfo/zenoss-zenpacks
  • Andrea Consadori ZenossMaster 863 posts since
    Feb 11, 2008
    Currently Being Moderated
    1. Jul 2, 2009 1:14 PM (in response to Matt Ray)
    RE: New Predictive Threshold ZenPack
    hi, i try to apply this treshold but i've this error

    
    Traceback (most recent call last):
      File "/opt/zenoss/lib/python/twisted/python/log.py", line 51, in callWithLogger
        return callWithContext({"system": lp}, func, *args, **kw)
      File "/opt/zenoss/lib/python/twisted/python/log.py", line 36, in callWithContext
        return context.call({ILogContext: newCtx}, func, *args, **kw)
      File "/opt/zenoss/lib/python/twisted/python/context.py", line 59, in callWithContext
        return self.currentContext().callWithContext(ctx, func, *args, **kw)
      File "/opt/zenoss/lib/python/twisted/python/context.py", line 37, in callWithContext
        return func(*args,**kw)
    --- <exception caught here> ---
      File "/opt/zenoss/lib/python/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
        why = getattr(selectable, method)()
      File "/opt/zenoss/lib/python/twisted/internet/tcp.py", line 362, in doRead
        return self.protocol.dataReceived(data)
      File "/opt/zenoss/lib/python/twisted/spread/banana.py", line 216, in dataReceived
        gotItem(item)
      File "/opt/zenoss/lib/python/twisted/spread/banana.py", line 146, in gotItem
        self.callExpressionReceived(item)
      File "/opt/zenoss/lib/python/twisted/spread/banana.py", line 111, in callExpressionReceived
        self.expressionReceived(obj)
      File "/opt/zenoss/lib/python/twisted/spread/pb.py", line 526, in expressionReceived
        method(*sexp[1:])
      File "/opt/zenoss/lib/python/twisted/spread/pb.py", line 895, in proto_answer
        d.callback(self.unserialize(netResult))
      File "/opt/zenoss/lib/python/twisted/spread/pb.py", line 787, in unserialize
        return unjelly(sexp, self.security, None, self)
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 1136, in unjelly
        return _Unjellier(taster, persistentLoad, invoker).unjellyFull(sexp)
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 633, in unjellyFull
        o = self.unjelly(obj)
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 670, in unjelly
        ret = thunk(obj[1:])
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 795, in _unjelly_list
        self.unjellyInto(l, elem, lst[elem])
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 748, in unjellyInto
        o = self.unjelly(jel)
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 657, in unjelly
        val = method(self, obj)
      File "/opt/zenoss/lib/python/twisted/spread/flavors.py", line 396, in unjellyFor
        self.setCopyableState(unjellier.unjelly(jellyList[1]))
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 670, in unjelly
        ret = thunk(obj[1:])
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 849, in _unjelly_dictionary
        self.unjellyInto(kvd, 1, v)
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 748, in unjellyInto
        o = self.unjelly(jel)
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 670, in unjelly
        ret = thunk(obj[1:])
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 795, in _unjelly_list
        self.unjellyInto(l, elem, lst[elem])
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 748, in unjellyInto
        o = self.unjelly(jel)
      File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 675, in unjelly
        raise InsecureJelly(
    twisted.spread.jelly.InsecureJelly: Module ZenPacks.community.PredictiveThreshold.thresholds.PredictiveThreshold not allowed (in type ZenPacks.community.PredictiveThreshold.thresholds.PredictiveThreshold.PredictiveThresholdInstance).
    ERROR:zen.zenperfsnmp:Could not get unresponsive devices: [Failure instance: Traceback (failure with no frames): twisted.spread.pb.PBConnectionLost: [Failure instance: Traceback (failure with no frames): twisted.spread.jelly.InsecureJelly: Module ZenPacks.community.PredictiveThreshold.thresholds.PredictiveThreshold not allowed (in type ZenPacks.community.PredictiveThreshold.thresholds.PredictiveThreshold.PredictiveThresholdInstance).
    
    
  • ZenossMaster 27 posts since
    Mar 25, 2009
    Currently Being Moderated
    2. Jul 2, 2009 2:13 PM (in response to Andrea Consadori)
    New Predictive Threshold ZenPack
    What version of zenoss are you running?


    ----- Original Message -----
    From: zenoss-zenpacks-bounces@zenoss.org <zenoss-zenpacks-bounces@zenoss.org>
    To: zenoss-zenpacks@zenoss.org <zenoss-zenpacks@zenoss.org>
    Sent: Thu Jul 02 12:14:06 2009
    Subject: [zenoss-zenpacks] Re: New Predictive Threshold ZenPack

    hi, i try to apply this treshold but i've this error


    Code:

    Traceback (most recent call last):
    File "/opt/zenoss/lib/python/twisted/python/log.py", line 51, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
    File "/opt/zenoss/lib/python/twisted/python/log.py", line 36, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
    File "/opt/zenoss/lib/python/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
    File "/opt/zenoss/lib/python/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
    --- <exception caught here> ---
    File "/opt/zenoss/lib/python/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
    why = getattr(selectable, method)()
    File "/opt/zenoss/lib/python/twisted/internet/tcp.py", line 362, in doRead
    return self.protocol.dataReceived(data)
    File "/opt/zenoss/lib/python/twisted/spread/banana.py", line 216, in dataReceived
    gotItem(item)
    File "/opt/zenoss/lib/python/twisted/spread/banana.py", line 146, in gotItem
    self.callExpressionReceived(item)
    File "/opt/zenoss/lib/python/twisted/spread/banana.py", line 111, in callExpressionReceived
    self.expressionReceived(obj)
    File "/opt/zenoss/lib/python/twisted/spread/pb.py", line 526, in expressionReceived
    method(*sexp[1:])
    File "/opt/zenoss/lib/python/twisted/spread/pb.py", line 895, in proto_answer
    d.callback(self.unserialize(netResult))
    File "/opt/zenoss/lib/python/twisted/spread/pb.py", line 787, in unserialize
    return unjelly(sexp, self.security, None, self)
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 1136, in unjelly
    return _Unjellier(taster, persistentLoad, invoker).unjellyFull(sexp)
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 633, in unjellyFull
    o = self.unjelly(obj)
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 670, in unjelly
    ret = thunk(obj[1:])
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 795, in _unjelly_list
    self.unjellyInto(l, elem, lst[elem])
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 748, in unjellyInto
    o = self.unjelly(jel)
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 657, in unjelly
    val = method(self, obj)
    File "/opt/zenoss/lib/python/twisted/spread/flavors.py", line 396, in unjellyFor
    self.setCopyableState(unjellier.unjelly(jellyList[1]))
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 670, in unjelly
    ret = thunk(obj[1:])
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 849, in _unjelly_dictionary
    self.unjellyInto(kvd, 1, v)
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 748, in unjellyInto
    o = self.unjelly(jel)
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 670, in unjelly
    ret = thunk(obj[1:])
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 795, in _unjelly_list
    self.unjellyInto(l, elem, lst[elem])
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 748, in unjellyInto
    o = self.unjelly(jel)
    File "/opt/zenoss/lib/python/twisted/spread/jelly.py", line 675, in unjelly
    raise InsecureJelly(
    twisted.spread.jelly.InsecureJelly: Module ZenPacks.community.PredictiveThreshold.thresholds.PredictiveThreshold not allowed (in type ZenPacks.community.PredictiveThreshold.thresholds.PredictiveThreshold.PredictiveThresholdInstance).
    ERROR:zen.zenperfsnmp:Could not get unresponsive devices: [Failure instance: Traceback (failure with no frames): twisted.spread.pb.PBConnectionLost: [Failure instance: Traceback (failure with no frames): twisted.spread.jelly.InsecureJelly: Module ZenPacks.community.PredictiveThreshold.thresholds.PredictiveThreshold not allowed (in type ZenPacks.community.PredictiveThreshold.thresholds.PredictiveThreshold.PredictiveThresholdInstance).











    _______________________________________________
    zenoss-zenpacks mailing list
    zenoss-zenpacks@zenoss.org
    http://lists.zenoss.org/mailman/listinfo/zenoss-zenpacks
  • Andrea Consadori ZenossMaster 863 posts since
    Feb 11, 2008
    Currently Being Moderated
    3. Jul 3, 2009 12:46 PM (in response to rocketman110)
    RE: New Predictive Threshold ZenPack
    2.4.2 centos 5 rpm installation 32 bit
  • mshundal Rank: Green Belt 116 posts since
    Jul 21, 2008
    Currently Being Moderated
    4. Mar 25, 2010 1:17 PM (in response to Andrea Consadori)
    Re: RE: New Predictive Threshold ZenPack

    did anything happen with this? I need this functionality but am unable to apply the threshold without breaking zenoss

More Like This

  • Retrieving data ...