1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 10:23:46 +01:00
nagios-plugins/check_dataprotector/trunk/check_dp_services
Páll Guðjón Sigurðsson 7e0aef04d5 check_dataprotector added
2010-03-01 22:09:31 +00:00

13 lines
242 B
Bash
Executable File

#!/bin/sh
/opt/omni/sbin/omnisv -status | grep "Status: All Data Protector relevant processes/services up and running."
RESULT=$?
if [ $RESULT -gt 0 ]; then
echo "Critical, some Data Protector services are in stopped state"
exit 1
fi