[Xymon] How to grab time-since-last-change for a test?

Jeremy Laidman jlaidman at rebel-it.com.au
Thu Nov 15 00:42:10 CET 2012


On 15 November 2012 07:16, Mills, David (IS) <David.Mills at ngc.com> wrote:

>  All –
>
> What is the easiest way to grab the timestamp of the last status change
> for given host / test from a script?
>

Maybe something like this:

xymoncmd xymon localhost 'xymondboard host=hostname test=cpu
fields=hostname,testname,color,lastchange'

For more info, see the "xymondboard" section of the "xymon" man page:
http://xymon.org/xymon/help/manpages/man1/xymon.1.html.

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121115/00bd4ddf/attachment.html>


More information about the Xymon mailing list