Adding ucode & UPS definitions to IAC
Este commit está contenido en:
6
roles/Sharingan/files/monit/scripts/check-cyberpower
Archivo ejecutable
6
roles/Sharingan/files/monit/scripts/check-cyberpower
Archivo ejecutable
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ `pwrstat -status | sed 's/^\s\+//' | grep -E ^State | awk '{ print $2; }'` != 'Normal' ]; then
|
||||
exit 2;
|
||||
fi
|
||||
exit 0
|
||||
Referencia en una nueva incidencia
Block a user