From 08bf1496d8a4779c39edc503bc7ff27e873cc8ca Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 10 Aug 2015 16:51:05 +0200 Subject: deploy munin-node on the nodes --- TODO | 2 +- hosts/bpi0-armhf-rb/etc/munin/munin-node.conf | 65 ++++++++++++++++++++++ hosts/cbxi4pro0-armhf-rb/etc/munin/munin-node.conf | 65 ++++++++++++++++++++++ hosts/hb0-armhf-rb/etc/munin/munin-node.conf | 65 ++++++++++++++++++++++ hosts/jenkins/etc/munin/munin.conf | 34 ++++++++++- .../etc/munin/munin-node.conf | 65 ++++++++++++++++++++++ .../etc/munin/munin-node.conf | 65 ++++++++++++++++++++++ .../etc/munin/munin-node.conf | 65 ++++++++++++++++++++++ hosts/wbq0-armhf-rb/etc/munin/munin-node.conf | 65 ++++++++++++++++++++++ 9 files changed, 487 insertions(+), 4 deletions(-) create mode 100644 hosts/bpi0-armhf-rb/etc/munin/munin-node.conf create mode 100644 hosts/cbxi4pro0-armhf-rb/etc/munin/munin-node.conf create mode 100644 hosts/hb0-armhf-rb/etc/munin/munin-node.conf create mode 100644 hosts/profitbricks-build1-amd64/etc/munin/munin-node.conf create mode 100644 hosts/profitbricks-build2-amd64/etc/munin/munin-node.conf create mode 100644 hosts/profitbricks-build4-amd64/etc/munin/munin-node.conf create mode 100644 hosts/wbq0-armhf-rb/etc/munin/munin-node.conf diff --git a/TODO b/TODO index 5ddf2187..fcf84786 100644 --- a/TODO +++ b/TODO @@ -341,7 +341,7 @@ properties: *** /etc/rc.conf *** /etc/resolv.conf *** /boot/loader.conf.local -** pkg install screen git vim sudo denyhosts +** pkg install screen git vim sudo denyhosts munin-node ** adduser holger ** adduser jenkins (with bash as default shell) ** mkdir -p /srv/workspace/chroots/ diff --git a/hosts/bpi0-armhf-rb/etc/munin/munin-node.conf b/hosts/bpi0-armhf-rb/etc/munin/munin-node.conf new file mode 100644 index 00000000..7d5651aa --- /dev/null +++ b/hosts/bpi0-armhf-rb/etc/munin/munin-node.conf @@ -0,0 +1,65 @@ +# +# 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 + +# This is the timeout for the whole transaction. +# Units are in sec. Default is 15 min +# +# global_timeout 900 + +# This is the timeout for each plugin. +# Units are in sec. Default is 1 min +# +# timeout 60 + +# Regexps for files to ignore +ignore_file [\#~]$ +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$ +allow ^::1$ + +# If you have installed the Net::CIDR perl module, you can use one or more +# cidr_allow and cidr_deny address/mask patterns. A connecting client must +# match any cidr_allow, and not match any cidr_deny. Note that a netmask +# *must* be provided, even if it's /32 +# +# 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 + +allow ^78\.137\.96\.196 diff --git a/hosts/cbxi4pro0-armhf-rb/etc/munin/munin-node.conf b/hosts/cbxi4pro0-armhf-rb/etc/munin/munin-node.conf new file mode 100644 index 00000000..7d5651aa --- /dev/null +++ b/hosts/cbxi4pro0-armhf-rb/etc/munin/munin-node.conf @@ -0,0 +1,65 @@ +# +# 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 + +# This is the timeout for the whole transaction. +# Units are in sec. Default is 15 min +# +# global_timeout 900 + +# This is the timeout for each plugin. +# Units are in sec. Default is 1 min +# +# timeout 60 + +# Regexps for files to ignore +ignore_file [\#~]$ +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$ +allow ^::1$ + +# If you have installed the Net::CIDR perl module, you can use one or more +# cidr_allow and cidr_deny address/mask patterns. A connecting client must +# match any cidr_allow, and not match any cidr_deny. Note that a netmask +# *must* be provided, even if it's /32 +# +# 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 + +allow ^78\.137\.96\.196 diff --git a/hosts/hb0-armhf-rb/etc/munin/munin-node.conf b/hosts/hb0-armhf-rb/etc/munin/munin-node.conf new file mode 100644 index 00000000..7d5651aa --- /dev/null +++ b/hosts/hb0-armhf-rb/etc/munin/munin-node.conf @@ -0,0 +1,65 @@ +# +# 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 + +# This is the timeout for the whole transaction. +# Units are in sec. Default is 15 min +# +# global_timeout 900 + +# This is the timeout for each plugin. +# Units are in sec. Default is 1 min +# +# timeout 60 + +# Regexps for files to ignore +ignore_file [\#~]$ +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$ +allow ^::1$ + +# If you have installed the Net::CIDR perl module, you can use one or more +# cidr_allow and cidr_deny address/mask patterns. A connecting client must +# match any cidr_allow, and not match any cidr_deny. Note that a netmask +# *must* be provided, even if it's /32 +# +# 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 + +allow ^78\.137\.96\.196 diff --git a/hosts/jenkins/etc/munin/munin.conf b/hosts/jenkins/etc/munin/munin.conf index c979757a..d15034e6 100644 --- a/hosts/jenkins/etc/munin/munin.conf +++ b/hosts/jenkins/etc/munin/munin.conf @@ -105,14 +105,42 @@ contact.me.command mail -s "Munin notification ${var:host}" root diskstats_latency.vda.avgwrwait.warning 0:20 diskstats_latency.vdb.avgwrwait.warning 0:20 -[jenkins-kvm-builder.debian.net] - address 78.137.101.153 +[profitbricks-build1-amd64.debian.net] + address 78.137.96.203 use_node_name yes -[jenkins-2nd-builder.debian.net] +[profitbricks-build2-amd64.debian.net] + address 78.137.97.174 + use_node_name yes + +[profitbricks-build3-amd64.debian.net] address 46.16.77.57 use_node_name yes +[profitbricks-build4-amd64.debian.net] + address 46.16.78.222 + use_node_name yes + +[bpi0-armhf-rb.debian.net] + address 71.236.158.44 + use_node_name yes + +[hb0-armhf-rb.debian.net] + address 71.236.158.44 + use_node_name yes + +[wbq0-armhf-rb.debian.net] + address 71.236.158.44 + use_node_name yes + +[cbxi4pro0-armhf-rb.debian.net] + address 71.236.158.44 + use_node_name yes + +[freebsd-jenkins.debian.net] + address 46.16.73.236 + use_node_name yes + # # A more complex example of a host tree # diff --git a/hosts/profitbricks-build1-amd64/etc/munin/munin-node.conf b/hosts/profitbricks-build1-amd64/etc/munin/munin-node.conf new file mode 100644 index 00000000..7d5651aa --- /dev/null +++ b/hosts/profitbricks-build1-amd64/etc/munin/munin-node.conf @@ -0,0 +1,65 @@ +# +# 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 + +# This is the timeout for the whole transaction. +# Units are in sec. Default is 15 min +# +# global_timeout 900 + +# This is the timeout for each plugin. +# Units are in sec. Default is 1 min +# +# timeout 60 + +# Regexps for files to ignore +ignore_file [\#~]$ +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$ +allow ^::1$ + +# If you have installed the Net::CIDR perl module, you can use one or more +# cidr_allow and cidr_deny address/mask patterns. A connecting client must +# match any cidr_allow, and not match any cidr_deny. Note that a netmask +# *must* be provided, even if it's /32 +# +# 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 + +allow ^78\.137\.96\.196 diff --git a/hosts/profitbricks-build2-amd64/etc/munin/munin-node.conf b/hosts/profitbricks-build2-amd64/etc/munin/munin-node.conf new file mode 100644 index 00000000..7d5651aa --- /dev/null +++ b/hosts/profitbricks-build2-amd64/etc/munin/munin-node.conf @@ -0,0 +1,65 @@ +# +# 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 + +# This is the timeout for the whole transaction. +# Units are in sec. Default is 15 min +# +# global_timeout 900 + +# This is the timeout for each plugin. +# Units are in sec. Default is 1 min +# +# timeout 60 + +# Regexps for files to ignore +ignore_file [\#~]$ +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$ +allow ^::1$ + +# If you have installed the Net::CIDR perl module, you can use one or more +# cidr_allow and cidr_deny address/mask patterns. A connecting client must +# match any cidr_allow, and not match any cidr_deny. Note that a netmask +# *must* be provided, even if it's /32 +# +# 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 + +allow ^78\.137\.96\.196 diff --git a/hosts/profitbricks-build4-amd64/etc/munin/munin-node.conf b/hosts/profitbricks-build4-amd64/etc/munin/munin-node.conf new file mode 100644 index 00000000..7d5651aa --- /dev/null +++ b/hosts/profitbricks-build4-amd64/etc/munin/munin-node.conf @@ -0,0 +1,65 @@ +# +# 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 + +# This is the timeout for the whole transaction. +# Units are in sec. Default is 15 min +# +# global_timeout 900 + +# This is the timeout for each plugin. +# Units are in sec. Default is 1 min +# +# timeout 60 + +# Regexps for files to ignore +ignore_file [\#~]$ +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$ +allow ^::1$ + +# If you have installed the Net::CIDR perl module, you can use one or more +# cidr_allow and cidr_deny address/mask patterns. A connecting client must +# match any cidr_allow, and not match any cidr_deny. Note that a netmask +# *must* be provided, even if it's /32 +# +# 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 + +allow ^78\.137\.96\.196 diff --git a/hosts/wbq0-armhf-rb/etc/munin/munin-node.conf b/hosts/wbq0-armhf-rb/etc/munin/munin-node.conf new file mode 100644 index 00000000..7d5651aa --- /dev/null +++ b/hosts/wbq0-armhf-rb/etc/munin/munin-node.conf @@ -0,0 +1,65 @@ +# +# 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 + +# This is the timeout for the whole transaction. +# Units are in sec. Default is 15 min +# +# global_timeout 900 + +# This is the timeout for each plugin. +# Units are in sec. Default is 1 min +# +# timeout 60 + +# Regexps for files to ignore +ignore_file [\#~]$ +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$ +allow ^::1$ + +# If you have installed the Net::CIDR perl module, you can use one or more +# cidr_allow and cidr_deny address/mask patterns. A connecting client must +# match any cidr_allow, and not match any cidr_deny. Note that a netmask +# *must* be provided, even if it's /32 +# +# 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 + +allow ^78\.137\.96\.196 -- cgit v1.2.3-70-g09d2