Révision efc20c67
cosmetic
| plugins/mysql/mysql_connections_per_user | ||
|---|---|---|
| 63 | 63 |
# Check to see how the script was called |
| 64 | 64 |
if ($arg eq 'config') {
|
| 65 | 65 |
print_graph_information(); |
| 66 |
exit(); |
|
| 67 | 66 |
} elsif ($arg eq 'autoconf') {
|
| 68 | 67 |
if (test_service()) { print "yes\n"; }
|
| 69 | 68 |
else { print "no\n"; }
|
| 70 |
exit; |
|
| 71 | 69 |
} else {
|
| 72 | 70 |
print_graph_data(); |
| 73 |
exit; |
|
| 74 | 71 |
} |
| 72 |
exit; |
|
| 75 | 73 |
|
| 76 | 74 |
sub print_graph_data() {
|
| 77 | 75 |
# Define the values that are returned to munin |
Formats disponibles : Unified diff