mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2026-02-06 07:05:17 +01:00
check_dataprotector added
This commit is contained in:
12
check_dataprotector/trunk/check_dp_services
Executable file
12
check_dataprotector/trunk/check_dp_services
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user