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 /collect.d/system | |
| 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.
Diffstat (limited to 'collect.d/system')
| -rw-r--r-- | collect.d/system | 4 | 
1 files changed, 3 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  | 
