-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.yaml
44 lines (36 loc) · 1.25 KB
/
sample.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
# it is the interval between statistics gathering (default 2 sec)
interval: 2s
# output format:
# csv - stats will be printed as a comma separated values
# csv+ - same as csv, plus will be printed change of the value (default)
# csv++ - stats will be printed only if there are changes more than change-factor
out-format: csv+
# the value delimiter in output
fields-separator: |
# the memory values will be printed in human-readable format
human-readable: true
# adjust the width of columns or not
adjust-width: true
# array of fields to print
# in the case of an empty array will be printed default fields list.
fields-out:
#- used_memory
#- used_memory_rss
#- blocked_clients
# this value is in percent, empty for print any changes
change-factor:
# it is the path to the directory containing the RSA-keys (default is ~/.ssh)
ssh-key-dir: ~/.ssh
hosts:
vds:
user: user1
addr: 192.168.1.13:22
# it can be absolute path or just filename in ssh-key-dir directory
keypath: id_rsa_1
cmd: redis-cli INFO # default
vbox:
user: user2
addr: 192.168.1.14:22
# it can be absolute path or just filename in ssh-key-dir directory
keypath: id_rsa_2
cmd: redis-cli -s /var/lib/backend/sockets/redis/backend-redis.socket INFO