-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgesundheit.playbook.yml
49 lines (49 loc) · 1.39 KB
/
gesundheit.playbook.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
---
- name: Setup gesundheit
hosts: all
tags:
- setup
- gesundheit
- monitoring
become: true
roles:
- role: gesundheit
gesundheit_http_enabled: true
gesundheit_http_listen_ip: 127.0.0.1
gesundheit_http_listen_port: 9876
gesundheit_modules:
- filename: gotify
config:
Handler:
Module: "gotify"
Config:
Url: "{{ vault_gesundheit_gotify.url }}"
Token: "{{ vault_gesundheit_gotify.token }}"
Filter:
- Module: "result-change"
- filename: check-disk-space-root
config:
Check:
Module: "disk-space"
Description: "Check free space on root partition"
Interval: "30m"
Config:
MountPoint: "/"
MinAvailable: "1G"
- filename: check-memory
config:
Check:
Module: "memory"
Description: "Check available memory"
Interval: "5m"
Config:
MinAvailable: "500M"
- filename: check-reboot-required
config:
Check:
Module: "file-presence"
Description: "Check if reboot is required"
Interval: "1h"
Config:
Path: "/run/reboot-required"
Present: false