convert a bunch of dummy nodes to toml

This commit is contained in:
Franzi 2022-12-22 17:25:51 +01:00
parent e67033db8c
commit 0c402791a9
Signed by: kunsi
GPG key ID: 12E3D2136B818350
24 changed files with 126 additions and 278 deletions

4
nodes/home.bubble01.toml Normal file
View file

@ -0,0 +1,4 @@
dummy = true
[metadata.interfaces.default]
ips = ["172.19.138.41"]

View file

@ -0,0 +1,6 @@
dummy = true
[metadata.interfaces.default]
ips = ["172.19.138.61"]
dhcp = true
mac = "00:14:38:9E:29:E3"

9
nodes/home.ejgwdesk.toml Normal file
View file

@ -0,0 +1,9 @@
dummy = true
[metadata.interfaces.default]
ips = ["172.19.138.99"]
dhcp = true
mac = "54:04:A6:EF:A8:01"
[metadata.icinga_options]
exclude_from_monitoring = true

View file

@ -0,0 +1,26 @@
hostname = "172.19.138.24"
bundles = ["kodi", "lm-sensors", "nfs-client", "smartd"]
groups = ["debian-bullseye"]
[metadata.apt.packages.intel-media-va-driver-non-free]
[metadata.apt.unattended-upgrades]
day = 6
hour = 2
[metadata.interfaces.eno1]
ips = ["172.19.138.24/24"]
gateway4 = "172.19.138.1"
ipv6_accept_ra = true
[metadata.nfs-client.mounts.nas-storage]
mountpoint = "/mnt/nas"
serverpath = "172.19.138.20:/storage/nas"
mount_options = ["retry=0", "ro"]
[metadata.smartd]
disks = ["/dev/nvme0"]
[metadata.vm]
cpu = 2
ram = 4

21
nodes/home.openhab.toml Normal file
View file

@ -0,0 +1,21 @@
hostname = "172.19.138.21"
bundles = ["nginx", "openhab"]
groups = ["debian-bullseye"]
[metadata.interfaces.enp1s0]
ips = ["172.19.138.21/24"]
gateway4 = "172.19.138.1"
ipv6_accept_ra = true
[metadata.nginx.vhosts.openhab]
ssl = "_.home.kunbox.net"
[metadata.openhab]
domain = "openhab.home.kunbox.net"
[metadata.openhab.java_opts]
"user.timezone" = "Europe/Berlin"
[metadata.vm]
cpu = 2
ram = 2

View file

@ -0,0 +1,6 @@
dummy = true
[metadata.interfaces.default]
ips = ["172.19.138.40"]
dhcp = true
mac = "00:04:13:26:EE:1B"

4
nodes/home.sw01.toml Normal file
View file

@ -0,0 +1,4 @@
dummy = true
[metadata.interfaces.default]
ips = ["172.19.138.2"]

8
nodes/home.usv01.toml Normal file
View file

@ -0,0 +1,8 @@
dummy = true
[metadata.interfaces.default]
ips = ["172.19.138.3"]
[metadata.icinga2_api.usv.services."USV STATUS"]
check_command = "check_usv"
"vars.notification.mail" = true

View file

@ -0,0 +1,11 @@
dummy = true
[metadata.interfaces.default]
ips = ["172.19.138.11"]
dhcp = true
mac = "f4:06:8d:df:05:60"
[metadata.icinga2_api.freifunk.services."NODE HEALTH"]
check_command = "check_freifunk_node"
"vars.url" = "https://map.freifunk-mwu.de/data/meshviewer.json"
"vars.id" = "f4068ddf055f"

View file

@ -0,0 +1,11 @@
dummy = true
[metadata.interfaces.default]
ips = ["172.19.138.12"]
dhcp = true
mac = "f4:06:8d:df:03:38"
[metadata.icinga2_api.freifunk.services."NODE HEALTH"]
check_command = "check_freifunk_node"
"vars.url" = "https://map.freifunk-mwu.de/data/meshviewer.json"
"vars.id" = "f4068ddf0337"

View file

@ -0,0 +1,11 @@
dummy = true
[metadata.interfaces.default]
ips = ["172.19.138.10"]
dhcp = true
mac = "52:54:00:b0:4e:4d"
[metadata.icinga2_api.freifunk.services."NODE HEALTH"]
check_command = "check_freifunk_node"
"vars.url" = "https://map.freifunk-mwu.de/data/meshviewer.json"
"vars.id" = "525400b04e4d"

View file

@ -0,0 +1,9 @@
dummy = true
[metadata.interfaces.default]
ips = ["172.19.138.70"]
dhcp = true
mac = "3c:61:05:d0:ba:1a"
[metadata.icinga_options]
exclude_from_monitoring = true

View file

@ -1,13 +0,0 @@
# Mitel RFP35
nodes['home.bubble01'] = {
'dummy': True,
'metadata': {
'interfaces': {
'default': {
'ips': {
'172.19.138.41',
},
},
},
},
}

View file

@ -1,14 +0,0 @@
nodes['home.drucker-sophie'] = {
'dummy': True,
'metadata': {
'interfaces': {
'default': {
'ips': {
'172.19.138.61',
},
'dhcp': True,
'mac': '00:14:38:9E:29:E3',
},
},
},
}

View file

