Xymon Mailing List Archive search

Another feature wish

3 messages in this thread

list Becker Christian · Wed, 5 Mar 2014 08:38:04 +0000 ·
Hello out there,

i'm asking if it would be possible to implement a mechanism to generate a release info for a monitored Linux / Unix client node.
For example, that we have the full real name of the operating system, for example on the Info page.

For one example out of my currently 101 Linux servers, there's only a line saying simply "SUSE LINUX 11", but if I login to the server and look into the file /etc/issue, I see that the OS relase is "SUSE Linux Enterprise Server 11 SP3".

Sure, I could go ahead and write a script that provides me with a separate column containing this info, but i was wondering if it would be easy to implement into the Xymon basics?

Regards
Christian

CHRISTIAN BECKER
System Engineer
CSC

Global Outsourcing Services Central Region  |   www.csc.com<http://www.csc.com>;


CSC * This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose * CSC Deutschland Services GmbH * Registered Office: Abraham-Lincoln-Park 1, 65189 Wiesbaden, Germany * Board of Directors: Thomas Nebe, Peter Schmidt * Registered in Germany: HRB 7574, Wiesbaden
list Henrik Størner · Wed, 05 Mar 2014 10:27:30 +0100 ·
quoted from Becker Christian
 
Den 2014-03-05 9:38, Becker Christian skrev: 
i'm asking if it
would be possible to implement a mechanism to generate a release info
for a monitored Linux / Unix client node. 

For example, that we
have the full real name of the operating system, for example on the Info
page. 

For one example out of my currently 101 Linux servers,
there's only a line saying simply "SUSE LINUX 11", but if I login to the
server and look into the file /etc/issue, I see that the OS relase is
"SUSE Linux Enterprise Server 11 SP3".

SUSE is handled a bit special,
and I am not really sure why. If you look at the xymonclient-linux.sh
script, then it does pick up some info from /etc/S?SE-release - but it
does an 'egrep' so it doesn't pick up the details like patchlevel. 
On
top of that, the data on the "info" page truncates it so only the first
line of the data is shown - even if there are more lines in the client
data. 
None of this is difficult to change, so I will do so - but you
will have to update the Xymon client script on your servers,
unfortunately. 
Regards,
Henrik
list Becker Christian · Wed, 5 Mar 2014 10:49:28 +0000 ·
Henrik,

sounds good – if your time gives you the place to implement this – would be great.

I just want to read something about it as soon as it is implemented – it’s nothing urgent for me.

Thanks, regards
signature
Christian

CHRISTIAN BECKER
System Engineer
CSC

Global Outsourcing Services Central Region  |  www.csc.com<http://www.csc.com>;

quoted from Henrik Størner
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Mittwoch, 5. März 2014 10:28
To: xymon at xymon.com
Subject: Re: [Xymon] Another feature wish


Den 2014-03-05 9:38, Becker Christian skrev:
i’m asking if it would be possible to implement a mechanism to generate a release info for a monitored Linux / Unix client node.
For example, that we have the full real name of the operating system, for example on the Info page.
For one example out of my currently 101 Linux servers, there’s only a line saying simply “SUSE LINUX 11”, but if I login to the server and look into the file /etc/issue, I see that the OS relase is “SUSE Linux Enterprise Server 11 SP3”.

SUSE is handled a bit special, and I am not really sure why. If you look at the xymonclient-linux.sh script, then it does pick up some info from /etc/S?SE-release - but it does an 'egrep' so it doesn't pick up the details like patchlevel.

On top of that, the data on the "info" page truncates it so only the first line of the data is shown - even if there are more lines in the client data.

None of this is difficult to change, so I will do so - but you will have to update the Xymon client script on your servers, unfortunately.


Regards,
Henrik


CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose • CSC Deutschland Services GmbH • Registered Office: Abraham-Lincoln-Park 1, 65189 Wiesbaden, Germany • Board of Directors: Thomas Nebe, Peter Schmidt • Registered in Germany: HRB 7574, Wiesbaden