aboutsummaryrefslogtreecommitdiffstats
path: root/collect.d/system
diff options
context:
space:
mode:
Diffstat (limited to 'collect.d/system')
-rw-r--r--collect.d/system5
1 files changed, 5 insertions, 0 deletions
diff --git a/collect.d/system b/collect.d/system
index 3465216..24590d3 100644
--- a/collect.d/system
+++ b/collect.d/system
@@ -33,6 +33,7 @@ fi
uname -smr > uname-smr
uname -n > hostname
ifconfig -a > ifconfig-a
+route -n > route-n
cat /proc/cpuinfo > cpuinfo
# Collect mount points, for nagios configuration
@@ -42,3 +43,7 @@ cat /proc/mounts > procmounts
# Document current runlevel, useful to differenciate LTSP
# thin clients from diskless workstations.
runlevel > runlevel
+
+if [ -x /usr/sbin/laptop-detect ] && /usr/sbin/laptop-detect; then
+ touch laptop
+fi