Archived community.zenoss.org | full text search
Skip navigation
46663 Views 7 Replies Latest reply: Mar 26, 2010 9:05 AM by mshundal RSS
Lloydone Rank: White Belt 9 posts since
Aug 25, 2009
Currently Being Moderated

Sep 15, 2009 7:20 PM

Predictive Thresholds

Hi all,

 

I have recently installed the Predictive Threshold Pack by John Hamilton. I believe I have installed the zenpack correctly on my Zenoss Server (I am quite new to Unix based servers without GUIs - please bare with me), and I want to know how to implement the monitoring. The documentation on the specific zenpack is rather sparse. So if you could walk me through the steps or point me to some more detailed documentation, please let me know.

 

Cheers!

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    1. Sep 16, 2009 8:40 AM (in response to Lloydone)
    Re: Predictive Thresholds

    I don't think there's too much to document? You create a threshold in an

    existing template and set the Hold Winters parameters as described here:

    docs/DOC-3408

    for the weighting and colors you like...

     

    That also links to the full RRDTool docs. There really isn't anything

    else you have to do with the ZenPack specifically that I can see. I'll

    have to play with it a bit sometime.

     

    Maybe what you want to do is get some specific thing monitored? This

    would have little to do with the ZenPack though...

    --

    James Pulver

    Information Technology Area Supervisor

    LEPP Computer Group

    Cornell University

     

     

     

    Lloydone wrote, On 9/15/2009 7:20 PM:

    Hi all,

     

    I have recently installed the Predictive Threshold Pack by John Hamilton. I believe I have installed the zenpack correctly on my Zenoss Server (I am quite new to Unix based servers without GUIs - please bare with me), and I want to know how to implement the monitoring. The documentation on the specific zenpack is rather sparse. So if you could walk me through the steps or point me to some more detailed documentation, please let me know.

     

    Cheers!

    >

  • John Hamilton ZenossEmployee 7 posts since
    Dec 18, 2008
    Currently Being Moderated
    2. Sep 16, 2009 9:03 AM (in response to Lloydone)
    Re: Predictive Thresholds

    Quick point of clarification.  I (John Hamilton) am not the author of this ZenPack, merely the guy who posted the document.

    Eric Edgar is the author of this ZenPack.  Eric and many others will be happy to help you.

     

    Best,

    John H.

  • Andrea Consadori ZenossMaster 863 posts since
    Feb 11, 2008
    Currently Being Moderated
    3. Sep 17, 2009 5:19 AM (in response to Lloydone)
    Re: Predictive Thresholds

    it's not working or it give you an error?

     

    i've an error with this treshold, i posted on zenpack forum but no fix until now


    message/38273

     


    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).

  • Andrea Consadori ZenossMaster 863 posts since
    Feb 11, 2008
    Currently Being Moderated
    5. Sep 18, 2009 2:47 AM (in response to Lloydone)
    Re: Predictive Thresholds

    look at this screenshot

     

    docs/DOC-3408

  • mshundal Rank: Green Belt 116 posts since
    Jul 21, 2008
    Currently Being Moderated
    6. Mar 25, 2010 1:31 PM (in response to Andrea Consadori)
    Re: Predictive Thresholds

    Hiyas,

     

    I am using 2.5.2 and just recently installed this zenpack, all seemed well during install but whenever I try to apply a predictive threshold to a graph; it seems to break that entire page

     

    For example, here I made a local copy of the template for eth0 on the zenoss server, added a predictive threshold (default values) for ifInOctets and applied this threshold to the Throughput graph. Here is the result; when I try to visit the eth0 page I get the error below.

     

    Has anyone seen this? Anyone have any ideas on how fix or bypass this?

     

    ----

    Type: error
    Value:  /usr/local/zenoss/perf/Devices/purezen/os/interfaces/eth0/ifInOctets_ifInOctets.rrd:  not a simple integer: '72760.3643447'

    Traceback (innermost last):

    • Module ZPublisher.Publish, line 119, in publish
    • Module ZPublisher.mapply, line 88, in mapply
    • Module ZPublisher.Publish, line 42, in call_object
    • Module Products.ZenModel.ZenModelBase, line 65, in __call__
    • Module Shared.DC.Scripts.Bindings, line 313, in __call__
    • Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
    • Module Products.CMFCore.FSPageTemplate, line 216, in _exec
    • Module Products.CMFCore.FSPageTemplate, line 155, in pt_render
    • Module Products.PageTemplates.PageTemplate, line 98, in pt_render
    • Module zope.pagetemplate.pagetemplate, line 115, in pt_render
    • Module zope.tal.talinterpreter, line 271, in __call__
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 891, in do_useMacro
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    • Module zope.tal.talinterpreter, line 521, in do_optTag
    • Module zope.tal.talinterpreter, line 516, in no_tag
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 891, in do_useMacro
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    • Module zope.tal.talinterpreter, line 521, in do_optTag
    • Module zope.tal.talinterpreter, line 516, in no_tag
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 949, in do_defineSlot
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    • Module zope.tal.talinterpreter, line 521, in do_optTag
    • Module zope.tal.talinterpreter, line 516, in no_tag
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 949, in do_defineSlot
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    • Module zope.tal.talinterpreter, line 521, in do_optTag
    • Module zope.tal.talinterpreter, line 516, in no_tag
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 855, in do_condition
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    • Module zope.tal.talinterpreter, line 521, in do_optTag
    • Module zope.tal.talinterpreter, line 516, in no_tag
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 891, in do_useMacro
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    • Module zope.tal.talinterpreter, line 521, in do_optTag
    • Module zope.tal.talinterpreter, line 516, in no_tag
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 891, in do_useMacro
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    • Module zope.tal.talinterpreter, line 521, in do_optTag
    • Module zope.tal.talinterpreter, line 516, in no_tag
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 949, in do_defineSlot
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    • Module zope.tal.talinterpreter, line 521, in do_optTag
    • Module zope.tal.talinterpreter, line 516, in no_tag
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 981, in do_onError_tal
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    • Module zope.tal.talinterpreter, line 521, in do_optTag
    • Module zope.tal.talinterpreter, line 516, in no_tag
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 745, in  do_insertStructure_tal
    • Module Products.PageTemplates.Expressions, line 199, in  evaluateStructure
    • Module zope.tales.tales, line 696, in evaluate
      URL:  file:/usr/local/zenoss/Products/ZenModel/skins/zenmodel/viewPerformanceDetail.pt
      Line 85, Column 0
      Expression: <PythonExpr here.dmd.error_handler(error)>
      Names:
      {'container': <ZentinelPortal at /zport>,
      'context': <IpInterface at /zport/dmd/Devices/Server/Linux/devices/purezen/os/interfaces/eth0>,
      'default': <object object at 0xb7d10538>,
      'here': <IpInterface at /zport/dmd/Devices/Server/Linux/devices/purezen/os/interfaces/eth0>,
      'loop': {},
      'nothing': None,
      'options': {'args': ()},
      'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xc173dcc>,
      'request': <HTTPRequest, URL=http://purezen.puretracks.com:8080/zport/dmd/Devices/Server/Linux/devices/purezen/os/interfaces/eth0>,
      'root': <Application at >,
      'template': <FSPageTemplate at /zport/viewIpInterface used for /zport/dmd/Devices/Server/Linux/devices/purezen/os/interfaces/eth0>,
      'traverse_subpath': [],
      'user': <PropertiedUser 'mhundal'>}
    • Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
      __traceback_info__: here.dmd.error_handler(error)
    • Module PythonExpr, line 1, in <expression>
    • Module zope.tal.talinterpreter, line 968, in do_onError_tal
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
    • Module zope.tal.talinterpreter, line 521, in do_optTag
    • Module zope.tal.talinterpreter, line 516, in no_tag
    • Module zope.tal.talinterpreter, line 346, in interpret
    • Module zope.tal.talinterpreter, line 822, in do_loop_tal
    • Module zope.tales.tales, line 682, in setRepeat
    • Module zope.tales.tales, line 696, in evaluate
      URL:  file:/usr/local/zenoss/Products/ZenModel/skins/zenmodel/viewPerformanceDetail.pt
      Line 85, Column 0
      Expression: <PythonExpr  here.getDefaultGraphDefs(drange=drange)>
      Names:
      {'container': <ZentinelPortal at /zport>,
      'context': <IpInterface at /zport/dmd/Devices/Server/Linux/devices/purezen/os/interfaces/eth0>,
      'default': <object object at 0xb7d10538>,
      'here': <IpInterface at /zport/dmd/Devices/Server/Linux/devices/purezen/os/interfaces/eth0>,
      'loop': {},
      'nothing': None,
      'options': {'args': ()},
      'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xc173dcc>,
      'request': <HTTPRequest, URL=http://purezen.puretracks.com:8080/zport/dmd/Devices/Server/Linux/devices/purezen/os/interfaces/eth0>,
      'root': <Application at >,
      'template': <FSPageTemplate at /zport/viewIpInterface used for /zport/dmd/Devices/Server/Linux/devices/purezen/os/interfaces/eth0>,
      'traverse_subpath': [],
      'user': <PropertiedUser 'mhundal'>}
    • Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
      __traceback_info__: here.getDefaultGraphDefs(drange=drange)
    • Module PythonExpr, line 1, in <expression>
    • Module Products.ZenModel.RRDView, line 225, in getDefaultGraphDefs
    • Module Products.ZenModel.RRDView, line 66, in getGraphDefUrl
    • Module Products.ZenModel.PerformanceConf, line 319, in  performanceGraphUrl
    • Module Products.ZenModel.GraphDefinition, line 457, in  getGraphCmds
    • Module Products.ZenModel.ThresholdGraphPoint, line 121, in  getGraphCmds
    • Module  ZenPacks.community.PredictiveThreshold.thresholds.PredictiveThreshold,  line 439, in getGraphElements
    • Module ZenPacks.community.PredictiveThreshold.HoltData, line 126,  in ApplyHoltData
    error:  /usr/local/zenoss/perf/Devices/purezen/os/interfaces/eth0/ifInOctets_ifInOctets.rrd:  not a simple integer: '72760.3643447'

    -----

  • mshundal Rank: Green Belt 116 posts since
    Jul 21, 2008
    Currently Being Moderated
    7. Mar 26, 2010 9:05 AM (in response to mshundal)
    Re: Predictive Thresholds

    bueler?

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points