From 77938826de1706fe1389ba7f67579e8f91b7624d Mon Sep 17 00:00:00 2001 From: Sophie Depassio Date: Thu, 6 Feb 2025 14:01:58 +0100 Subject: [PATCH] fix help --- src/apps/podman/restapi/mode/containerusage.pm | 16 ++++++++-------- src/apps/podman/restapi/mode/podstatus.pm | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/apps/podman/restapi/mode/containerusage.pm b/src/apps/podman/restapi/mode/containerusage.pm index 513f81888b..c51657a8c8 100644 --- a/src/apps/podman/restapi/mode/containerusage.pm +++ b/src/apps/podman/restapi/mode/containerusage.pm @@ -184,19 +184,19 @@ Check container usage. Container name. -=item B--warning-cpu-usage> +=item B<--warning-cpu-usage> Threshold warning for CPU usage. -=item B--critical-cpu-usage> +=item B<--critical-cpu-usage> Threshold critical for CPU usage. -=item B--warning-memory-usage> +=item B<--warning-memory-usage> Threshold warning for memory usage. -=item B--critical-memory-usage> +=item B<--critical-memory-usage> Threshold critical for memory usage. @@ -234,13 +234,13 @@ Threshold critical for network out. =item B<--warning-container-state> -Define the conditions to match for the state to be WARNING (default: '%{state} =~ /Paused/'). -You can use the following variables: %{state} +Define the conditions to match for the state to be WARNING (default: C<'%{state} =~ /Paused/'>). +You can use the following variables: C<%{state}> =item B<--critical-container-state> -Define the conditions to match for the state to be CRITICAL (default: '%{state} =~ /Exited/'). -You can use the following variables: %{state} +Define the conditions to match for the state to be CRITICAL (default: C<'%{state} =~ /Exited/'>). +You can use the following variables: C<%{state}> =back diff --git a/src/apps/podman/restapi/mode/podstatus.pm b/src/apps/podman/restapi/mode/podstatus.pm index bad2d58e99..1dd4939107 100644 --- a/src/apps/podman/restapi/mode/podstatus.pm +++ b/src/apps/podman/restapi/mode/podstatus.pm @@ -211,13 +211,13 @@ Threshold critical for paused containers. =item B<--warning-state> -Define the conditions to match for the state to be WARNING (default: '%{state} =~ /Exited/'). -You can use the following variables: %{state} +Define the conditions to match for the state to be WARNING (default: C<'%{state} =~ /Exited/'>). +You can use the following variables: C<%{state}> =item B<--critical-state> -Define the conditions to match for the state to be CRITICAL (default: '%{state} =~ /Degraded/'). -You can use the following variables: %{state} +Define the conditions to match for the state to be CRITICAL (default: C<'%{state} =~ /Degraded/'>). +You can use the following variables: C<%{state}> =back