diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2008-07-04 07:38:36 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2008-07-04 07:38:36 +0000 |
commit | 68d73aa3dd382c01a906e0e23ff27a13c9690c4e (patch) | |
tree | 9719a2538c72313c9301d9780581b7b96ea8656d /collect.d | |
parent | e1e6b1dd39c60ea24988df73c8c54f2319d68ff2 (diff) | |
download | sitesummary-68d73aa3dd382c01a906e0e23ff27a13c9690c4e.tar.gz sitesummary-68d73aa3dd382c01a906e0e23ff27a13c9690c4e.tar.bz2 sitesummary-68d73aa3dd382c01a906e0e23ff27a13c9690c4e.tar.xz |
* Collect the current route table and if the host is a laptop.
Diffstat (limited to 'collect.d')
-rw-r--r-- | collect.d/system | 5 |
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 |