Adding missing __END__ et formatting
This commit is contained in:
parent
34e718399b
commit
afb7410ad8
|
@ -139,9 +139,9 @@
|
||||||
|
|
||||||
$self->{services}->{$tag} = { filter => ((defined($ipv) && $ipv ne '') ? $ipv : '.*?') . '#' .
|
$self->{services}->{$tag} = { filter => ((defined($ipv) && $ipv ne '') ? $ipv : '.*?') . '#' .
|
||||||
((defined($filter_ip) && $filter_ip ne '') ? $filter_ip : '.*?') . '#' .
|
((defined($filter_ip) && $filter_ip ne '') ? $filter_ip : '.*?') . '#' .
|
||||||
((defined($port) && $port ne '') ? $port : '.*?')
|
((defined($port) && $port ne '') ? $port : '.*?'),
|
||||||
,
|
builtin => 0,
|
||||||
builtin => 0, number => 0 };
|
number => 0 };
|
||||||
if (($self->{perfdata}->threshold_validate(label => 'warning-service-' . $tag, value => $warn)) == 0) {
|
if (($self->{perfdata}->threshold_validate(label => 'warning-service-' . $tag, value => $warn)) == 0) {
|
||||||
$self->{output}->add_option_msg(short_msg => "Wrong warning threshold '" . $warn . "' for service '$tag'.");
|
$self->{output}->add_option_msg(short_msg => "Wrong warning threshold '" . $warn . "' for service '$tag'.");
|
||||||
$self->{output}->option_exit();
|
$self->{output}->option_exit();
|
||||||
|
@ -275,6 +275,7 @@
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
||||||
|
__END__
|
||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
|
@ -328,6 +329,7 @@
|
||||||
=over 16
|
=over 16
|
||||||
|
|
||||||
=item <tag>
|
=item <tag>
|
||||||
|
|
||||||
Name to identify application (must be unique).
|
Name to identify application (must be unique).
|
||||||
|
|
||||||
=item <services>
|
=item <services>
|
||||||
|
|
Loading…
Reference in New Issue