From aae1e8397e06332c8f3358474e1de11ab49005fe Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 15 Feb 2025 09:19:24 +0100 Subject: [PATCH] proxmox-backupstorage: new server, new checks --- nodes/htz-hel/proxmox-backupstorage.toml | 28 ------------------- nodes/proxmox-backupstorage.toml | 34 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 28 deletions(-) delete mode 100644 nodes/htz-hel/proxmox-backupstorage.toml create mode 100644 nodes/proxmox-backupstorage.toml diff --git a/nodes/htz-hel/proxmox-backupstorage.toml b/nodes/htz-hel/proxmox-backupstorage.toml deleted file mode 100644 index 0c6d7ac..0000000 --- a/nodes/htz-hel/proxmox-backupstorage.toml +++ /dev/null @@ -1,28 +0,0 @@ -hostname = "2a01:4f9:6b:2d99::c0ff:ee" -#dummy = true -bundles = ["sshmon", "smartd"] - -# How to install: -# - Get server at Hetzner (no IPv4) -# - Install latest proxmox compatible debian -# - RAID5 -# - 50G for system -# - leave rest unpartitioned -# - install zfs -# - create additional partitions for remaining disk space -# - create raidz on those partitions -# - enable ipv6 forwarding -# - install proxmox via apt - -# VM config: -# - IPv6 only -# - IP from the /64 hetzner gives us -# - Gateway is the host itself, to work around the MAC filter hetzner uses - -[metadata.smartd] -disks = [ - "/dev/sda", - "/dev/sdb", - "/dev/sdc", - "/dev/sdd", -] diff --git a/nodes/proxmox-backupstorage.toml b/nodes/proxmox-backupstorage.toml new file mode 100644 index 0000000..7d58297 --- /dev/null +++ b/nodes/proxmox-backupstorage.toml @@ -0,0 +1,34 @@ +hostname = "192.168.100.31" +dummy = true + +[metadata.icinga2_api.smartd.services."SMART STATUS CT480BX500SSD1_2314E6C5C695"] +check_command = "sshmon" +"vars.sshmon_command" = "CT480BX500SSD1_2314E6C5C695" + +[metadata.icinga2_api.smartd.services."SMART STATUS CT480BX500SSD1_2314E6C5C6C8"] +check_command = "sshmon" +"vars.sshmon_command" = "CT480BX500SSD1_2314E6C5C6C8" + +[metadata.icinga2_api.smartd.services."SMART STATUS ST18000NM0092-3CX103_ZVV0686W"] +check_command = "sshmon" +"vars.sshmon_command" = "ST18000NM0092-3CX103_ZVV0686W" + +[metadata.icinga2_api.smartd.services."SMART STATUS ST18000NM0092-3CX103_ZVV06JV7"] +check_command = "sshmon" +"vars.sshmon_command" = "ST18000NM0092-3CX103_ZVV06JV7" + +[metadata.icinga2_api.smartd.services."SMART STATUS ST18000NM0092-3CX103_ZVV06SLR"] +check_command = "sshmon" +"vars.sshmon_command" = "ST18000NM0092-3CX103_ZVV06SLR" + +[metadata.icinga2_api.smartd.services."SMART STATUS ST8000NM0045-1RL112_ZA1EYQWR"] +check_command = "sshmon" +"vars.sshmon_command" = "ST8000NM0045-1RL112_ZA1EYQWR" + +[metadata.icinga2_api.smartd.services."SMART STATUS ST8000NM0045-1RL112_ZA1EYZQF"] +check_command = "sshmon" +"vars.sshmon_command" = "ST8000NM0045-1RL112_ZA1EYZQF" + +[metadata.icinga2_api.smartd.services."SMART STATUS ST8000NM0045-1RL112_ZA1EZ0X5"] +check_command = "sshmon" +"vars.sshmon_command" = "ST8000NM0045-1RL112_ZA1EZ0X5"