Xymon Mailing List Archive search

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

list Jeremy Laidman
Thu, 15 Nov 2012 10:42:10 +1100
Message-Id: <user-02f0877b24c1@xymon.invalid>

On 15 November 2012 07:16, Mills, David (IS) <user-eb64c112f0e9@xymon.invalid> 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