On Fri, February 13, 2015 10:20 am, Ribeiro, Glauber wrote:
I think I got itâ¦
Changed to
INTERVAL 60
(i.e. 60 seconds) and it is working. Not sure why the â1mâ didnât. I
see that syntax elsewhere in tasks.cfg.
g
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ribeiro,
Glauber
Sent: Friday, February 13, 2015 12:15
To: xymon at xymon.com
Subject: [Xymon] Running server-side custom test more often than every 5
minutes
I have the a server side test that my manager wants to run once a minute.
I set it up in (a file included by) tasks.cfg, like this:
[VHRPING]
ENVFILE /usr/local/xymon/server/etc/xymonserver.cfg
NEEDS xymond
CMD /usr/local/xymon/server/ext/bbvhr_rrd.sh
LOGFILE $XYMONSERVERLOGS/vhrping.log
INTERVAL 5m
I changed this so the last line reads
INTERVAL 1m
but it still seems to be running only every 5 minutes.
Is there anything else I need to change in order to run this test once a
minute?
(Xymon version 4.3.10)
Hmm.
1m *should* be a valid syntax since, as you'd indicated, it's used
elsewhere. The appropriate parts are in xymonlaunch.c as well, even in
4.3.10.
You mentioned it was an include file; I seem to recall occasional issues
back then where include'd files didn't always get walked for changes, but
my testing shows this to be working.
Do you know about how long xymonlaunch was running it in 5m intervals
after having changed it to 1m?
Regards,
-jc