UPS shutdown with NUT over SNMP – Part 2: TrueNAS SCALE

This is the second half of a two-host setup on one shared UPS (APC Smart-UPS SMT1500RMI2U with an AP9630 network card). Part 1 explains the design and the Proxmox side. In short:

  • Every host polls the UPS card directly over SNMP and shuts itself down. No NUT master that everyone depends on.
  • Proxmox goes down at 50%, TrueNAS at 40%. The VMs that write to the NAS are stopped before the NAS itself shuts down.
  • A read-only SNMP community means no host can cut power to the shared UPS.

Tested on TrueNAS SCALE 24.10 (Electric Eel), NUT 2.8.0. Everything here is done in the web UI, no shell editing needed.

Read more

10GbE Netzwerkkarten

Intel X520

https://de.aliexpress.com/item/4001277833702.html

Read more

NAS – Budget Version

Der Prozessor beim R320 gehört zu den schwächeren. Ein Update ist jedoch jederzeit möglich.

Einbau SSD / ODD Caddy

Read more

Installation von miniDLNA in NAS4free

Diese Erweiterung läuft direkt als “Extensions” rein und nicht als Jail.

miniDLNA Verzeichnis erstellen. Vorzugsweise auf den RAIDZ Disks

Read more

NAS4Free Status mit Zabbix

Es werden Plattenzustand / Temperatur und RAIDZF Pool Status ausgelesen.

Auf der Agentseite wird die Zabbix conf bearbeitet.

und folgende UserParameter eingegeben.

Dies ist nur ein Grundgerüst. Für jede einzelne Platte kann / muß / sollten die Applications angepaßt oder erweitert werden. Ebenfalls zu bedenken, jeder Festplattenhersteller hat eine etwas andere SmartCTL Ausgabe.

So sieht’s dann aus:

Zabbix_SMARTCTL

und der ZPOOL Status

Zabbix_ZPOOL