This is a collection of Nagios plugins written at Disqus.
- check_graphite.py
% ./check_graphite.py -h
Usage: check_graphite.py [options]
Options:
-h, --help show this help message and exit
-U URL, --graphite-url=URL
Graphite URL [http://localhost/]
-t TARGET, --target=TARGET
Target to check
--compare=SERIES Compare TARGET against SERIES
--from=_FROM From timestamp/date
--until=_UNTIL Until timestamp/date [now]
-c COUNT, --count=COUNT
Alert on at least COUNT metrics [0]
--percentile=PERCENT Use nPercentile Graphite function on the target
(returns one datapoint)
--confidence Use holtWintersConfidenceBands Graphite function on
the target
--over Over specified WARNING or CRITICAL threshold [True]
--under Under specified WARNING or CRITICAL threshold [False]
-W VALUE Warning if datapoints beyond VALUE
-C VALUE Critical if datapoints beyond VALUE
Mandatory arguments: -U, [-t|--target], --from