diff options
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 |