-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdunnart.yaml
88 lines (75 loc) · 1.58 KB
/
dunnart.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
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
# SPDX-FileCopyrightText: 2022 Kent Gibson <warthog618@gmail.com>
#
# SPDX-License-Identifier: CC0-1.0
# Commented out fields correspond to default values.
## Doubly commented out fields correspond to additional available values.
# Common daemon config
#homeassistant:
# birth_message_topic: homeassistant/status
# discovery:
# prefix: homeassistant
# status_delay: 15s
# node_id: <hostname>
## mac: <unique device id>
# mac_source: [eth0, enp3s0, wlan0]
mqtt:
broker: "tcp://<mqtt server>:1883"
username: <username>
password: <password>
# base_topic: dunnart/<hostname>
# Module config
modules: [cpu, fs, mem, net]
cmd:
# period: 1h
binary_sensors: [apt_status]
apt_status:
## name: "apt status"
cmd: /opt/dunnart/apt_status.sh
## device_class: update
## period: 6h
#cpu:
# entities:
# - used_percent
# - temperature
## - uptime
# period: 1m
# temperature.path: /sys/class/thermal/thermal_zone0/temp
fs:
mountpoints: [root, home]
# period: 10m
root.path: "/"
home:
path: "/home"
#mem:
# entities: [ram_used_percent, swap_used_percent]
# period: 1m
net:
interfaces: [enp3s0]
# period: 1m
# entities:
# - carrier
# - operstate
# - rx_bytes
## - rx_packets
## - rx_packet_rate
# - rx_throughput
# - tx_bytes
## - tx_packets
## - tx_packet_rate
# - tx_throughput
#sys_info:
# period: 6h
# entities:
## - apt_status
## - apt_upgraddable
## - kernel_name
# - kernel_release
## - kernel_version
## - machine
## - os_name
# - os_release
## - os_version
#wan:
# entities: [link, ip]
# link.period: 1m
# ip.period: 10m