From 5def6f31c802bc8a93ce6f20f6efc1a8327903ba Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Fri, 1 Mar 2019 13:53:04 +0100 Subject: [PATCH] fix rudder statistics help --- apps/rudder/restapi/mode/statistics.pm | 27 +++++++++----------------- 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/apps/rudder/restapi/mode/statistics.pm b/apps/rudder/restapi/mode/statistics.pm index 6e40b0927..fd278aab9 100644 --- a/apps/rudder/restapi/mode/statistics.pm +++ b/apps/rudder/restapi/mode/statistics.pm @@ -132,30 +132,21 @@ __END__ =head1 MODE -Check statistics. +Check statistics (objects count). =over 8 -=item B<--warning-global-compliance> +=item B<--warning-*> -Set warning threshold on global compliance. +Threshold warning. +Can be: 'nodes', 'pending-nodes', 'rules', +'directives', 'groups', 'techniques'. -=item B<--critical-global-compliance> +=item B<--critical-*> -Set critical threshold on global compliance. - -=item B<--warning-status> - -Set warning threshold for status (Default: ''). -Can used special variables like: %{detail}, %{value} - -=item B<--critical-status> - -Set critical threshold for status (Default: ''). -Can used special variables like: %{detail}, %{value} - -Example : - --critical-status='%{detail} eq "error" && %{value} > 5' +Threshold critical. +Can be: 'nodes', 'pending-nodes', 'rules', +'directives', 'groups', 'techniques'. =back