I have 2 Dell Hyper-V hosts, one being replication destination / standby in case of failure. These servers are connected to an out-of-band network via iDrac. They are powered via 2 UPSes both connected to a seperate outlet.
Now, when the power fails on both outlets, the UPSes send an SMTP trap to my out-of-band server. I want it to then immideately shutdown the standby Hyper-V host, to preserve power. But ONLY if it is not running Hyper-V guests. To not just wire my production and out-of-band network together, i've found a way to 'signal' my iDrac that there are no Hyper-V guests running. Namely through the onboard NIC's. A Powershell script does a check every 5 minutes, no guests running = NIC port 4 disabled.
Unfortunately, info about the onboard NIC is not represented in SNMP. I can however read this via RACADM cli tool. Is there any way to have Zabbix use this tool?
Now, when the power fails on both outlets, the UPSes send an SMTP trap to my out-of-band server. I want it to then immideately shutdown the standby Hyper-V host, to preserve power. But ONLY if it is not running Hyper-V guests. To not just wire my production and out-of-band network together, i've found a way to 'signal' my iDrac that there are no Hyper-V guests running. Namely through the onboard NIC's. A Powershell script does a check every 5 minutes, no guests running = NIC port 4 disabled.
Unfortunately, info about the onboard NIC is not represented in SNMP. I can however read this via RACADM cli tool. Is there any way to have Zabbix use this tool?