[Xymon] How to Change Default polling Interval

Fosiul Alam fosiul at gmail.com
Tue Oct 14 22:02:03 CEST 2014


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 <cleaver at terabithia.org>
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
> > ?
> >
> > 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
>
>
>


-- 
Regards
Fosiul Alam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141014/e6662b14/attachment.html>


More information about the Xymon mailing list