[Xymon] EXT :Re: Timestamp of last xymond read of hosts.cfg?

Mills, David (IS) David.Mills at ngc.com
Tue Jul 23 19:24:42 CEST 2013


Thanks for the reply, Henrik. 

I'm fumbling my way through my first server-side extension, which, in the course of things, programatically manages additions / deletions to one of the contributing include files for hosts.cfg. I'm mostly having success but there are times when clients I'm adding appear on the Ghost Client list report rather than being instantiated as "real hosts" on the page that should be their "home".

I wanted to check that my program is actually sending "xymond" a "kill -HUP" and toward that end I was looking for a timestamp for last-signal-caught I could compare against the "right-now" time.

:-)

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
David Mills
Systems Administrator
Northrop Grumman
(512) 873-6665

________________________________________
From: Xymon [xymon-bounces at xymon.com] on behalf of Henrik Størner [henrik at hswn.dk]
Sent: Tuesday, July 23, 2013 10:57 AM
To: xymon at xymon.com
Subject: EXT :Re: [Xymon] Timestamp of last xymond read of hosts.cfg?

On 22-07-2013 19:20, Mills, David (IS) wrote:
> I'm really sorry if this is already staring me in the face, but
> what's the easiest way to extract the timestamp of the last time
> xymond successfully read in the hosts.cfg configuration data?
[...]
> I need to determine this info programatically. I'm guessing it will
> be embedded in some form of the "xymon ... "xymondboard ...""
> command. (...or??)

There really is no way of doing that. xymond doesn't have a way of
telling you that, since I did not know it would be of use to anyone.

In fact, xymond doesn't even track this information at all.

What do you need it for ?


Regards,
Henrik
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon



More information about the Xymon mailing list