blob: 8703e4ba0615eeb98102b291e16d371a902a765f (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
; Comments start with semicolon
; Misc options
[misc]
; If pingdom delivers unknown status interpret that as up
interpret.unknown.status.as.up = true
; If pingdom delivers zero results interpret that as up
interpret.zero.results.as.up = true
; and notify with '! ' in the mail and/or stdout.
warning.if.avail.is.less = 100
; And notify with '!!' in the mail and/or stdout.
critical.if.avail.is.less = 10
; Options for automatic notifications via email
[notify]
; The status mail sender address
notify.email.sender = Pingdomfetch <pingdomfetch@mx.buetow.org>
; Warnings and criticals are sent to those email addreses (comma separated)
notify.email.to = pingdomfetch@mx.buetow.org
; Infos (no warnings and no criticals) are sent to those email addreses
; (comma separated)
notify.info.email.to = pingdomfetch@mx.buetow.org
; Needed by a few HTTP/s requests
curl.path = /usr/bin/curl
; Pingdom stuff, used to pull results from Pingdom via JSON API
[pingdom]
; Pingdom API generic configurations
pingdom.api.host = api.pingdom.com
pingdom.api.port = 443
pingdom.api.protocol = https
; Pingdom API username
pingdom.auth.username = mypingdomuser@example.com
; Pingdom API SSL auth realm
pingdom.auth.realm = Pingdom API
; Pingdom API password
pingdom.auth.password = secret
; Leave this unless you know what you are doing
pingdom.api.app.key = 7gh8edm89vtyk8s2nqzfdobrw9n72l3k
pingdom.api.average.action = api/2.0/summary.average
pingdom.api.all.checks.action = api/2.0/checks
pingdom.api.all.report.subscriptions = api/2.0/reports.email
; If the Pingdom API timeouts retry that every 3 seconds...
pingdom.api.failed.retry.after = 3
; ... and try that 10 times
pingdom.api.failed.giveup.after = 10
; Set to 1 if you want to use a proxy to reach the Pingdom API
pingdom.proxy.use = 0
; Proxy server to use to reach the Pingdom API
pingdom.proxy.address = http://useproxy.buetow.invalid
; TLS configurations. It makes sense to create a separate file inside of
; /etc/pingdomfetch.d/TLSNAME.conf for reach top level service to configure.
; The format is like this:
; [tls.PINGDOMFETCHNAME(FreeToChoose)]
; List
; Of
; Pingdom
; Check-Names[=option1:value1[,option2:value2]]
; A few examples:
[tls.buetow]
http://paul.buetow.org = weight:50
https://dev.buetow.org = weight:50
http://lists.buetow.org = weight:2,warning:98
https://info.gmx.net = weight:2,warning:98
http://info.web.de = weight:2,warning:98
https://info.web.de = weight:2,warning:98
[tls.ninja]
http://paul.buetow.ninja
https://paul.buetow.ninja
|