diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2006-12-06 08:18:35 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2006-12-06 08:18:35 +0000 |
commit | a4ba0ff6e0403f43e70187889ff775ccda88c314 (patch) | |
tree | 31e5579614608244a1a6aa01fee9afca7dc41f35 | |
parent | 1b6b2856a0ed353591be57ef371e529aad877776 (diff) | |
download | sitesummary-a4ba0ff6e0403f43e70187889ff775ccda88c314.tar.gz sitesummary-a4ba0ff6e0403f43e70187889ff775ccda88c314.tar.bz2 sitesummary-a4ba0ff6e0403f43e70187889ff775ccda88c314.tar.xz |
* Throw away error messages from dmidecode when collecting info, to
avoid daily cron mails from Xen machines.
-rw-r--r-- | collect.d/system | 4 | ||||
-rw-r--r-- | debian/changelog | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/collect.d/system b/collect.d/system index 8cf56df..2747d3b 100644 --- a/collect.d/system +++ b/collect.d/system @@ -8,7 +8,9 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin mkdir system && cd system if type dmidecode >/dev/null 2>&1; then - dmidecode > dmidecode + # Throw away error messages. It will print "/dev/mem: mmap: Bad address" + # in Xen machines. + dmidecode > dmidecode 2> /dev/null fi if type lspci >/dev/null 2>&1; then diff --git a/debian/changelog b/debian/changelog index 8f02ddf..146be7d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ sitesummary (0.0.20) UNRELEASED; urgency=low collects /etc/debian_version. * Change the collector to use the mac address from eth1 or eth2 if eth0 isn't usable. + * Throw away error messages from dmidecode when collecting info, to + avoid daily cron mails from Xen machines. -- Petter Reinholdtsen <pere@debian.org> Sun, 19 Nov 2006 21:52:41 +0100 |