[debian-edu-commits] debian-edu/upstream/ 01/05: Collect output from hdparm -I for every disk device (Closes: #785285).
Petter Reinholdtsen
pere at moszumanska.debian.org
Sun Dec 20 07:16:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to annotated tag 0.1.18
in repository sitesummary.
commit 34fb6ae70737208905f08b1a8de8cec06d12d754
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Sun Dec 20 07:09:46 2015 +0000
Collect output from hdparm -I for every disk device (Closes: #785285).
---
collect.d/system | 5 +++++
debian/changelog | 3 +++
2 files changed, 8 insertions(+)
diff --git a/collect.d/system b/collect.d/system
index c5be33d..c741cda 100644
--- a/collect.d/system
+++ b/collect.d/system
@@ -42,6 +42,11 @@ if [ -f /proc/mdstat ] ; then
cat /proc/mdstat > mdstat
fi
+# Collect hard disk information
+for diskdev in $(grep 'sd.$' /proc/partitions|awk '{print $4}'|sort); do
+ hdparm -I /dev/$diskdev || true
+done > hdparm-I
+
# Collect mount points, for nagios configuration
cp /etc/fstab fstab
cat /proc/mounts > procmounts
diff --git a/debian/changelog b/debian/changelog
index 3724a87..d3383b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,9 @@ sitesummary (0.1.18) UNRELEASED; urgency=low
* Fix hanging postinst script (Closes: #785214).
* Fix dangling symlink in apache config after removal (Closes: #785215).
+ [ Petter Reinholdtsen ]
+ * Collect output from hdparm -I for every disk device (Closes: #785285).
+
-- Dominik George <nik at naturalnet.de> Wed, 13 May 2015 16:36:20 +0200
sitesummary (0.1.17) unstable; urgency=high
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/sitesummary.git
More information about the debian-edu-commits
mailing list