Closed TimStallard closed 6 months ago
now deployed on both VMS hosts
this uses the following sudo config, which is manually deployed on both for now
root@vms-b53-1:~# cat /etc/sudoers.d/check_psu
Defaults:nagios !requiretty
nagios ALL=(root) NOPASSWD: /usr/bin/ipmitool -c sdr type Power\ Supply
nagios ALL=(root) NOPASSWD: /usr/bin/ipmitool -c sdr type Current
nagios ALL=(root) NOPASSWD: /usr/bin/ipmitool -c sdr type Voltage
I didn't bother ansible-ising the sudo config back when I first did this as we only had one dual PSU machine, but I think it's worthwhile doing now we have more
Perhaps install on all physical machines excluding backup servers? We should install ipmitool as well as it requires that.
Would be nice if icinga could spot if a PSU is disconnected or fails for dual PSU servers
Currently just VMS I think?