Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/mysql/mysql_connections_per_user | ||
|---|---|---|
| 16 | 16 |
# along with this program; if not, see http://www.gnu.org/licenses/gpl.txt |
| 17 | 17 |
# |
| 18 | 18 |
# |
| 19 |
# This plugin is based off of the Connection Usage
|
|
| 19 |
# This plugin is based off of the Connection Usage |
|
| 20 | 20 |
# section of the MySQL Connection Health Page |
| 21 |
#
|
|
| 21 |
# |
|
| 22 | 22 |
# http://dev.mysql.com/doc/administrator/en/mysql-administrator-health-connection-health.html |
| 23 | 23 |
# |
| 24 | 24 |
# To enable, link mysql_connections to this file. E.g. |
| ... | ... | |
| 46 | 46 |
# mysqlcli - Override location of mysql |
| 47 | 47 |
# numusers - Override maximum number of users to display |
| 48 | 48 |
# warning - Override default warning limit |
| 49 |
# critical - Override default critical limit
|
|
| 49 |
# critical - Override default critical limit |
|
| 50 | 50 |
# |
| 51 | 51 |
#%# family=auto |
| 52 | 52 |
#%# capabilities=autoconf |
| ... | ... | |
| 65 | 65 |
# Pull in any arguments |
| 66 | 66 |
my $arg = shift(); |
| 67 | 67 |
|
| 68 |
# Check to see how the script was called
|
|
| 68 |
# Check to see how the script was called |
|
| 69 | 69 |
if ($arg eq 'config') {
|
| 70 | 70 |
print_graph_information(); |
| 71 | 71 |
} elsif ($arg eq 'autoconf') {
|
Formats disponibles : Unified diff