Xymon Mailing List Archive search

New xymon Feature

list Jef Jagers
Fri, 12 Oct 2012 07:54:04 +0000
Message-Id: <user-f28936c2efdd@xymon.invalid>

Hi Jeremy,

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

Regards,
Jef Jagers

From: Jeremy Laidman [mailto:user-71895fb2e44c@xymon.invalid]
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, <user-a78daed26301@xymon.invalid<mailto:user-a78daed26301@xymon.invalid>> 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