[Xymon] how xymon checks the file updates
Jeremy Laidman
jlaidman at rebel-it.com.au
Fri Nov 1 00:33:47 CET 2013
Every 30 seconds, Xymon (xymonlaunch, xymond, or whatever) will check the
timestamp (the mtime) of each configuration file relevant to the process.
If the file is newer than the last time it was looked at, or if the size
of the file has changed since the last time, or if the file has been
removed, then the process will reload (I think) all of its configuration
files.
I'm pretty sure there are some exceptions to this. For example, I think
changes to xymonserver.cfg will not be activated until the running
processes that depend on settings in that file are re-launched.
J
On 31 October 2013 18:26, deepak deore <deepakdeore2004 at gmail.com> wrote:
> I wonder how xymon come to know that the configuration file is changed ?
>
> I have one task where if a user uploads files from browser, one job should
> run. I have access to the folder where the files are uploaded.
> So want to know the logic how xymon checks the file updates.If possible I
> can implement the same thing :-)
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131101/70672dd1/attachment.html>
More information about the Xymon
mailing list