aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--collect.d/system14
-rw-r--r--debian/control3
2 files changed, 12 insertions, 5 deletions
diff --git a/collect.d/system b/collect.d/system
index 4ed132b..8ccfc58 100644
--- a/collect.d/system
+++ b/collect.d/system
@@ -2,11 +2,17 @@
set -e
-mkdir hardware && cd hardware
+mkdir system && cd system
-dmidecode > dmidecode
+if type dmidecode 2>/dev/null; then
+ dmidecode > dmidecode
+fi
+
+if type lspci 2>/dev/null; then
+ lspci > lspci
+ lspci -n > lspci-n
+fi
-lspci > lspci
-lspci -n > lspci-n
uname -smr > uname-smr
+uname -n > hostname
ifconfig -a > ifconfig-a
diff --git a/debian/control b/debian/control
index 76d583e..c2cb4f9 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,8 @@ Description: Generate site summary of submitting hosts, server package
Package: sitesummary-client
Architecture: all
-Depends: dmidecide, pciutils
+Depends: wget
+Recommends: dmidecide, pciutils
Recommends: sitesummary
Description: Generate site summary of submitting hosts, client package
Nice client.