aboutsummaryrefslogtreecommitdiffstats
path: root/collect.d/system
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2007-11-24 08:42:20 +0000
committerPetter Reinholdtsen <pere@hungry.com>2007-11-24 08:42:20 +0000
commit3dde5beda0f6d9f5030ec5a4a74020e2d212f811 (patch)
tree4c08ba4e12301965dd4adedebed2e99fb08d0eac /collect.d/system
parent71685db0dc940b801c30818f41c2cab58b09f39d (diff)
downloadsitesummary-3dde5beda0f6d9f5030ec5a4a74020e2d212f811.tar.gz
sitesummary-3dde5beda0f6d9f5030ec5a4a74020e2d212f811.tar.bz2
sitesummary-3dde5beda0f6d9f5030ec5a4a74020e2d212f811.tar.xz
Collect /proc/mounts and /etc/fstab in system, for use when generating checks for the file systems.
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 2747d3b..61af269 100644
--- a/collect.d/system
+++ b/collect.d/system
@@ -30,3 +30,7 @@ uname -smr > uname-smr
uname -n > hostname
ifconfig -a > ifconfig-a
cat /proc/cpuinfo > cpuinfo
+
+# Collect mount points, for nagios configuration
+cp /etc/fstab fstab
+cat /proc/mounts > procmounts