mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -58,8 +58,8 @@ instance = 'AdventureWorks'
|
|||
#
|
||||
dbh = DBI.connect("DBI:ODBC:#{dsn}",sqluser,sqlpass)
|
||||
|
||||
instance_name_query = "SELECT distinct instance_name
|
||||
FROM sys.dm_os_performance_counters
|
||||
instance_name_query = "SELECT distinct instance_name
|
||||
FROM sys.dm_os_performance_counters
|
||||
WHERE instance_name = '#{instance}'
|
||||
and object_name = 'SQLServer:Databases'
|
||||
order by instance_name"
|
||||
|
@ -91,7 +91,7 @@ if ARGV[0] == "autoconf"
|
|||
# config definition
|
||||
#
|
||||
elsif ARGV[0] == "config"
|
||||
puts "graph_args --base 1000 -r --lower-limit 0"
|
||||
puts "graph_args --base 1000 -r --lower-limit 0"
|
||||
puts "graph_title MSSQL Transactions/s"
|
||||
puts "graph_category db"
|
||||
puts "graph_info This graph shows transactions/s"
|
||||
|
|
|
@ -81,7 +81,7 @@ if ARGV[0] == "autoconf"
|
|||
# config definition
|
||||
#
|
||||
elsif ARGV[0] == "config"
|
||||
puts "graph_args --base 1000 -r --lower-limit 0"
|
||||
puts "graph_args --base 1000 -r --lower-limit 0"
|
||||
puts "graph_title MSSQL Buffer Cache Hit Ratio "
|
||||
puts "graph_category db"
|
||||
puts "graph_info This graph shows Buffer Cache Hit Ratio"
|
||||
|
|
|
@ -58,7 +58,7 @@ instance = 'AdventureWorks'
|
|||
#
|
||||
dbh = DBI.connect("DBI:ODBC:#{dsn}",sqluser,sqlpass)
|
||||
|
||||
instance_name_query = "SELECT distinct instance_name
|
||||
instance_name_query = "SELECT distinct instance_name
|
||||
FROM sys.dm_os_performance_counters
|
||||
WHERE instance_name = '#{instance}'"
|
||||
|
||||
|
@ -89,7 +89,7 @@ if ARGV[0] == "autoconf"
|
|||
# config definition
|
||||
#
|
||||
elsif ARGV[0] == "config"
|
||||
puts "graph_args --base 1024k -r --lower-limit 0"
|
||||
puts "graph_args --base 1024k -r --lower-limit 0"
|
||||
puts "graph_title MSSQL DB File Sizes"
|
||||
puts "graph_category db"
|
||||
puts "graph_info This graph shows DB File Sizes (MB)"
|
||||
|
|
|
@ -58,7 +58,7 @@ instance = 'AdventureWorks'
|
|||
#
|
||||
dbh = DBI.connect("DBI:ODBC:#{dsn}",sqluser,sqlpass)
|
||||
|
||||
instance_name_query = "SELECT distinct instance_name
|
||||
instance_name_query = "SELECT distinct instance_name
|
||||
FROM sys.dm_os_performance_counters
|
||||
WHERE instance_name = '#{instance}'"
|
||||
|
||||
|
@ -89,7 +89,7 @@ if ARGV[0] == "autoconf"
|
|||
# config definition
|
||||
#
|
||||
elsif ARGV[0] == "config"
|
||||
puts "graph_args --base 1024k -r --lower-limit 0"
|
||||
puts "graph_args --base 1024k -r --lower-limit 0"
|
||||
puts "graph_title MSSQL DB Log File Sizes"
|
||||
puts "graph_category db"
|
||||
puts "graph_info This graph shows DB Log File Sizes (MB)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue