On 15 November 2012 07:16, Mills, David (IS) <span dir="ltr"><<a href="mailto:David.Mills@ngc.com" target="_blank">David.Mills@ngc.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">








<div>
<font face="Calibri"><span style="font-size:11pt">
<div>All –</div>
<div> </div>
<div>What is the easiest way to grab the timestamp of the last status change for given host / test from a script?</div></span></font></div></blockquote><div><br></div><div>Maybe something like this:</div><div><br></div><div>

xymoncmd xymon localhost 'xymondboard host=hostname test=cpu fields=hostname,testname,color,lastchange'</div><div><br></div><div>For more info, see the "xymondboard" section of the "xymon" man page: <a href="http://xymon.org/xymon/help/manpages/man1/xymon.1.html">http://xymon.org/xymon/help/manpages/man1/xymon.1.html</a>.</div>

<div><br></div><div>J</div><div><br></div></div>