[Xymon] Call for 4.3.29 Patches
Japheth Cleaver
cleaver at terabithia.org
Fri Apr 12 22:03:58 CEST 2019
On 4/11/2019 11:20 PM, Andy Smith wrote:
> Hi JC,
>
> On Tue, Mar 26, 2019 at 01:37:32PM -0700, Japheth Cleaver wrote:
> > I'm pushing for a release of 4.3.29 relatively soon.
>
> These 2 changes allow you to run the client from a shared directory.
>
> *** ./client/runclient.sh.FCS Wed Jan 27 21:12:32 2016
> --- ./client/runclient.sh Fri Apr 12 07:14:38 2019
> ***************
> *** 86,92 ****
> rm -f $XYMONCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid
> fi
>
> ! $XYMONCLIENTHOME/bin/xymonlaunch
> --config=$XYMONCLIENTHOME/etc/clientlaunch.cfg
> --log=$XYMONCLIENTHOME/logs/clientlaunch.log
> --pidfile=$XYMONCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid
> if test $? -eq 0; then
> echo "Xymon client for $SERVEROSTYPE started on
> $MACHINEDOTS"
> else
> --- 86,92 ----
> rm -f $XYMONCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid
> fi
>
> ! $XYMONCLIENTHOME/bin/xymonlaunch
> --config=$XYMONCLIENTHOME/etc/clientlaunch.cfg
> --log=$XYMONCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.log
> --pidfile=$XYMONCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid
> if test $? -eq 0; then
> echo "Xymon client for $SERVEROSTYPE started on
> $MACHINEDOTS"
> else
>
> *** ./client/clientlaunch.cfg.FCS Wed Apr 10 09:40:32 2019
> --- ./client/clientlaunch.cfg Fri Apr 12 07:14:55 2019
> ***************
> *** 17,28 ****
> DISABLED
> ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
> CMD $XYMONCLIENTHOME/bin/msgcache --no-daemon
> --pidfile=$XYMONCLIENTLOGS/msgcache.pid
> ! LOGFILE $XYMONCLIENTLOGS/msgcache.log
>
> # The main client task
> [client]
> ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
> CMD $XYMONCLIENTHOME/bin/xymonclient.sh
> ! LOGFILE $XYMONCLIENTLOGS/xymonclient.log
> INTERVAL 5m
>
> --- 17,28 ----
> DISABLED
> ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
> CMD $XYMONCLIENTHOME/bin/msgcache --no-daemon
> --pidfile=$XYMONCLIENTLOGS/msgcache.pid
> ! LOGFILE $XYMONCLIENTLOGS/msgcache.$MACHINEDOTS.log
>
> # The main client task
> [client]
> ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
> CMD $XYMONCLIENTHOME/bin/xymonclient.sh
> ! LOGFILE $XYMONCLIENTLOGS/xymonclient.$MACHINEDOTS.log
> INTERVAL 5m
>
Hmm. The patch makes sense, but is there a particular rw use case you
guys are using for this with shared log file directories? This would
likely require changes to log rotation configs too.
-jc
More information about the Xymon
mailing list