[Xymon] Status lifetime - where?

John Horne john.horne at plymouth.ac.uk
Wed May 9 17:52:27 CEST 2012


On Wed, 2012-05-09 at 10:36 -0400, Ralph Mitchell wrote:
> I don't recall seeing that on a xymon web page, but it's available
> from the command line:
> 
> 
>      xymon localhost "xymondboard fields=hostname,testname,validtime"
> 
> 
> validtime is the unix timestamp in seconds when the status is no
> longer valid.  Past that time, it turns purple.  Subtract that from
> "date +%s" and divide by 60 to get minutes.
> 
Thanks for this. However, what I think I need is to see where the
'validtime' is actually stored.

I'm getting a little odd situation where if I send a status with a
lifetime, then send a second status with a shorter lifetime, when that
second one expires I then get a purple report. I *think* that is what is
happening, I'm still testing it but getting a bit confused. I'll
probably need to start from scratch (with a green status) tomorrow.

The above xymon command shows that when the second lifetime expires the
(reported) lifetime suddenly becomes the current time rather than the
first lifetime or even the current time plus 30 mins. Hence, I would
like to see what is actually being stored.




John.

-- 
John Horne                   Tel: +44 (0)1752 587287
Plymouth University, UK      Fax: +44 (0)1752 587001



More information about the Xymon mailing list