mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
cosmetic
This commit is contained in:
parent
6002cb63eb
commit
efc20c679a
1 changed files with 1 additions and 3 deletions
|
@ -63,15 +63,13 @@ my $arg = shift();
|
||||||
# Check to see how the script was called
|
# Check to see how the script was called
|
||||||
if ($arg eq 'config') {
|
if ($arg eq 'config') {
|
||||||
print_graph_information();
|
print_graph_information();
|
||||||
exit();
|
|
||||||
} elsif ($arg eq 'autoconf') {
|
} elsif ($arg eq 'autoconf') {
|
||||||
if (test_service()) { print "yes\n"; }
|
if (test_service()) { print "yes\n"; }
|
||||||
else { print "no\n"; }
|
else { print "no\n"; }
|
||||||
exit;
|
|
||||||
} else {
|
} else {
|
||||||
print_graph_data();
|
print_graph_data();
|
||||||
exit;
|
|
||||||
}
|
}
|
||||||
|
exit;
|
||||||
|
|
||||||
sub print_graph_data() {
|
sub print_graph_data() {
|
||||||
# Define the values that are returned to munin
|
# Define the values that are returned to munin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue