-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.example.yaml
49 lines (48 loc) · 1.04 KB
/
config.example.yaml
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
# Ansible inspired Config
hosts:
connection:
# password logging ssh driver
type: ssh
username: root
password: somethingSecret
children:
x.example.net:
y.example.net:
z.example.net:
"192.0.1.5":
alias: home-server
connection:
type: ssh
username: root
password: somethingSecret
port: 2222
metrics:
process:
"192.0.1.4":
# local driver
connection:
type: local
eu-west1:
# key file logging ssh driver
connection:
type: ssh
private_key_path: /path/to/private/key
port: 2222
children:
"192.0.10.3":
"192.0.10.5":
eu-west2:
# passworded key file logging ssh driver
connection:
type: ssh
private_key_path: /path/to/private/key
private_key_passphrase: "hexadecimal"
port: 3333
metrics:
memory:
tcp:
# custom command to show uptime
custom-uptime: "cat /proc/uptime"
custom-dir: 'dir C:\'
custom-echo: 'echo $HOME'
poll-interval: 10