diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-03-25 14:04:17 -0400 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-03-25 14:04:17 -0400 |
commit | d4a521c6aadfb2b86d8a278d8d850050d14315ee (patch) | |
tree | d33fce16704be09d60892a3c33764912ce0e4c8d /hosts/profitbricks-build2-amd64/etc/munin | |
parent | c4e034a518e8d034a2fa5d9127579d774e8f6e79 (diff) | |
download | jenkins.debian.net-d4a521c6aadfb2b86d8a278d8d850050d14315ee.tar.xz |
reproducible debian: pb-build2+6-amd64 have been reinstalled and renamed to pb-build2+6-i386
Diffstat (limited to 'hosts/profitbricks-build2-amd64/etc/munin')
5 files changed, 0 insertions, 248 deletions
diff --git a/hosts/profitbricks-build2-amd64/etc/munin/munin-node.conf b/hosts/profitbricks-build2-amd64/etc/munin/munin-node.conf deleted file mode 100644 index 7d5651aa..00000000 --- a/hosts/profitbricks-build2-amd64/etc/munin/munin-node.conf +++ /dev/null @@ -1,65 +0,0 @@ -# -# 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/plugin-conf.d/df b/hosts/profitbricks-build2-amd64/etc/munin/plugin-conf.d/df deleted file mode 100644 index b3fdadcb..00000000 --- a/hosts/profitbricks-build2-amd64/etc/munin/plugin-conf.d/df +++ /dev/null @@ -1,6 +0,0 @@ -[df*] -env.exclude none unknown iso9660 squashfs udf romfs ramfs debugfs devtmpfs sysfs -env.exclude_re /srv/workspace/pbuilder /run /dev/disk/by /var/lib/schroot/mount /srv/workspace/varlibschroot /dev/shm /sys/fs/cgroup -env.warning 92 -env.critical 98 - diff --git a/hosts/profitbricks-build2-amd64/etc/munin/plugin-conf.d/diskstats b/hosts/profitbricks-build2-amd64/etc/munin/plugin-conf.d/diskstats deleted file mode 100644 index 8cf14814..00000000 --- a/hosts/profitbricks-build2-amd64/etc/munin/plugin-conf.d/diskstats +++ /dev/null @@ -1,4 +0,0 @@ -[diskstats] -env.trim_labels yes -env.include_only /dev/vda,/dev/vdb - diff --git a/hosts/profitbricks-build2-amd64/etc/munin/plugin-conf.d/munin-node b/hosts/profitbricks-build2-amd64/etc/munin/plugin-conf.d/munin-node deleted file mode 100644 index e766928f..00000000 --- a/hosts/profitbricks-build2-amd64/etc/munin/plugin-conf.d/munin-node +++ /dev/null @@ -1,117 +0,0 @@ -# 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 <user> # Set the user to run the plugin as. -# group <group> # Set the group to run the plugin as. -# command <command> # Run <command> instead of the plugin. %c expands to -# what would normally be run. -# env.<variable> <value> # Sets <variable> 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 - -[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 - -[fail2ban] -user root diff --git a/hosts/profitbricks-build2-amd64/etc/munin/plugins/jenkins_reproducible_builds b/hosts/profitbricks-build2-amd64/etc/munin/plugins/jenkins_reproducible_builds deleted file mode 100755 index e990c127..00000000 --- a/hosts/profitbricks-build2-amd64/etc/munin/plugins/jenkins_reproducible_builds +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh -# -*- sh -*- - -: << =cut - -=head1 NAME - -jenkins_reproducible_builds - Plugin to measure number of reproducible builds running - -=head1 AUTHOR - -Contributed by Holger Levsen - -=head1 LICENSE - -GPLv2 - -=head1 MAGIC MARKERS - - #%# family=auto - #%# capabilities=autoconf - -=cut - -. $MUNIN_LIBDIR/plugins/plugin.sh - -if [ "$1" = "autoconf" ]; then - echo yes - exit 0 -fi - -JOB_PREFIXES="first second" -if [ "$1" = "config" ]; then - echo 'graph_title Concurrent reproducible builds running' - echo 'graph_args --base 1000 -l 0 ' - echo 'graph_scale no' - echo 'graph_total total' - echo 'graph_vlabel Concurrent reproducible builds running' - echo 'graph_category jenkins' - draw=AREA - for PREFIX in $JOB_PREFIXES ; do - echo "jenkins_reproducible_${PREFIX}_build.label $PREFIX build" - echo "jenkins_reproducible_${PREFIX}_build.draw $draw" - if [ "$draw" = "AREA" ] ; then draw=STACK ; fi - done - exit 0 -fi - -for PREFIX in $JOB_PREFIXES ; do - if [ "$PREFIX" = "first" ] ; then - NR=$(pgrep -fc "bin/bash /srv/jenkins/bin/reproducible_build.sh 1") - else - NR=$(pgrep -fc "bin/bash /srv/jenkins/bin/reproducible_build.sh 2") - fi - echo "jenkins_reproducible_${PREFIX}_build.value $NR" - done |