Xymon Mailing List Archive search

how xymon checks the file updates

list Jeremy Laidman
Fri, 1 Nov 2013 10:33:47 +1100
Message-Id: <user-1a9f2b92c912@xymon.invalid>

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 <user-7b03b2a1ee70@xymon.invalid> 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 :-)