GithubHelp home page GithubHelp logo

zenpacks.community.predictivethreshold's Introduction

ZenPacks.community.PredictiveThreshold

Description

This ZenPack adds a new Predictive Threshold type for determining when to trigger an event. The threshold uses the Holt-Winters Forecasting from RRDTool.

Retrofitting data exists in the Predictive Threshold. It renames the original .rrd with a .old extension. The RemoveHoltData.py script packaged with the ZenPack is a command line tool for converting RRD data back to regular RRD files if you want to convert them back to standard thresholds.

Holt Winters Parameters

  • Alpha = 0.1 # 0-1 , value closer to 1 means more recent observation carries more weight, baseline
  • Beta = 0.0035 # 0-1 , value closer to 1 means more recent observation carries more weight, linear trend
  • Gamma = 0.1 # 0-1 , value closer to 1 means more recent observation carries more weight, seasonal trend
  • Rows = 1440 # rows >=season, 5days, 300second_intervals * 1440 points
  • Season = 288 # 1day, 288points * 300second_intervals
  • Window = 6 # window length .. (eg 6 observations for alerting)
  • Threshold = 3 # number of periods it has to fail in a window before alert sent
  • Delta = 2 # of standard deviations away from predicted value (for alerting)
  • Prediction Color = Color of the predicted value line
  • Confidence Band Color = Color of the confidence bands placed at delta standard deviations from prediction line
  • Tick Color = color of vertical line indicating threshold has been crossed at that value

Requirements & Dependencies

  • Zenoss Versions Supported: 3.0
  • External Dependencies:
  • ZenPack Dependencies:
  • Installation Notes: zenhub and zopectl restart after installing this ZenPack.
  • Configuration:

Limitations

Beware if you are testing and creating a new template that it takes about 2 days before there is enough data for the Holt-Winters RRA archives to have data so although you see the new lines on the legend of a graph, there are no data lines for this long.

I don't think installing the ZenPack per se, will corrupt anything you currently have; however it may cause problems to existing data. Have a look at http://community.zenoss.org/message/50360#50360 - I have seen this both on the old version with 2.5.2 and with the new. I would take my own backup of RRD files before applying a predictive threshold.

Download

Download the appropriate package for your Zenoss version from the list below.

Installation

Normal Installation (packaged egg)

Copy the downloaded .egg to your Zenoss server and run the following commands as the zenoss user:

zenpack --install <package.egg>
zenhub restart
zopectl restart

Developer Installation (link mode)

If you wish to further develop and possibly contribute back to this ZenPack you should clone the git repository, then install the ZenPack in developer mode:

zenpack --link --install <package>
zenhub restart
zopectl restart

Configuration

Tested with Zenoss 3.1

Change History

  • 1.0
    • Eric Edgar's version working on Zenoss 2.2
  • 2.0
    • Changed by Jane Curry to support Zenoss 3.x
  • 2.1
    • Transferred to new github methods

Screenshots

PredictiveThresholdCreate PredictiveThresholdEdit PredictiveThresholdShow

zenpacks.community.predictivethreshold's People

Contributors

jcurry avatar

Stargazers

 avatar Jason Harvey avatar

Watchers

 avatar James Cloos avatar

Forkers

alienth

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.