xymon

Check-in [fdbd4b901c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Linux client: Fix cases where the root filesystem appears mounted on "/dev/root" instead of the real disk device. git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.11@7172 44351d6e-118b-4698-b696-ce33095ecaa4
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | origin/4.3.11
Files: files | file ages | folders
SHA3-256: fdbd4b901c99737a9523efc480777b18613c0d85e418dfb8e5c3a549e05d381c
User & Date: storner@users.sf.net 2012-11-14 11:32:41
Context
2012-11-14
11:34
trends webpage: Fix case where hostname disappears after zoom. git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.11@7173 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: bb26138f52 user: storner@users.sf.net tags: trunk, origin/4.3.11
11:32
Linux client: Fix cases where the root filesystem appears mounted on "/dev/root" instead of the real disk device. git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.11@7172 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: fdbd4b901c user: storner@users.sf.net tags: trunk, origin/4.3.11
11:31
Tips: add section showing how to send data without the xymon client installed. git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.11@7171 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: 7b59a65682 user: storner@users.sf.net tags: trunk, origin/4.3.11
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to client/xymonclient-linux.sh.

41
42
43
44
45
46
47
48

49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
	cat /etc/arch-release
fi
echo "[uptime]"
uptime
echo "[who]"
who
echo "[df]"
EXCLUDES=`cat /proc/filesystems | grep nodev | awk '{print $2}' | xargs echo | sed -e 's! ! -x !g'`

df -Pl -x iso9660 -x $EXCLUDES | sed -e '/^[^ 	][^ 	]*$/{
N
s/[ 	]*\n[ 	]*/ /
}'
echo "[inode]"
df -Pil -x iso9660 -x $EXCLUDES | sed -e '/^[^ 	][^ 	]*$/{
N
s/[ 	]*\n[ 	]*/ /
}'
echo "[mount]"
mount
echo "[free]"
free
echo "[ifconfig]"
/sbin/ifconfig
echo "[route]"







|
>



|




|







41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
	cat /etc/arch-release
fi
echo "[uptime]"
uptime
echo "[who]"
who
echo "[df]"
EXCLUDES=`cat /proc/filesystems | grep nodev | grep -v rootfs | awk '{print $2}' | xargs echo | sed -e 's! ! -x !g'`
ROOTFS=`readlink -m /dev/root`
df -Pl -x iso9660 -x $EXCLUDES | sed -e '/^[^ 	][^ 	]*$/{
N
s/[ 	]*\n[ 	]*/ /
}' -e "s&^rootfs&${ROOTFS}&"
echo "[inode]"
df -Pil -x iso9660 -x $EXCLUDES | sed -e '/^[^ 	][^ 	]*$/{
N
s/[ 	]*\n[ 	]*/ /
}' -e "s&^rootfs&${ROOTFS}&"
echo "[mount]"
mount
echo "[free]"
free
echo "[ifconfig]"
/sbin/ifconfig
echo "[route]"