diff options
-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 |