[Xymon] New xymon Feature

jef.jagers at thomsonreuters.com jef.jagers at thomsonreuters.com
Fri Oct 12 09:54:04 CEST 2012


Hi Jeremy,

Thanks for the suggestion.
Looks good as well. Let me try this one.

Regards,
Jef Jagers

From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]
Sent: vrijdag, oktober 12, 2012 8:35
To: Jagers, Jef (TR Technology)
Cc: xymon at xymon.com
Subject: Re: [Xymon] New xymon Feature

On 11 October 2012 20:52, <jef.jagers at thomsonreuters.com<mailto:jef.jagers at thomsonreuters.com>> wrote:

This because we successfully made some adjustments to the source code of that version to allow two new columns to show for linux based servers (For windows machines this is already implemented). It concerns the Timediff and uptime columns, that we split from the cpu column.

What you could do is implement this in a script, perhaps launched from tasks.cfg as a channel worker.  Something like this:

tasks.cfg:
[timediff]
        ENVFILE /usr/lib/xymon/server/etc/xymonserver.cfg
        NEEDS xymond
        CMD xymond_channel --channel=status --filter='\|cpu\|' --log=$XYMONSERVERLOGS/timediff.log timediff.sh

Then in timediff.sh, you just split out the two parameters from what you find, and then create two new status messages for timediff and uptime.

J

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121012/a361e8de/attachment.html>


More information about the Xymon mailing list