From 3b9e8f1a979a2d619ea8802d6b724f3ff63dbfc6 Mon Sep 17 00:00:00 2001 From: Graham Knop <haarg@haarg.org> Date: Tue, 22 Nov 2011 18:42:17 -0500 Subject: [PATCH] improved docs on SmfDisabled --- lib/Core/SmfDisabled.pm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/Core/SmfDisabled.pm b/lib/Core/SmfDisabled.pm index ef1ea65..acadacf 100644 --- a/lib/Core/SmfDisabled.pm +++ b/lib/Core/SmfDisabled.pm @@ -40,6 +40,10 @@ The check name is descriptive only in this check. It is not used for anything. Provide an alternate path to the svcs command. Optional. +=item pattern + +A perl regular expression of the services to report on. Optional. Defaults to all services. + =back =head1 METRICS @@ -51,11 +55,11 @@ Provide an alternate path to the svcs command. Optional. A count of how many services are in disabled mode. This should normally be zero. -=item services +=item <service name> -A list of the services in disabled mode. If no services are in disabled -mode, then this will be blank. The service names will be separated by -whitespace. +For each service that matches the pattern, the a result will be +added with the service name as a metric. The value will be 1 for +disabled, and 0 otherwise. =back -- GitLab