summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2014-09-02 08:40:53 +0200
committerHelmut Grohne <helmut@subdivi.de>2014-09-02 08:40:53 +0200
commit5651014852b739dba58aba7782cd3d9197717074 (patch)
tree5feb57c713bed300f10fe9756f225cd2dfd26959
parenta9c8216466b50d83c40852d0dec7fc752a255200 (diff)
downloadjenkins.debian.net-5651014852b739dba58aba7782cd3d9197717074.tar.xz
enable munin plugins relevant to io load
l---------etc/munin/plugins/diskstats1
l---------etc/munin/plugins/iostat1
l---------etc/munin/plugins/iostat_ios1
-rwxr-xr-xupdate_jdn.sh5
4 files changed, 6 insertions, 2 deletions
diff --git a/etc/munin/plugins/diskstats b/etc/munin/plugins/diskstats
new file mode 120000
index 00000000..d44002b7
--- /dev/null
+++ b/etc/munin/plugins/diskstats
@@ -0,0 +1 @@
+/usr/share/munin/plugins/diskstats \ No newline at end of file
diff --git a/etc/munin/plugins/iostat b/etc/munin/plugins/iostat
new file mode 120000
index 00000000..b3b1256e
--- /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/iostat_ios b/etc/munin/plugins/iostat_ios
new file mode 120000
index 00000000..622beb24
--- /dev/null
+++ b/etc/munin/plugins/iostat_ios
@@ -0,0 +1 @@
+/usr/share/munin/plugins/iostat_ios \ No newline at end of file
diff --git a/update_jdn.sh b/update_jdn.sh
index 72cd2dc4..52d9f511 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -25,7 +25,7 @@ done
# install packages we need
# (more or less grouped into more-then-nice-to-have, needed-while-things-are-new, needed)
#
-sudo apt-get install vim screen less etckeeper moreutils curl mtr-tiny dstat devscripts bash-completion shorewall shorewall6 cron-apt apt-listchanges munin calamaris visitors procmail libjson-rpc-perl libfile-touch-perl zutils ip2host \
+sudo apt-get install vim screen less etckeeper moreutils curl mtr-tiny dstat devscripts bash-completion shorewall shorewall6 cron-apt apt-listchanges munin munin-plugins-extra calamaris visitors procmail libjson-rpc-perl libfile-touch-perl zutils ip2host \
build-essential python-setuptools \
debootstrap sudo figlet graphviz apache2 python-yaml python-pip mr subversion subversion-tools vnstat webcheck poxml vncsnapshot imagemagick ffmpeg2theora python-twisted python-imaging gocr guestmount schroot
sudo apt-get install -t wheezy-backports qemu
@@ -54,9 +54,10 @@ fi
sudo chown root.root /etc/sudoers.d/jenkins ; sudo chmod 700 /etc/sudoers.d/jenkins
sudo ln -sf /etc/apache2/sites-available/jenkins.debian.net /etc/apache2/sites-enabled/000-default
sudo service apache2 reload
-cd /etc/munin/plugins ; sudo rm -f postfix_* open_inodes df_inode interrupts diskstats irqstats threads proc_pri vmstat if_err_eth0 fw_forwarded_local fw_packets forks open_files users 2>/dev/null
+cd /etc/munin/plugins ; sudo rm -f postfix_* open_inodes df_inode interrupts irqstats threads proc_pri vmstat if_err_eth0 fw_forwarded_local fw_packets forks open_files users 2>/dev/null
[ -L apache_accesses ] || for i in apache_accesses apache_volume ; do ln -s /usr/share/munin/plugins/$i $i ; done
explain "Packages configured."
+sudo service munin-node reload
#
# install the heart of jenkins.debian.net