How to Change Default polling Interval
list Fosiul Alam
Hi
Currently what ever Interval I set in "clientlaunch", xymon still use 5
minutes Interval
example :-
[TEST]
CMD /xxxxx/ext/test.sh
INTERVAL 50m
ENVFILE xxxxxxt/etc/xymonclient.cfg
LOGFILE xxxxx/logs/xymonclient.log
How can i set this script to execute by xymon every 50 minutes or 2 hours ?
Thanks
list Japheth Cleaver
▸
On Tue, October 14, 2014 6:26 am, Fosiul Alam wrote:
Hi
Currently what ever Interval I set in "clientlaunch", xymon still use 5
minutes Interval
example :-
[TEST]
CMD /xxxxx/ext/test.sh
INTERVAL 50m
ENVFILE xxxxxxt/etc/xymonclient.cfg
LOGFILE xxxxx/logs/xymonclient.log
How can i set this script to execute by xymon every 50 minutes or 2 hours
?
Thanks
Hi,
That looks to be the correct syntax. Can you run xymonlaunch in --debug
mode and see what it's saying? Ordinarily, it should reload your config
file every 30s and adjust its timing appropriately.
Regards,
-jc
list Fosiul Alam
Hi J.C
thanks for reply.
when you say in debug mode, did you mean like this , added --debug in
bellow line ?
[TEST]
CMD /xxxxx/ext/test.sh --debug
INTERVAL 50m
ENVFILE xxxxxxt/etc/xymonclient.cfg
LOGFILE xxxxx/logs/xymonclient.log
On Tue, Oct 14, 2014 at 7:57 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
▸
wrote:
On Tue, October 14, 2014 6:26 am, Fosiul Alam wrote:Hi Currently what ever Interval I set in "clientlaunch", xymon still use 5 minutes Interval example :- [TEST] CMD /xxxxx/ext/test.sh INTERVAL 50m ENVFILE xxxxxxt/etc/xymonclient.cfg LOGFILE xxxxx/logs/xymonclient.log How can i set this script to execute by xymon every 50 minutes or 2 hours ? ThanksHi, That looks to be the correct syntax. Can you run xymonlaunch in --debug mode and see what it's saying? Ordinarily, it should reload your config file every 30s and adjust its timing appropriately. Regards, -jc
--
Regards
Fosiul Alam
list Fosiul Alam
Hi I restarted xymonlaunch with --debug mood $XYMONCLIENTHOME/bin/xymonlaunch --debug --config=$XYMONCLIENTHOME/etc/clientlaunch.cfg --log=$XYMONCLIENTHOME/logs/clientlaunch.log --pidfile=$XYMONCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid now in xymonclient.log 60294 2014-10-14 20:53:17 60294 2014-10-14 20:53:17 Starting tasklist scan 60294 2014-10-14 20:53:22 60294 2014-10-14 20:53:22 Starting tasklist scan 60294 2014-10-14 20:53:27 60294 2014-10-14 20:53:27 Starting tasklist scan 60294 2014-10-14 20:53:32 No files modified, skipping reload of /usr/lib/xymon/client/etc/clientlaunch.cfg 60294 2014-10-14 20:53:32 60294 2014-10-14 20:53:32 Starting tasklist scan 60294 2014-10-14 20:53:37 60294 2014-10-14 20:53:37 Starting tasklist scan 60294 2014-10-14 20:55:32 File /usr/lib/xymon/client/etc/clientlaunch.d/test new timestamp 2014-10-14 20:55:32 Loading tasklist configuration from /usr/lib/xymon/client/etc/clientlaunch.cfg 60294 2014-10-14 20:55:32 Opening file /usr/lib/xymon/client/etc/clientlaunch.cfg 60294 2014-10-14 20:55:32 Opening file /usr/lib/xymon/client/etc/clientlaunch.d/test.sh 60294 2014-10-14 20:55:32 60294 2014-10-14 20:55:32 Starting tasklist scan 60294 2014-10-14 20:55:37
▸
On Tue, Oct 14, 2014 at 7:57 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
wrote:
On Tue, October 14, 2014 6:26 am, Fosiul Alam wrote:Hi Currently what ever Interval I set in "clientlaunch", xymon still use 5 minutes Interval example :- [TEST] CMD /xxxxx/ext/test.sh INTERVAL 50m ENVFILE xxxxxxt/etc/xymonclient.cfg LOGFILE xxxxx/logs/xymonclient.log How can i set this script to execute by xymon every 50 minutes or 2 hours ? ThanksHi, That looks to be the correct syntax. Can you run xymonlaunch in --debug mode and see what it's saying? Ordinarily, it should reload your config file every 30s and adjust its timing appropriately. Regards, -jc
-- Regards Fosiul Alam