From 3d4623c1bc42e948b0e2de709afddba323c17a5f Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 19 Apr 2010 13:05:15 +0200 Subject: [PATCH] contrib/exec-nagios.px: Whitespace and POD fixes. --- contrib/exec-nagios.px | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/contrib/exec-nagios.px b/contrib/exec-nagios.px index a9f46633..938721fc 100755 --- a/contrib/exec-nagios.px +++ b/contrib/exec-nagios.px @@ -88,6 +88,8 @@ with the C). =back +=back + =cut sub handle_config_addtype @@ -293,7 +295,7 @@ sub execute_script if ($perfdata) { - push (@serviceperfdata, split (' ', $perfdata)); + push (@serviceperfdata, split (' ', $perfdata)); } $state = 1; @@ -308,8 +310,8 @@ sub execute_script if ($perfdata) { - push (@serviceperfdata, split (' ', $perfdata)); - $state = 2; + push (@serviceperfdata, split (' ', $perfdata)); + $state = 2; } } else # ($state == 2) @@ -347,7 +349,7 @@ sub execute_script for (@serviceperfdata) { handle_performance_data ($host, 'nagios', $pinst, $script->{'type'}, - $time, $_); + $time, $_); } } } # execute_script -- 2.30.2