mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-05 10:03:45 +01:00
13 lines
242 B
Plaintext
13 lines
242 B
Plaintext
|
#!/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
|
||
|
|
||
|
|