summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 852857d)
raw | patch | inline | side by side (parent: 852857d)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 19 Apr 2010 11:05:15 +0000 (13:05 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 19 Apr 2010 11:05:15 +0000 (13:05 +0200) |
contrib/exec-nagios.px | patch | blob | history |
diff --git a/contrib/exec-nagios.px b/contrib/exec-nagios.px
index a9f466338cdabe4c8a692065b03d39c63a7bb9a6..938721fc55624977fa89d5ea3a1d289531573b6d 100755 (executable)
--- a/contrib/exec-nagios.px
+++ b/contrib/exec-nagios.px
=back
+=back
+
=cut
sub handle_config_addtype
if ($perfdata)
{
- push (@serviceperfdata, split (' ', $perfdata));
+ push (@serviceperfdata, split (' ', $perfdata));
}
$state = 1;
if ($perfdata)
{
- push (@serviceperfdata, split (' ', $perfdata));
- $state = 2;
+ push (@serviceperfdata, split (' ', $perfdata));
+ $state = 2;
}
}
else # ($state == 2)
for (@serviceperfdata)
{
handle_performance_data ($host, 'nagios', $pinst, $script->{'type'},
- $time, $_);
+ $time, $_);
}
}
} # execute_script