From ba2a7a0d903fc2a0eed46f0df79fdb229826d424 Mon Sep 17 00:00:00 2001 From: Per Cederqvist <cederp@opera.com> Date: Thu, 12 Dec 2024 12:00:05 +0100 Subject: [PATCH] Include the warning and critical thresholds in performance data --- check_lysrdiff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_lysrdiff b/check_lysrdiff index 8d6dae8..9b0803a 100755 --- a/check_lysrdiff +++ b/check_lysrdiff @@ -105,7 +105,7 @@ FAILED=`grep -c -- '--fail$' $state` STALE=`wc -l < $state-stale` ACTIVITY=`wc -l < $state-active` -PERF="activity=$ACTIVITY stale=$STALE failed=$FAILED" +PERF="activity=$ACTIVITY stale=$STALE;1;10 failed=$FAILED;1;10" worst=0 state_word=OK -- GitLab