Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/mssql/microsoft-sql | ||
|---|---|---|
| 58 | 58 |
# |
| 59 | 59 |
dbh = DBI.connect("DBI:ODBC:#{dsn}",sqluser,sqlpass)
|
| 60 | 60 |
|
| 61 |
instance_name_query = "SELECT distinct instance_name
|
|
| 62 |
FROM sys.dm_os_performance_counters
|
|
| 61 |
instance_name_query = "SELECT distinct instance_name |
|
| 62 |
FROM sys.dm_os_performance_counters |
|
| 63 | 63 |
WHERE instance_name = '#{instance}'
|
| 64 | 64 |
and object_name = 'SQLServer:Databases' |
| 65 | 65 |
order by instance_name" |
| ... | ... | |
| 91 | 91 |
# config definition |
| 92 | 92 |
# |
| 93 | 93 |
elsif ARGV[0] == "config" |
| 94 |
puts "graph_args --base 1000 -r --lower-limit 0"
|
|
| 94 |
puts "graph_args --base 1000 -r --lower-limit 0" |
|
| 95 | 95 |
puts "graph_title MSSQL Transactions/s" |
| 96 | 96 |
puts "graph_category db" |
| 97 | 97 |
puts "graph_info This graph shows transactions/s" |
Formats disponibles : Unified diff