BugFix - check_reversetunnel
This commit is contained in:
parent
ceb8d36ee2
commit
230dd25be6
@ -12,7 +12,7 @@ if [ -z $AUTOSSH_PIDs ]; then
|
|||||||
exit $NAGIOS_ERROR
|
exit $NAGIOS_ERROR
|
||||||
else
|
else
|
||||||
# there is an autossh process
|
# there is an autossh process
|
||||||
ps x -q $AUTOSSH_PIDs | grep $MULTIMEDIA_TUNNEL_REGEX 2>&1 > /dev/null
|
ps x -q $AUTOSSH_PIDs | grep "$MULTIMEDIA_TUNNEL_REGEX" 2>&1 > /dev/null
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "OK - The required autossh process is running"
|
echo "OK - The required autossh process is running"
|
||||||
exit $NAGIOS_OK
|
exit $NAGIOS_OK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user