Small modification to hobbitclient-linux.sh

Frédéric Mangeant frederic.mangeant at steria.com
Fri Jun 2 14:47:30 CEST 2006


Hi Henrik

hobbitclient-linux.sh uses "uname -a" to report information about the 
OS, which gives something like this :

Linux hades 2.6.14.2 #2 Wed Nov 16 10:14:26 CET 2005 i686 Pentium III 
(Katmai) GNU/Linux

IMHO it would be great to display less information about the running 
kernel and add information about the Linux distribution, something like 
that :

Linux 2.6.14.2 i686 - Gentoo Base System version 1.6.14
Linux 2.6.9-34.EL i686 - CentOS release 4.3 (Final)
Linux 2.4.20-28.7 i686  - Red Hat Linux release 7.3 (Valhalla)
Linux 2.4.26-vs1.28 i686 - Debian 3.1
Linux 2.4.18-64GB-SMP i686 - SuSE Linux 8.0 (i386)

If you like this idea, I've tested the attached "patch" (on top of 
latest snapshot) with RedHat / CentOS, Gentoo, Debian and SuSE.

Regards,

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hobbitclient-linux.diff
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060602/174b8199/attachment.ksh>


More information about the Xymon mailing list