From 00e31ab30c1e825cf56491ee8897270efebd3489 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Mon, 10 Mar 2025 17:20:39 +0100 Subject: [PATCH] Update src/apps/exense/step/restapi/mode/plans.pm Co-authored-by: omercier <32134301+omercier@users.noreply.github.com> --- src/apps/exense/step/restapi/mode/plans.pm | 41 ++++++++++++++++++++-- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/src/apps/exense/step/restapi/mode/plans.pm b/src/apps/exense/step/restapi/mode/plans.pm index d6ebb6ba0..cadb4e79b 100644 --- a/src/apps/exense/step/restapi/mode/plans.pm +++ b/src/apps/exense/step/restapi/mode/plans.pm @@ -461,11 +461,46 @@ You can use the following variables: %{status}, %{planName} Set critical threshold for last plan execution status. You can use the following variables: %{status}, %{planName} -=item B<--warning-*> B<--critical-*> +=item B<--warning-plans-detected> Thresholds. -Can be: 'plans-detected', 'plans-executions-detected', 'plan-executions-failed-prct', -'plan-execution-last', 'plan-running-duration'. + +=item B<--critical-plans-detected> + +Thresholds. + +=item B<--warning-plans-executions-detected> + +Thresholds. + +=item B<--critical-plans-executions-detected> + +Thresholds. + +=item B<--warning-plan-executions-failed-prct> + +Thresholds. + +=item B<--critical-plan-executions-failed-prct> + +Thresholds. + +=item B<--warning-plan-execution-last> + +Thresholds. + +=item B<--critical-plan-execution-last> + +Thresholds. + +=item B<--warning-plan-running-duration> + +Thresholds. + +=item B<--critical-plan-running-duration> + +Thresholds. + =back