-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathgroups.example.yml
103 lines (97 loc) · 2.56 KB
/
groups.example.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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
groups:
# This is nothing special, just a group called "defaults".
defaults:
connectors:
ssh: {}
monitors:
tcp-connect:
is_critical: true
# Monitors and commands for Linux hosts. You usually want at least this for your hosts.
linux:
monitors:
os: {}
kernel: {}
uptime: {}
load: {}
ram: {}
filesystem: {}
interface:
settings:
ignored_interfaces: "br-,docker,lo,veth"
network-dns: {}
network-routes: {}
package: {}
who: {}
storage-lvm-logical-volume: {}
storage-lvm-volume-group: {}
storage-lvm-physical-volume: {}
storage-cryptsetup: {}
commands:
logs: {}
linux-shell: {}
shutdown: {}
reboot: {}
linux-packages-clean: {}
linux-packages-update: {}
linux-packages-update-all: {}
linux-packages-refresh: {}
linux-packages-logs: {}
storage-file-space-usage: {}
storage-lvm-snapshot: {}
storage-lvm-lvresize: {}
storage-lvm-lvremove: {}
storage-lvm-lvrefresh: {}
network-socket-listen: {}
network-socket-tcp: {}
custom_commands:
- name: "example-command"
description: ""
command: "ls -l ~"
nixos:
monitors:
nixos-rebuild-generations: {}
commands:
nixos-channel-update: {}
nixos-rebuild-dryrun: {}
nixos-rebuild-switch: {}
nixos-rebuild-boot: {}
nixos-rebuild-rollback: {}
nixos-collectgarbage: {}
# Monitors and commands for Docker.
docker:
monitors:
docker-containers: {}
docker-images: {}
docker-image-updates: {}
commands:
docker-image-prune: {}
docker-restart: {}
docker-inspect: {}
docker-shell: {}
docker-image-remove: {}
docker-image-remote-tags: {}
# Monitors and commands for Docker-compose.
docker-compose:
monitors:
docker-compose: {}
commands:
docker-compose-edit: {}
docker-compose-pull: {}
docker-compose-up: {}
docker-compose-start: {}
docker-compose-stop: {}
docker-compose-shell: {}
docker-compose-logs: {}
docker-compose-build: {}
# Monitors and commands for SystemD services.
systemd-service:
monitors:
systemd-service:
settings:
included_services: "cron.,collectd.,dbus.,ntp.,chrony.,systemd-journald.,docker.,ufw.,rsyslog.,nullmailer.,ssh."
commands:
systemd-service-start: {}
systemd-service-stop: {}
systemd-service-mask: {}
systemd-service-unmask: {}
systemd-service-logs: {}