aboutsummaryrefslogtreecommitdiffstats
path: root/collect.d/system
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2007-12-01 13:14:21 +0000
committerPetter Reinholdtsen <pere@hungry.com>2007-12-01 13:14:21 +0000
commitc469022db1c9ae932fa95cd45613f670281a8255 (patch)
tree90b7697e15dc6cc285aded428a31d94774b2987d /collect.d/system
parentaf40ebd51286fd8a7510767a044b40b751bf89d9 (diff)
downloadsitesummary-c469022db1c9ae932fa95cd45613f670281a8255.tar.gz
sitesummary-c469022db1c9ae932fa95cd45613f670281a8255.tar.bz2
sitesummary-c469022db1c9ae932fa95cd45613f670281a8255.tar.xz
* Collect loaded kernel modules, to ease nagios autoconfiguration.
* Add >180 days to the agesinceseen-summary list, for really old entries.
Diffstat (limited to 'collect.d/system')
-rw-r--r--collect.d/system4
1 files changed, 4 insertions, 0 deletions
diff --git a/collect.d/system b/collect.d/system
index 61af269..50c8ce3 100644
--- a/collect.d/system
+++ b/collect.d/system
@@ -26,6 +26,10 @@ if type lsscsi >/dev/null 2>&1; then
lsscsi > lsscsi
fi
+if type lsmod >/dev/null 2>&1; then
+ lsmod > lsmod
+fi
+
uname -smr > uname-smr
uname -n > hostname
ifconfig -a > ifconfig-a