blob: 0d86ab99c59e55d969104ef718bc5e01f0ee3db0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Disqus Nagios plugins
This is a collection of Nagios plugins written at Disqus.
## Scripts
* check_graphite.py
## 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
|