From 359203ba44d2a4ae5e9fcb41cd538f6896b115c1 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 4 May 2010 15:57:07 +0200 Subject: [PATCH] munin: Add default 1.4.4 configuration. --- etc/munin/munin-node.conf | 53 +++ etc/munin/munin.conf | 104 ++++++ etc/munin/plugin-conf.d/munin-node | 119 ++++++ etc/munin/plugins/cpu | 1 + etc/munin/plugins/df | 1 + etc/munin/plugins/df_inode | 1 + etc/munin/plugins/entropy | 1 + etc/munin/plugins/forks | 1 + etc/munin/plugins/if_err_eth0 | 1 + etc/munin/plugins/if_err_eth1 | 1 + etc/munin/plugins/if_eth0 | 1 + etc/munin/plugins/if_eth1 | 1 + etc/munin/plugins/interrupts | 1 + etc/munin/plugins/iostat | 1 + etc/munin/plugins/irqstats | 1 + etc/munin/plugins/load | 1 + etc/munin/plugins/memory | 1 + etc/munin/plugins/open_files | 1 + etc/munin/plugins/open_inodes | 1 + etc/munin/plugins/processes | 1 + etc/munin/plugins/swap | 1 + etc/munin/plugins/vmstat | 1 + etc/munin/templates/definitions.html | 64 ++++ etc/munin/templates/favicon.ico | Bin 0 -> 2046 bytes etc/munin/templates/logo-h.png | Bin 0 -> 1794 bytes etc/munin/templates/logo.png | Bin 0 -> 473 bytes etc/munin/templates/munin-comparison-day.tmpl | 40 ++ .../templates/munin-comparison-month.tmpl | 40 ++ .../templates/munin-comparison-week.tmpl | 41 ++ .../templates/munin-comparison-year.tmpl | 40 ++ etc/munin/templates/munin-domainview.tmpl | 83 +++++ etc/munin/templates/munin-nodeview.tmpl | 49 +++ etc/munin/templates/munin-overview.tmpl | 81 ++++ etc/munin/templates/munin-serviceview.tmpl | 91 +++++ .../templates/partial/bottom_navigation.tmpl | 33 ++ etc/munin/templates/partial/generated_by.tmpl | 5 + etc/munin/templates/partial/head.tmpl | 14 + .../templates/partial/logo_navigation.tmpl | 18 + .../partial/logo_navigation_comparison.tmpl | 21 ++ etc/munin/templates/partial/logo_path.tmpl | 6 + etc/munin/templates/partial/path.tmpl | 1 + etc/munin/templates/style-1.2.css | 205 ++++++++++ etc/munin/templates/style.css | 349 ++++++++++++++++++ 43 files changed, 1476 insertions(+) create mode 100644 etc/munin/munin-node.conf create mode 100644 etc/munin/munin.conf create mode 100644 etc/munin/plugin-conf.d/munin-node create mode 120000 etc/munin/plugins/cpu create mode 120000 etc/munin/plugins/df create mode 120000 etc/munin/plugins/df_inode create mode 120000 etc/munin/plugins/entropy create mode 120000 etc/munin/plugins/forks create mode 120000 etc/munin/plugins/if_err_eth0 create mode 120000 etc/munin/plugins/if_err_eth1 create mode 120000 etc/munin/plugins/if_eth0 create mode 120000 etc/munin/plugins/if_eth1 create mode 120000 etc/munin/plugins/interrupts create mode 120000 etc/munin/plugins/iostat create mode 120000 etc/munin/plugins/irqstats create mode 120000 etc/munin/plugins/load create mode 120000 etc/munin/plugins/memory create mode 120000 etc/munin/plugins/open_files create mode 120000 etc/munin/plugins/open_inodes create mode 120000 etc/munin/plugins/processes create mode 120000 etc/munin/plugins/swap create mode 120000 etc/munin/plugins/vmstat create mode 100644 etc/munin/templates/definitions.html create mode 100644 etc/munin/templates/favicon.ico create mode 100644 etc/munin/templates/logo-h.png create mode 100644 etc/munin/templates/logo.png create mode 100644 etc/munin/templates/munin-comparison-day.tmpl create mode 100644 etc/munin/templates/munin-comparison-month.tmpl create mode 100644 etc/munin/templates/munin-comparison-week.tmpl create mode 100644 etc/munin/templates/munin-comparison-year.tmpl create mode 100644 etc/munin/templates/munin-domainview.tmpl create mode 100644 etc/munin/templates/munin-nodeview.tmpl create mode 100644 etc/munin/templates/munin-overview.tmpl create mode 100644 etc/munin/templates/munin-serviceview.tmpl create mode 100644 etc/munin/templates/partial/bottom_navigation.tmpl create mode 100644 etc/munin/templates/partial/generated_by.tmpl create mode 100644 etc/munin/templates/partial/head.tmpl create mode 100644 etc/munin/templates/partial/logo_navigation.tmpl create mode 100644 etc/munin/templates/partial/logo_navigation_comparison.tmpl create mode 100644 etc/munin/templates/partial/logo_path.tmpl create mode 100644 etc/munin/templates/partial/path.tmpl create mode 100644 etc/munin/templates/style-1.2.css create mode 100644 etc/munin/templates/style.css diff --git a/etc/munin/munin-node.conf b/etc/munin/munin-node.conf new file mode 100644 index 0000000..3052e09 --- /dev/null +++ b/etc/munin/munin-node.conf @@ -0,0 +1,53 @@ +# +# Example config-file for munin-node +# + +log_level 4 +log_file /var/log/munin/munin-node.log +pid_file /var/run/munin/munin-node.pid + +background 1 +setsid 1 + +user root +group root + +# Regexps for files to ignore + +ignore_file ~$ +#ignore_file [#~]$ # FIX doesn't work. '#' starts a comment +ignore_file DEADJOE$ +ignore_file \.bak$ +ignore_file %$ +ignore_file \.dpkg-(tmp|new|old|dist)$ +ignore_file \.rpm(save|new)$ +ignore_file \.pod$ + +# Set this if the client doesn't report the correct hostname when +# telnetting to localhost, port 4949 +# +#host_name localhost.localdomain + +# A list of addresses that are allowed to connect. This must be a +# regular expression, since Net::Server does not understand CIDR-style +# network notation unless the perl module Net::CIDR is installed. You +# may repeat the allow line as many times as you'd like + +allow ^127\.0\.0\.1$ + +# If you have installed the Net::CIDR perl module, you can use +# multiple cidr_allow and cidr_deny address/mask patterns. A +# connecting client must match any cidr_allow, and not match any +# cidr_deny. Example: + +# cidr_allow 127.0.0.1/32 +# cidr_allow 192.0.2.0/24 +# cidr_deny 192.0.2.42/32 + +# Which address to bind to; +host * +# host 127.0.0.1 + +# And which port +port 4949 + diff --git a/etc/munin/munin.conf b/etc/munin/munin.conf new file mode 100644 index 0000000..147e7e8 --- /dev/null +++ b/etc/munin/munin.conf @@ -0,0 +1,104 @@ +# Example configuration file for Munin, generated by 'make build' + +# The next three variables specifies where the location of the RRD +# databases, the HTML output, logs and the lock/pid files. They all +# must be writable by the user running munin-cron. They are all +# defaulted to the values you see here. +# +# dbdir /var/lib/munin +# htmldir /var/cache/munin/www +# logdir /var/log/munin +# rundir /var/run/munin +# +# Where to look for the HTML templates +# tmpldir /etc/munin/templates + +# (Exactly one) directory to include all files from. +# +includedir /etc/munin/munin-conf.d + +# Make graphs show values per minute instead of per second +#graph_period minute + +# Graphics files are normaly generated by munin-graph, no matter if +# the graphs are used or not. You can change this to +# on-demand-graphing by following the instructions in +# http://munin.projects.linpro.no/wiki/CgiHowto +# +#graph_strategy cgi + +# munin-cgi-graph is invoked by the web server up to very many times at the +# same time. This is not optimal since it results in high CPU and memory +# consumption to the degree that the system can thrash. Again the default is +# 6. Most likely the optimal number for max_cgi_graph_jobs is the same as +# max_graph_jobs. +# +#munin_cgi_graph_jobs 6 + +# If the automatic CGI url is wrong for your system override it here: +# +#cgiurl_graph /cgi-bin/munin-cgi-graph + +# munin-graph runs in parallel, the number of concurrent processes is +# 6. If you want munin-graph to not be parallel set to 0. If set too +# high it will slow down munin-graph. Some experiments are needed to +# determine how many are optimal on your system. On a multi-core +# system with good SCSI disks the number can probably be quite high. +# +#max_graph_jobs 6 + +# Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime +# something changes (OK -> WARNING, CRITICAL -> OK, etc) +#contact.someuser.command mail -s "Munin notification" somejuser@fnord.comm +#contact.anotheruser.command mail -s "Munin notification" anotheruser@blibb.comm +# +# For those with Nagios, the following might come in handy. In addition, +# the services must be defined in the Nagios server as well. +#contact.nagios.command /usr/bin/send_nsca nagios.host.comm -c /etc/nsca.conf + +# a simple host tree +[localhost.localdomain] + address 127.0.0.1 + use_node_name yes + +# +# A more complex example of a host tree +# +## First our "normal" host. +# [fii.foo.com] +# address foo +# +## Then our other host... +# [fay.foo.com] +# address fay +# +## Then we want totals... +# [foo.com;Totals] #Force it into the "foo.com"-domain... +# update no # Turn off data-fetching for this "host". +# +# # The graph "load1". We want to see the loads of both machines... +# # "fii=fii.foo.com:load.load" means "label=machine:graph.field" +# load1.graph_title Loads side by side +# load1.graph_order fii=fii.foo.com:load.load fay=fay.foo.com:load.load +# +# # The graph "load2". Now we want them stacked on top of each other. +# load2.graph_title Loads on top of each other +# load2.dummy_field.stack fii=fii.foo.com:load.load fay=fay.foo.com:load.load +# load2.dummy_field.draw AREA # We want area instead the default LINE2. +# load2.dummy_field.label dummy # This is needed. Silly, really. +# +# # The graph "load3". Now we want them summarised into one field +# load3.graph_title Loads summarised +# load3.combined_loads.sum fii.foo.com:load.load fay.foo.com:load.load +# load3.combined_loads.label Combined loads # Must be set, as this is +# # not a dummy field! +# +## ...and on a side note, I want them listen in another order (default is +## alphabetically) +# +# # Since [foo.com] would be interpreted as a host in the domain "com", we +# # specify that this is a domain by adding a semicolon. +# [foo.com;] +# node_order Totals fii.foo.com fay.foo.com +# + diff --git a/etc/munin/plugin-conf.d/munin-node b/etc/munin/plugin-conf.d/munin-node new file mode 100644 index 0000000..ee363c1 --- /dev/null +++ b/etc/munin/plugin-conf.d/munin-node @@ -0,0 +1,119 @@ +# This file is used to configure how the plugins are invoked. +# Place in /etc/munin/plugin-conf.d/ or corresponding directory. +# +# PLEASE NOTE: Changes in the plugin-conf.d directory are only +# read at munin-node startup, so restart at any changes. +# +# user # Set the user to run the plugin as. +# group # Set the group to run the plugin as. +# command # Run instead of the plugin. %c expands to +# what would normally be run. +# env. # Sets in the plugin's environment, see the +# individual plugins to find out which variables they +# care about. + + +[amavis] +group adm +env.MUNIN_MKTEMP /bin/mktemp -p /tmp/ $1 +env.amavislog /var/log/mail.info + +[apt] +user root + +[courier_mta_mailqueue] +group daemon + +[courier_mta_mailstats] +group adm + +[courier_mta_mailvolume] +group adm + +[cps*] +user root + +[df*] +env.exclude none unknown iso9660 squashfs udf romfs ramfs debugfs +env.warning 92 +env.critical 98 + +[exim_mailqueue] +group adm, (Debian-exim) + +[exim_mailstats] +group adm, (Debian-exim) +env.logdir /var/log/exim4/ +env.logname mainlog + +[fw_conntrack] +user root + +[fw_forwarded_local] +user root + +[hddtemp_smartctl] +user root + +[hddtemp2] +user root + +[if_*] +user root + +[if_err_*] +user nobody + +[ip_*] +user root + +[ipmi_*] +user root + +[mysql*] +user root +env.mysqlopts --defaults-file=/etc/mysql/debian.cnf +env.mysqluser debian-sys-maint +env.mysqlconnection DBI:mysql:mysql;mysql_read_default_file=/etc/mysql/debian.cnf + +[postfix_mailqueue] +user postfix + +[postfix_mailstats] +group adm + +[postfix_mailvolume] +group adm +env.logfile mail.log + +[smart_*] +user root + +[vlan*] +user root + +[ejabberd*] +user ejabberd +env.statuses available away chat xa +env.days 1 7 30 + +[dhcpd3] +user root +env.leasefile /var/lib/dhcp3/dhcpd.leases +env.configfile /etc/dhcp3/dhcpd.conf + +[jmx_*] +env.ip 127.0.0.1 +env.port 5400 + +[samba] +user root + +[munin_stats] +user munin +group munin + +[postgres_*] +user postgres +env.PGUSER postgres +env.PGPORT 5432 diff --git a/etc/munin/plugins/cpu b/etc/munin/plugins/cpu new file mode 120000 index 0000000..2e07a35 --- /dev/null +++ b/etc/munin/plugins/cpu @@ -0,0 +1 @@ +/usr/share/munin/plugins/cpu \ No newline at end of file diff --git a/etc/munin/plugins/df b/etc/munin/plugins/df new file mode 120000 index 0000000..9d18212 --- /dev/null +++ b/etc/munin/plugins/df @@ -0,0 +1 @@ +/usr/share/munin/plugins/df \ No newline at end of file diff --git a/etc/munin/plugins/df_inode b/etc/munin/plugins/df_inode new file mode 120000 index 0000000..f57bc74 --- /dev/null +++ b/etc/munin/plugins/df_inode @@ -0,0 +1 @@ +/usr/share/munin/plugins/df_inode \ No newline at end of file diff --git a/etc/munin/plugins/entropy b/etc/munin/plugins/entropy new file mode 120000 index 0000000..9545158 --- /dev/null +++ b/etc/munin/plugins/entropy @@ -0,0 +1 @@ +/usr/share/munin/plugins/entropy \ No newline at end of file diff --git a/etc/munin/plugins/forks b/etc/munin/plugins/forks new file mode 120000 index 0000000..bf00335 --- /dev/null +++ b/etc/munin/plugins/forks @@ -0,0 +1 @@ +/usr/share/munin/plugins/forks \ No newline at end of file diff --git a/etc/munin/plugins/if_err_eth0 b/etc/munin/plugins/if_err_eth0 new file mode 120000 index 0000000..2bc989c --- /dev/null +++ b/etc/munin/plugins/if_err_eth0 @@ -0,0 +1 @@ +/usr/share/munin/plugins/if_err_ \ No newline at end of file diff --git a/etc/munin/plugins/if_err_eth1 b/etc/munin/plugins/if_err_eth1 new file mode 120000 index 0000000..2bc989c --- /dev/null +++ b/etc/munin/plugins/if_err_eth1 @@ -0,0 +1 @@ +/usr/share/munin/plugins/if_err_ \ No newline at end of file diff --git a/etc/munin/plugins/if_eth0 b/etc/munin/plugins/if_eth0 new file mode 120000 index 0000000..acef9af --- /dev/null +++ b/etc/munin/plugins/if_eth0 @@ -0,0 +1 @@ +/usr/share/munin/plugins/if_ \ No newline at end of file diff --git a/etc/munin/plugins/if_eth1 b/etc/munin/plugins/if_eth1 new file mode 120000 index 0000000..acef9af --- /dev/null +++ b/etc/munin/plugins/if_eth1 @@ -0,0 +1 @@ +/usr/share/munin/plugins/if_ \ No newline at end of file diff --git a/etc/munin/plugins/interrupts b/etc/munin/plugins/interrupts new file mode 120000 index 0000000..dcd3605 --- /dev/null +++ b/etc/munin/plugins/interrupts @@ -0,0 +1 @@ +/usr/share/munin/plugins/interrupts \ No newline at end of file diff --git a/etc/munin/plugins/iostat b/etc/munin/plugins/iostat new file mode 120000 index 0000000..b3b1256 --- /dev/null +++ b/etc/munin/plugins/iostat @@ -0,0 +1 @@ +/usr/share/munin/plugins/iostat \ No newline at end of file diff --git a/etc/munin/plugins/irqstats b/etc/munin/plugins/irqstats new file mode 120000 index 0000000..39b6d6f --- /dev/null +++ b/etc/munin/plugins/irqstats @@ -0,0 +1 @@ +/usr/share/munin/plugins/irqstats \ No newline at end of file diff --git a/etc/munin/plugins/load b/etc/munin/plugins/load new file mode 120000 index 0000000..bc5acaf --- /dev/null +++ b/etc/munin/plugins/load @@ -0,0 +1 @@ +/usr/share/munin/plugins/load \ No newline at end of file diff --git a/etc/munin/plugins/memory b/etc/munin/plugins/memory new file mode 120000 index 0000000..a3428d7 --- /dev/null +++ b/etc/munin/plugins/memory @@ -0,0 +1 @@ +/usr/share/munin/plugins/memory \ No newline at end of file diff --git a/etc/munin/plugins/open_files b/etc/munin/plugins/open_files new file mode 120000 index 0000000..791589a --- /dev/null +++ b/etc/munin/plugins/open_files @@ -0,0 +1 @@ +/usr/share/munin/plugins/open_files \ No newline at end of file diff --git a/etc/munin/plugins/open_inodes b/etc/munin/plugins/open_inodes new file mode 120000 index 0000000..fea0798 --- /dev/null +++ b/etc/munin/plugins/open_inodes @@ -0,0 +1 @@ +/usr/share/munin/plugins/open_inodes \ No newline at end of file diff --git a/etc/munin/plugins/processes b/etc/munin/plugins/processes new file mode 120000 index 0000000..b9a883f --- /dev/null +++ b/etc/munin/plugins/processes @@ -0,0 +1 @@ +/usr/share/munin/plugins/processes \ No newline at end of file diff --git a/etc/munin/plugins/swap b/etc/munin/plugins/swap new file mode 120000 index 0000000..68b4a09 --- /dev/null +++ b/etc/munin/plugins/swap @@ -0,0 +1 @@ +/usr/share/munin/plugins/swap \ No newline at end of file diff --git a/etc/munin/plugins/vmstat b/etc/munin/plugins/vmstat new file mode 120000 index 0000000..11f2333 --- /dev/null +++ b/etc/munin/plugins/vmstat @@ -0,0 +1 @@ +/usr/share/munin/plugins/vmstat \ No newline at end of file diff --git a/etc/munin/templates/definitions.html b/etc/munin/templates/definitions.html new file mode 100644 index 0000000..a4148fb --- /dev/null +++ b/etc/munin/templates/definitions.html @@ -0,0 +1,64 @@ + + + + + + + Munin :: definitions + + + + + + + + + +

