forked from sciencemesh/blackbox_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blackbox.yml
50 lines (50 loc) · 986 Bytes
/
blackbox.yml
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
modules:
nagios_test:
prober: nagios
nagios:
check: check_test
args:
- --host $target$
- --something=42
treat_warnings_as_failure: true
iop-login:
prober: nagios
nagios:
check: ioplogin
args:
- --target=$target$
- --user=$user$
- --pass=$pass$
- --insecure=$insecure$
http_2xx:
prober: http
http_post_2xx:
prober: http
http:
method: POST
tcp_connect:
prober: tcp
pop3s_banner:
prober: tcp
tcp:
query_response:
- expect: "^+OK"
tls: true
tls_config:
insecure_skip_verify: false
ssh_banner:
prober: tcp
tcp:
query_response:
- expect: "^SSH-2.0-"
irc_banner:
prober: tcp
tcp:
query_response:
- send: "NICK prober"
- send: "USER prober prober prober :prober"
- expect: "PING :([^ ]+)"
send: "PONG ${1}"
- expect: "^:[^ ]+ 001"
icmp:
prober: icmp