From 9aad3688e1ea9ba09d224dc878a2c627d64d6f9c Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 13 Aug 2015 14:42:47 -0700 Subject: [PATCH] Revert "Add hack to make graphs work with latest collectd" This reverts commit a959418544b56cb8ca8cc4580b3bcc64632860b8. --- setup/container.sh | 4 ---- setup/start/collectd.conf | 14 ++++---------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/setup/container.sh b/setup/container.sh index 866875318..a87043c96 100755 --- a/setup/container.sh +++ b/setup/container.sh @@ -28,10 +28,6 @@ cp "${container_files}/sudoers" /etc/sudoers.d/yellowtent ########## collectd rm -rf /etc/collectd ln -sfF "${DATA_DIR}/collectd" /etc/collectd -# collectd 5.4.1 has some bug where we simply cannot get it to create df-vda1 -mkdir -p "${DATA_DIR}/graphite/whisper/collectd/localhost/" -vda1_id=$(blkid -s UUID -o value /dev/vda1) -ln -sfF "df-disk_by-uuid_${vda1_id}" "${DATA_DIR}/graphite/whisper/collectd/localhost/df-vda1" ########## nginx # link nginx config to system config diff --git a/setup/start/collectd.conf b/setup/start/collectd.conf index 45852966e..e489c0d91 100644 --- a/setup/start/collectd.conf +++ b/setup/start/collectd.conf @@ -193,18 +193,12 @@ LoadPlugin write_graphite - # The config below does not work in Ubuntu 15.04 (collectd 5.4.1) - # Device "/dev/vda1" - # Device "/dev/loop0" - # Device "/dev/loop1" - - # ReportByDevice true - # IgnoreSelected false + Device "/dev/vda1" + Device "/dev/loop0" + Device "/dev/loop1" ReportByDevice true - FSType "tmpfs" - MountPoint "/dev" - IgnoreSelected true + IgnoreSelected false ValuesAbsolute true ValuesPercentage true