You could probably run both client and server configurations simultaneously, but that's not efficient.
So those entries end up in the server portion's etc/tasks.cfg (instead of in clientlaunch.cfg as on all other clients). Here's a couple of custom entries I have there, the first for a server side ext (monitoring some smart plugs) the 2nd for a client side volume management ext to run on the server. Note the different environment variables, esp XYMONHOME (server side ext) vs XYMONCLIENTHOME (client side ext)
[devstat]
ENVFILE $XYMONHOME/etc/xymonserver.cfg
CMD $XYMONHOME/ext/devstat
LOGFILE $XYMONSERVERLOGS/devstat.log
INTERVAL 5m
[volmgt]
ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
NEEDS xymond
CMD $XYMONCLIENTHOME/ext/volmgt
LOGFILE $XYMONCLIENTHOME/logs/volmgt.log
INTERVAL 5m
On Sep 27, 2019, at 09:58, Frank <user-fbc5ef527f6f@xymon.invalid> wrote:
I have a server running xymon-4.3.28. For the clients that send data to this
machine I have a number of plugins configured on the client machines in the
ext directory and configured in the etc/clientlaunch.cfg file. Can someone tell
me how to configure the server to add plugins the same way. Or is it not done
this way. I see no clientlaunch.cfg file. Everything is working for the client part of
the server like disk and cpu.
--
sysadm cronomagic.com/gemstelecom.com
e-mail user-fbc5ef527f6f@xymon.invalid
POWERED BY LINUX