@ -1,17 +0,0 @@
nodes['home.ejgwdesk'] = {
'dummy': True,
'metadata': {
'interfaces': {
'default': {
'ips': {
'172.19.138.99',
},
'dhcp': True,
'mac': '54:04:A6:EF:A8:01',
},
},
'icinga_options': {
'exclude_from_monitoring': True,
},
},
}

View file

@ -1,53 +0,0 @@
nodes['home.kodi-wohnzimmer'] = {
'hostname': '172.19.138.24',
'bundles': {
'lm-sensors',
'kodi',
'nfs-client',
'smartd',
},
'groups': {
'debian-bullseye',
},
'metadata': {
'apt': {
'packages': {
'intel-media-va-driver-non-free': {},
},
'unattended-upgrades': {
'day': 6,
'hour': 2,
},
},
'interfaces': {
'eno1': {
'ips': {
'172.19.138.24/24',
},
'gateway4': '172.19.138.1',
'ipv6_accept_ra': True,
},
},
'nfs-client': {
'mounts': {
'nas-storage': {
'mountpoint': '/mnt/nas',
'serverpath': '172.19.138.20:/storage/nas',
'mount_options': {
'retry=0',
'ro',
},
},
},
},
'smartd': {
'disks': {
'/dev/nvme0',
},
},
'vm': {
'cpu': 2,
'ram': 4,
},
},
}

View file

@ -1,36 +0,0 @@
nodes['home.openhab'] = {
'hostname': '172.19.138.21',
'bundles': {
'nginx',
'openhab',
},
'groups': {
'debian-bullseye',
},
'metadata': {
'interfaces': {
'enp1s0': {
'ips': {
'172.19.138.21/24',
},
'gateway4': '172.19.138.1',
'ipv6_accept_ra': True,
},
},
'nginx': {
'vhosts': {
'openhab': {'ssl': '_.home.kunbox.net'},
},
},
'openhab': {
'domain': 'openhab.home.kunbox.net',
'java_opts': {
'user.timezone': 'Europe/Berlin',
},
},
'vm': {
'cpu': 2,
'ram': 2,
},
},
}

View file

@ -1,14 +0,0 @@
nodes['home.snom-wohnzimmer'] = {
'dummy': True,
'metadata': {
'interfaces': {
'default': {
'ips': {
'172.19.138.40',
},
'dhcp': True,
'mac': '00:04:13:26:EE:1B',
},
},
},
}

View file

@ -1,12 +0,0 @@
nodes['home.sw01'] = {
'dummy': True,
'metadata': {
'interfaces': {
'default': {
'ips': {
'172.19.138.2',
},
},
},
},
}

View file

@ -1,27 +0,0 @@
nodes['home.usv01'] = {
'dummy': True,
'metadata': {
'interfaces': {
'default': {
'ips': {
'172.19.138.3',
},
},
},
'icinga2_api': {
'usv': {
'services': {
'USV STATUS': {
'check_command': 'check_usv',
'vars.notification.mail': True,
},
},
},
},
},
}
# Every system which is connected to the USV needs to have Dell Local
# Node Manager installed:
# <https://www.dell.com/support/home/de-de/drivers/driversdetails?driverid=038h3>
# A backup of this file is available in home.nas:/storage/nas

View file

@ -1,25 +0,0 @@
nodes['home.winkeeinhorn-1'] = {
'dummy': True,
'metadata': {
'interfaces': {
'default': {
'ips': {
'172.19.138.11',
},
'dhcp': True,
'mac': 'f4:06:8d:df:05:60',
},
},
'icinga2_api': {
'freifunk': {
'services': {
'NODE HEALTH': {
'check_command': 'check_freifunk_node',
'vars.url': 'https://map.freifunk-mwu.de/data/meshviewer.json',
'vars.id': 'f4068ddf055f',
},
},
},
},
},
}

View file

@ -1,25 +0,0 @@
nodes['home.winkeeinhorn-2'] = {
'dummy': True,
'metadata': {
'interfaces': {
'default': {
'ips': {
'172.19.138.12',
},
'dhcp': True,
'mac': 'f4:06:8d:df:03:38',
},
},
'icinga2_api': {
'freifunk': {
'services': {
'NODE HEALTH': {
'check_command': 'check_freifunk_node',
'vars.url': 'https://map.freifunk-mwu.de/data/meshviewer.json',
'vars.id': 'f4068ddf0337',
},
},
},
},
},
}

View file

@ -1,25 +0,0 @@
nodes['home.winkeeinhorn-vm'] = {
'dummy': True,
'metadata': {
'interfaces': {
'default': {
'ips': {
'172.19.138.10',
},
'dhcp': True,
'mac': '52:54:00:b0:4e:4d',
},
},
'icinga2_api': {
'freifunk': {
'services': {
'NODE HEALTH': {
'check_command': 'check_freifunk_node',
'vars.url': 'https://map.freifunk-mwu.de/data/meshviewer.json',
'vars.id': '525400b04e4d',
},
},
},
},
},
}

View file

@ -1,17 +0,0 @@
nodes['home.wled-wohnzimmer'] = {
'dummy': True,
'metadata': {
'interfaces': {
'default': {
'ips': {
'172.19.138.70',
},
'dhcp': True,
'mac': '3c:61:05:d0:ba:1a',
},
},
'icinga_options': {
'exclude_from_monitoring': True,
},
},
}