mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 10:39:53 +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
|
@ -7,18 +7,18 @@
|
|||
# Version: 1.0
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2
|
||||
# it under the terms of the GNU General Public License version 2
|
||||
# as published by the Free Software Foundation.
|
||||
#
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
#
|
||||
#
|
||||
# Prerequistes:
|
||||
# 1) env.ORACLE_HOME set in munin-node
|
||||
|
@ -43,7 +43,7 @@
|
|||
# dbport : port used by the monitored instance (notice: numeric value)
|
||||
# dbname : database to be monitored
|
||||
# dbhost : host or ip address of db instance
|
||||
#
|
||||
#
|
||||
#
|
||||
#%# family=auto
|
||||
#%# capabilities=autoconf
|
||||
|
@ -71,7 +71,7 @@ end
|
|||
#
|
||||
# Queries
|
||||
#
|
||||
shared_pool_query = "SELECT TO_CHAR(ROUND(SUM(decode(pool, 'shared pool',
|
||||
shared_pool_query = "SELECT TO_CHAR(ROUND(SUM(decode(pool, 'shared pool',
|
||||
decode(name, 'library cache',0,
|
||||
'dictionary chace',0,
|
||||
'free memory',0,
|
||||
|
@ -96,7 +96,7 @@ large_pool_query = "SELECT TO_CHAR(ROUND(SUM(decode(pool, 'large pool', (bytes)/
|
|||
|
||||
log_buffer_query = "SELECT TO_CHAR(ROUND(SUM(decode(pool, NULL,
|
||||
decode(name, 'log_buffer', (bytes)/(1024*1024),0),0)),2)) sga_lbuffer
|
||||
from V$SGASTAT"
|
||||
from V$SGASTAT"
|
||||
|
||||
|
||||
memory_components = { "fixed_area" => fixed_area_query,
|
||||
|
@ -122,7 +122,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 Oracle SGA from #{dbname}"
|
||||
puts "graph_category db"
|
||||
puts "graph_info This graph shows the SGA memory usage (in MB)"
|
||||
|
@ -138,7 +138,7 @@ elsif ARGV[0] == "config"
|
|||
# make sure fixed_area is at the bottom of the stack
|
||||
if ( m == 'fixed_area' )
|
||||
puts "#{m}.draw AREA"
|
||||
else
|
||||
else
|
||||
puts "#{m}.draw STACK"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue