aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--collect.d/system5
-rw-r--r--debian/changelog1
2 files changed, 6 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
diff --git a/debian/changelog b/debian/changelog
index 785b2cc..76e3f59 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ sitesummary (0.0.43) UNRELEASED; urgency=low
* Fix the code running collector handlers, to get it working when
the perl script is in tained mode.
+ * Collect the current route table and if the host is a laptop.
-- Petter Reinholdtsen <pere@debian.org> Fri, 13 Jun 2008 21:40:49 +0200