contrib/exec-nagios.px: Whitespace and POD fixes.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 19 Apr 2010 11:05:15 +0000 (13:05 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 19 Apr 2010 11:05:15 +0000 (13:05 +0200)
contrib/exec-nagios.px

index a9f4663..938721f 100755 (executable)
@@ -88,6 +88,8 @@ with the C<exec-plugin>).
 
 =back
 
 
 =back
 
+=back
+
 =cut
 
 sub handle_config_addtype
 =cut
 
 sub handle_config_addtype
@@ -293,7 +295,7 @@ sub execute_script
       
       if ($perfdata)
       {
       
       if ($perfdata)
       {
-       push (@serviceperfdata, split (' ', $perfdata));
+        push (@serviceperfdata, split (' ', $perfdata));
       }
 
       $state = 1;
       }
 
       $state = 1;
@@ -308,8 +310,8 @@ sub execute_script
 
       if ($perfdata)
       {
 
       if ($perfdata)
       {
-       push (@serviceperfdata, split (' ', $perfdata));
-       $state = 2;
+        push (@serviceperfdata, split (' ', $perfdata));
+        $state = 2;
       }
     }
     else # ($state == 2)
       }
     }
     else # ($state == 2)
@@ -347,7 +349,7 @@ sub execute_script
     for (@serviceperfdata)
     {
       handle_performance_data ($host, 'nagios', $pinst, $script->{'type'},
     for (@serviceperfdata)
     {
       handle_performance_data ($host, 'nagios', $pinst, $script->{'type'},
-       $time, $_);
+        $time, $_);
     }
   }
 } # execute_script
     }
   }
 } # execute_script