aboutsummaryrefslogtreecommitdiff
path: root/modules/private/monitoring/plugins/check_openldap_replication
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private/monitoring/plugins/check_openldap_replication')
-rwxr-xr-xmodules/private/monitoring/plugins/check_openldap_replication6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/private/monitoring/plugins/check_openldap_replication b/modules/private/monitoring/plugins/check_openldap_replication
index b511ff2..7136ad5 100755
--- a/modules/private/monitoring/plugins/check_openldap_replication
+++ b/modules/private/monitoring/plugins/check_openldap_replication
@@ -42,13 +42,13 @@ else
42 LC_ALL=C lag=$(printf "%.*f" 0 $lag) 42 LC_ALL=C lag=$(printf "%.*f" 0 $lag)
43 43
44 if [[ $offset -lt 5 ]]; then 44 if [[ $offset -lt 5 ]]; then
45 echo "OK - $output" 45 echo "OK - $output | time=${offset}s;5;10;;"
46 exit $STATE_OK 46 exit $STATE_OK
47 elif [[ $offset -lt 10 ]]; then 47 elif [[ $offset -lt 10 ]]; then
48 echo "WARNING - $output" 48 echo "WARNING - $output | time=${offset}s;5;10;;"
49 exit $STATE_WARNING 49 exit $STATE_WARNING
50 else 50 else
51 echo "CRITICAL - $output" 51 echo "CRITICAL - $output | time=${offset}s;5;10;;"
52 exit $STATE_CRITICAL 52 exit $STATE_CRITICAL
53 fi 53 fi
54fi 54fi