Definition of terms used in Munin

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Data types:

– GaugeA data source of type gauge shows the state of the data source at the + exact moment that Munin is run (every 5 minutes). Any peaks in-between data gatherings, will not be in + the graph.
– CounterA data source of type counter shows the state of the data source as an + average between two plots (i.e. 5 minutes). Short peaks will therefore be hard to spot, but long peaks + will be spottable, even though it occurs between plots.
– DeriveFor the purposes of viewing data, the derive type works the same way as a + counter
– AbsoluteAbsolute works much as a counter, with the exception that it is assumed + that the counter value is set to 0 upon each read of it. It's not a good idea to run these plugins by + hand in-between Munin runs, since Munin won't receive all the data it expects.

+
+ + + + +
Munin
+ + diff --git a/etc/munin/templates/favicon.ico b/etc/munin/templates/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..08a8534b6e84baadebe6cd5655547ca17ebe6a5e GIT binary patch literal 2046 zcmeH{F>b>!3`HryMOV`kFno$#sgwX5A2gX)9vAiM!5<$_gDQ{p@2JL47k#5?7|xQA&T z@{%WL0CjN+nNPxLlm)^M#vA3fe?n6!k8*DuohDu>cg8EO6L+^f^3$$~_L~kk6Rpc@ z`z0TSzU_y0=m#-)mZt?Y6VEueEz}@*7)x(BgG0bAFE|nz$EL6Pq3sjbR)lw4GY~jN zBoPx%?hYs6XaG7XDyDjJ;$|+caa`HTlAfv+);s~hsDZBQB2VIqew0B1>R{i;<0MEg zlYH07WMO(~i@CXZvo^iFE$;lh4}}H7 zONE7(5-Be%P+q8z_;#y_Z%;MzO~CkivlqUqedUc`wteMXEw6OJkIUi(vT7Jv@#!Hd_ literal 0 HcmV?d00001 diff --git a/etc/munin/templates/logo-h.png b/etc/munin/templates/logo-h.png new file mode 100644 index 0000000000000000000000000000000000000000..3c90067db0e636813b45024a4a733a4b71f53544 GIT binary patch literal 1794 zcmV+d2mSboP)oI27gIJK~!ko&6;^^R7D)eKeP0Jf=CUe0TIQZjfjG~D2G8*q>6|s z8dSW9AzU5-S2eK%;;*nIiKxU<@!;{Lvy{7*GUsYQ;uPN-(E4 zaFL6j2^tRse1Q4^7iWUZzQ876q7igx4`-e#rX(1DFqsn?0D1zE0Ohp-ruj)`kwkL4 z<;Od=5Rs*8PDl_0O(u7+C}4S&ev$b&Py;Nn$WuO>6M%6Z;81f90KeM*f%JkGcd^N@08`-(rc{~ z0+u-{9WpPMJTY6Eu-Iz%NwV+|H0}Y~1t_lzP@XE88+<4rq>6Kfsl5TX)EIl-3Xqacf9<^yYu!(IS94Af;vUIFkS&}a}k-e|j$ITCm;L*_LZ zEw7VBn{($H(X__-s&gg>0-p~oKUV3sxjteKP;0aY1Kn({;$(IM)*D)p4YUCkSUKl& zT&OfD;L99|Vh@P#j{C79!^dYjrZC-2qZ^q^T1euP>GMl_PXXV#XmecVt2vaGOtIEE zA;XGLY3)Y^R`ER#=d;p%#=_#-*$DiB^L2ic*zWP-@ZG}akUV=H7kI(r$7*q| zcg%Jf+v{T2<0ooQ3JcyRc~yzEahr3n0<==d3@X-G3%u?nFC=DDi&-5SCo&>lDxx8x zDTrvUwjU11D6{9b5Zt7bSH-Qx3E;OJBy&xGS_$ww@U@q`kQ53O@EAs&F{&UOqbjOE zJ7jdRh%7{k-%$l&&Elwkue8wemmlHW^79+ohrsT|fDh0!UIQWEGo0H4tDE^LMc1%q zoYI7}b|T-n_9?{-Nokz6cJjf9Ke6r^;9DyUZw*2o)}eihxv(4Fkzz(r<FCq5}#Y(UgeB_5u1UMdA5lt*8md7%1a@U@7n^upIb1jpyxWM!U?h zZ`mD9L(UP2`h!9vu*J(~x|$uWDb<=4TC+oG`YBE4xP~Z2JMkC2BQb`{lMPBax!0}` zgk#JC7^LY>^Dhm_ph|M7Nol_HPUC$vFb}v}anfi zkXibyb3HN=qg25{rKnMgVy!6C&JBPsBARJhGf8XqYfTT}j!2BGz>~l& zRw!TM;wKfb0;kwdn%cPzxHrJ}n`LNdb285z;>-@kJhN|Ch$G?`;`quOcJUv6q$Yl$ zT-H0-BR7lpy)4C$*5FMkq6DR#>w$l9?h!X9Q=+?GF8!@RgNx5>l$0n=atAKlG)M*~ zfMbTMsBNK2b2HA3`>{CJPYR7K0NLQ&s`qUv0MI6yMt#ds*+Yo?}M4*rUi| kzS~I;dB;U&-?+Q@AG;2cO>_%)r1c0K$xGmG_nc z1=&kHeO=kFu(AoW3H+_?`v=sc@9E+gQZZ-hm5rC06?hmPo8UVEOoudndmnQcK$l3S9NW(WPAIpelhP4dU|-XE4;bL6*+hqXqg2ltq| zK7HYvb~R)7s@+V#)*V>Y{;nWgV%0LMu-l)vy;$Y>^1%YBgbaqTdk=CBl-fr0FWgts zyQXl3@>yTo?DN^T9$wnjW0n?Hote$DJnaYbj@Ol&lx<8O14EO+)78&qol`;+0K(kG A>i_@% literal 0 HcmV?d00001 diff --git a/etc/munin/templates/munin-comparison-day.tmpl b/etc/munin/templates/munin-comparison-day.tmpl new file mode 100644 index 0000000..9a9973f --- /dev/null +++ b/etc/munin/templates/munin-comparison-day.tmpl @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + +
"> + + + + + + + + + +
">

+ + + + +
+ "/>">" alt="" width="" height=""/> +
+
+
+ + + diff --git a/etc/munin/templates/munin-comparison-month.tmpl b/etc/munin/templates/munin-comparison-month.tmpl new file mode 100644 index 0000000..87ecb83 --- /dev/null +++ b/etc/munin/templates/munin-comparison-month.tmpl @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + +
"> + + + + + + + + + +
">

+ + + + +
+ "/>">" alt="" width="" height=""/> +
+
+
+ + + diff --git a/etc/munin/templates/munin-comparison-week.tmpl b/etc/munin/templates/munin-comparison-week.tmpl new file mode 100644 index 0000000..960b725 --- /dev/null +++ b/etc/munin/templates/munin-comparison-week.tmpl @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + +
"> + + + + + + + + + +
">

+ + + + +
+ "/>">" alt="" width="" height=""/> +
+
+
+ + + + diff --git a/etc/munin/templates/munin-comparison-year.tmpl b/etc/munin/templates/munin-comparison-year.tmpl new file mode 100644 index 0000000..d6c0a78 --- /dev/null +++ b/etc/munin/templates/munin-comparison-year.tmpl @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + +
"> + + + + + + + + + +
">

+ + + + +
+ "/>">" alt="" width="" height=""/> +
+
+
+ + + diff --git a/etc/munin/templates/munin-domainview.tmpl b/etc/munin/templates/munin-domainview.tmpl new file mode 100644 index 0000000..01ac044 --- /dev/null +++ b/etc/munin/templates/munin-domainview.tmpl @@ -0,0 +1,83 @@ + + + + + + + + + + + + + +
+ + + diff --git a/etc/munin/templates/munin-nodeview.tmpl b/etc/munin/templates/munin-nodeview.tmpl new file mode 100644 index 0000000..47a0523 --- /dev/null +++ b/etc/munin/templates/munin-nodeview.tmpl @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + +
"> + + + + + + + + + + + +

">class="warn"class="crit" src="" alt="" width="" height=""/>">class="warn" class="crit" src="" alt="" width="" height=""/>
+
+ + + + + diff --git a/etc/munin/templates/munin-overview.tmpl b/etc/munin/templates/munin-overview.tmpl new file mode 100644 index 0000000..104759d --- /dev/null +++ b/etc/munin/templates/munin-overview.tmpl @@ -0,0 +1,81 @@ + + + + + " type="text/css" /> + + Munin :: overview + + + + + + + + + + + +

Overview

+ + + + + + +
+ + + +
+ + + diff --git a/etc/munin/templates/munin-serviceview.tmpl b/etc/munin/templates/munin-serviceview.tmpl new file mode 100644 index 0000000..4c8d9da --- /dev/null +++ b/etc/munin/templates/munin-serviceview.tmpl @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
" alt="daily graph" width="" height=""/>" alt="weekly graph" width="" height=""/>
" alt="monthly graph" width="" height=""/>" alt="yearly graph" width="" height=""/>
" alt="summed weekly graph" width="" height=""/>" alt="summed monthly graph" width="" height=""/>
+ + + + + + + + + + + + + + + + + + + + + oddrowevenrow lastrow"> + + + + + + + + + + oddrowevenrow"> + + +
NOTE! This service is in WARNING state because one of the values reported is outside the allowed range. Please see further down for information about the ranges and the graph for the values.
NOTE! This service is in CRITICAL state because one of the values reported is outside the allowed range. Please see further down for information about the ranges and the graph for the values.
NOTE! This service is in UNKNOWN state, because something bad happened. Please check your network, the munin-node, and the plugin.
FieldInternal name TypeWarnCritInfo
 
 
 
This field has the following extra information:
+
+
+ + + + diff --git a/etc/munin/templates/partial/bottom_navigation.tmpl b/etc/munin/templates/partial/bottom_navigation.tmpl new file mode 100644 index 0000000..08ad8cc --- /dev/null +++ b/etc/munin/templates/partial/bottom_navigation.tmpl @@ -0,0 +1,33 @@ + + + :: + "> + + + + "> + Overview + + + + + + :: + + :: + + :: ">
+ + diff --git a/etc/munin/templates/partial/generated_by.tmpl b/etc/munin/templates/partial/generated_by.tmpl new file mode 100644 index 0000000..e03f9d0 --- /dev/null +++ b/etc/munin/templates/partial/generated_by.tmpl @@ -0,0 +1,5 @@ + + + + +
diff --git a/etc/munin/templates/partial/head.tmpl b/etc/munin/templates/partial/head.tmpl new file mode 100644 index 0000000..a3e3548 --- /dev/null +++ b/etc/munin/templates/partial/head.tmpl @@ -0,0 +1,14 @@ + + + + + /" type="text/css" /> + + <TMPL_LOOP NAME="PATH"><TMPL_IF NAME="name"> :: <TMPL_VAR ESCAPE="HTML" NAME="name"><TMPL_ELSE>Munin</TMPL_IF></TMPL_LOOP> + + + /favicon.ico" /> + /favicon.ico"/> + + diff --git a/etc/munin/templates/partial/logo_navigation.tmpl b/etc/munin/templates/partial/logo_navigation.tmpl new file mode 100644 index 0000000..063ac42 --- /dev/null +++ b/etc/munin/templates/partial/logo_navigation.tmpl @@ -0,0 +1,18 @@ + + + + + + + + + + + + + +
+

:: [ class="warn" class="crit" href="#"> ]

+
+

:: [ day week month year ]

+
diff --git a/etc/munin/templates/partial/logo_navigation_comparison.tmpl b/etc/munin/templates/partial/logo_navigation_comparison.tmpl new file mode 100644 index 0000000..6fd5d4a --- /dev/null +++ b/etc/munin/templates/partial/logo_navigation_comparison.tmpl @@ -0,0 +1,21 @@ + + + + + + + + +
+

+ :: [ + + "> + + + + ] +

+
+

:: [ class="warn" class="crit" href="#"> ]

+
diff --git a/etc/munin/templates/partial/logo_path.tmpl b/etc/munin/templates/partial/logo_path.tmpl new file mode 100644 index 0000000..68f721d --- /dev/null +++ b/etc/munin/templates/partial/logo_path.tmpl @@ -0,0 +1,6 @@ + + + +

+ + diff --git a/etc/munin/templates/partial/path.tmpl b/etc/munin/templates/partial/path.tmpl new file mode 100644 index 0000000..fb27324 --- /dev/null +++ b/etc/munin/templates/partial/path.tmpl @@ -0,0 +1 @@ + :: ">">Overview diff --git a/etc/munin/templates/style-1.2.css b/etc/munin/templates/style-1.2.css new file mode 100644 index 0000000..6fcd5d2 --- /dev/null +++ b/etc/munin/templates/style-1.2.css @@ -0,0 +1,205 @@ +body, h1, h2, h3, p, span, div { + font-family: verdana, helvetica, arial, sans-serif; + font-size: small; + } + +body { + background-color: #ffffff; + color: #000000; + + } + +h3.nobottom { + margin-top: 20px; + margin-bottom: 0px; +} + +div.logo { + background-image: url(logo.png); + background-repeat: no-repeat; + width: 41px; + height: 59px; +} + +div.lighttext { + background-color: #ffffff; + color: #777777; + font-style: italic; + + } + +.domain { + font-size: medium; + font-weight: bold; + } + +.host { + font-weight: bold; + } + +.service { + font-size: x-small; + font-weight: bold; + } + +.center { + text-align: center; +} + +.small { + font-size: smaller; + } + +.noborder { + border-width: 0px; + border-collapse: collapse; + } + +table.largeinvisiblebox { + border-width: thin; + border-top: 0px; + border-bottom: 0px; + border-left: 0px; + border-right: 0px; + border-color: #999; + border-style: solid; + padding: 0px 0px 0px 0px; + margin: 0px 0px 0px 0px; + white-space: nowrap; + max-width: 90%; + width: 80%; +} + +table.invisiblebox { + border-width: thin; + border-top: 0px; + border-bottom: 0px; + border-left: 0px; + border-right: 0px; + border-color: #999; + border-style: solid; + padding: 0px 0px 0px 0px; + margin: 0px 0px 0px 0px; + white-space: nowrap; + width: 1%; +} + +td.graphbox { + border-width: thin; + border-top: 1px; + border-bottom: 1px; + border-left: 1px; + border-right: 1px; + border-color: #999; + border-style: solid; + padding: 4px 4px 4px 4px; + margin: 0px 0px 0px 0px; + white-space: nowrap; + width: 100%; +} + +.box { + border-width: thin; + border-top: 1px; + border-bottom: 1px; + border-left: 1px; + border-right: 1px; + border-color: #999; + border-style: solid; + padding: 4px 4px 4px 4px; + margin: 2px 2px 2px 2px; + text-align: left; + width: 80%; + max-width: 90% +} + +td.legendbox { + border-width: thin; + border-top: 1px; + border-bottom: 1px; + border-left: 1px; + border-right: 1px; + border-color: #999; + border-style: solid; + padding: 8px 4px 2px 2px; + margin: 2px 2px 2px 2px; + text-align: left; + width: 100%; +} + +td.wrap { + white-space: normal; + max-width: 1%; +} + +td.linkbox { + border-width: thin; + border-top: 1px; + border-bottom: 1px; + border-left: 1px; + border-right: 1px; + border-color: #999; + border-style: solid; + padding: 4px 4px 4px 4px; + margin: 2px 2px 2px 2px; + width: 100%; + white-space: normal; +} + +.warntext { + font-weight: bold; + background-color: #cccc00; +} + +.crittext { + font-weight: bold; + background-color: #ff6f22; +} + +.ruler { + background-color: #999999; + border: 0px; + height: 1px; +} + +.ruler2 { + background-color: #999999; + border: 0px; + height: 2px; +} + +a.meek:link { + color: #486aaf; + font-size: small; + } + +a.meek:visited { + color: #af1a00; + font-size: small; + } + +a.meek:active { + color: #486aaf; + font-size: small; + } + +a.meek:hover { + color: #999999; + font-size: small; + } + + +a.warn:link { color: #cc9900; } +a.warn:visited { color: #cc9900; } +a.warn:active { color: #cc9900; } +a.warn:hover { color: #cc9900; } + +a.crit:link { color: #cc0000; } +a.crit:visited { color: #cc0000; } +a.crit:active { color: #cc0000; } +a.crit:hover { color: #cc0000; } + +a:link { color: #486aaf; } +a:visited { color: #486aaf; } +a:active { color: #486aaf; } +a:hover { color: #486aaf; } diff --git a/etc/munin/templates/style.css b/etc/munin/templates/style.css new file mode 100644 index 0000000..0943e69 --- /dev/null +++ b/etc/munin/templates/style.css @@ -0,0 +1,349 @@ +html { +} + +body, h1, h2, h3, p, span, div { + font-family: "vera sans", "dejavu sans", helvetica, verdana, arial, sans-serif; + color: #333333; + } + +h1{ + margin: 0.5em; +} + +body { + background-color: #fdfdfd; + width: 99%; + margin: 0em auto 1em auto; + padding: 0.0em 0.1em 1em 0.1em; + font-size: 90%; + + } + + +select { + border: 1px solid #d1d1d1; +} + +h2 { + margin: 0em; + padding: 0px; + font-size: 110%; + font-weight: bold; + margin-left: auto; + margin-right: auto; +} + +h3.nobottom { + margin-top: 0px; + margin-bottom: 0px; + font-size: 120%; + letter-spacing: 0.05em; + margin-left: 0px; + padding-left: 10px; + padding-bottom: 0px; + padding-top: 0px; +} + + +div.logo { + background-image: url(logo-h.png); + background-repeat: no-repeat; + width: 115px; + height: 30px; + padding-right: 10px; + margin-top: 7px; + padding-bottom: 6px; +} + +div.lighttext { + background-color: #ffffff; + color: #777777; + font-style: italic; + + } + +.domain { + font-size: medium; + font-weight: bold; + } + +.host { + font-weight: bold; + } + +.service { + font-size: small; + font-weight: bold; + } + +.center { + text-align: center; +} + +.small { + font-size: smaller; +} + +.noborder { + border-width: 0px; + border-collapse: collapse; + } + +table.largeinvisiblebox { + border-width: thin; + border-top: 0px; + border-bottom: 0px; + border-left: 0px; + border-right: 0px; + border-color: #999; + border-style: solid; + padding: 0px 0px 0px 0px; + margin: 0px auto 0px auto; + white-space: nowrap; + max-width: 97%; + width: 90%; + min-width: 50%; + +} + +#header-table{ + width: 90%; + margin: 0 auto 0em auto; + background-color: #fbfbfb; + border-bottom: 1px solid #cfd6f8; + border-left: 1px solid #cfd6f8; + border-right: 1px solid #cfd6f8; + overflow: auto; +} + +#header-table td{ + padding-bottom: 0px; + margin: 0em auto 0em auto; +} + +#header-table tr{ + margin: 0em auto 0em auto; + padding: 0px; +} + +#header-table td.overview{ + margin: 0em auto 0em auto; + text-align: left; +} + +#header-table td.overview h1{ + margin-top: 0em; + margin-bottom: 0em; + margin-left: 0.1em; + padding-top: 1px; +} + + +#header-table td.logo{ + width: 115px; + height: 48px; + margin: 0em auto 0em auto; +} + +table.invisiblebox { + border: 0px solid #999999; + width: 90%; + padding: 0px 0px 0px 0px; + margin-top: 10px; + margin-left: auto; + margin-bottom: 0px; + margin-right: auto; + white-space: nowrap; +} + +table.invisiblebox tr{ + padding-bottom: 15px; +} + + +td.graphbox { + padding: 5px; + white-space: nowrap; +} + +td.graphbox > table { + border-left: 1px dashed #aaaaaa; + padding-left: 10px; + margin-bottom: 1em; + white-space: nowrap; +} + + +.box { + padding: 4px; + margin: 10px auto 0px auto; + text-align: left; +} + +#legend { + margin: 2px; +} + +#legend tr, #legend td{ + padding: 3px 2px 3px 2px; + margin: 1px; +} + +#legend th{ + border-bottom: 1px solid #999999; +} + +#legend .oddrow{ + background-color: #f8f8f8; +} + +#legend .oddrow td{ + border-bottom: 1px solid #d8d8d8; +} + +#legend .evenrow{ + background-color: #fdfdfd; +} + +#legend .evenrow td{ + border-bottom: 1px solid #d8d8d8; +} + +#legend .lastrow td{ + border-bottom: 0px solid transparent !important; +} + + + +td.legendbox { + border: 1px solid #999999; + padding: 8px 4px 2px 2px; + margin: 8px 2px 2px 2px; + text-align: left; + width: 90%; +} + +td.wrap { + white-space: normal; + width: 20%; +} + +td.linkbox { + padding: 4px 4px 4px 4px; + margin: 10px auto 0px auto; + max-width: 97%; + width: 90%; + min-width: 50%; + white-space: normal; +} + +#generated-table { + width: 90%; + margin: 1em auto -0.5em auto; + padding-right: 0.5em; + background-color: #fbfbfb; + border: 1px solid #bbc3ea; +} + +#generated-table tbody td { + text-align: right; + margin: 0px; + padding: 0px; +} + +.warntext { + font-weight: bold; + background-color: #cccc00; + padding: 0px; + margin: -1px; + border: 1px solid #b9b900; +} + +.crittext { + font-weight: bold; + background-color: #ff6f22; + padding: 0px; + margin: -1px; + border: 1px solid #f16722; +} + +.ruler { + background-color: #999999; + border: 0px; + height: 1px; +} + +.ruler2 { + background-color: #999999; + border: 0px; + height: 2px; +} + +a:link,a:visited,a:active { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +a.meek:link { + color: #486aaf; + font-size: small; + } + +a.meek:visited { + color: #af1a00; + font-size: small; + } + +a.meek:active { + color: #486aaf; + font-size: small; + } + +a.meek:hover { + color: #999999; + font-size: small; + } + +li li { + margin-left: -1.2em; +} + +ul li { + margin-left: -1.2em; +} + +a { + border-width: 0px; +} + +.heading { + font-weight: bold; +} + +a.unkn:link { color: #ffaa00; } +a.unkn:visited { color: #ffaa00; } +a.unkn:active { color: #ffaa00; } +a.unkn:hover { color: #ffaa00; } + +a.warn:link { color: #ffd300; } +a.warn:visited { color: #ffd300; } +a.warn:active { color: #ffd300; } +a.warn:hover { color: #ffd300; } + +a.crit:link { color: #ff0000; } +a.crit:visited { color: #ff0000; } +a.crit:active { color: #ff0000; } +a.crit:hover { color: #ff0000; } + +a:link { color: #486aaf; } +a:visited { color: #486aaf; } +a:active { color: #486aaf; } +a:hover { color: #486aaf; } + +img { border-width: 2px; border-color: transparent; } +img.warn { border-width: 2px; border-color: #ffd300; } +img.crit { border-width: 2px; border-color: #ff0000; } +img.unkn { border-width: 2px; border-color: #ffaa00; } -- 2.30.2