client on a sever config?
list Frank Torontour
???? 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
list Richard L. Hamilton
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
list Frank Torontour
?? Ok thank you. ?? One of the plugins/scripts I have running checks the mdstat of many of the linux commands like passwd, ps,ls.? Someone tries to play with these and other commands the sums will change and I will get paged. Just some info for you and others.
▸
On 9/27/19 12:37 PM, Richard L. Hamilton wrote: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 5mOn Sep 27, 2019, at 09:58, Frank <user-fbc5ef527f6f@xymon.invalid <mailto: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 <http://cronomagic.com/gemstelecom.com>; e-mail ?user-fbc5ef527f6f@xymon.invalid <mailto:user-fbc5ef527f6f@xymon.invalid> POWERED BY LINUX
-- sysadm cronomagic.com/gemstelecom.com e-mail user-fbc5ef527f6f@xymon.invalid POWERED BY LINUX
list Adam Goryachev
▸
On 28/9/19 02:50, Frank wrote:
?? Ok thank you. ?? One of the plugins/scripts I have running checks the mdstat of many of the linux commands like passwd, ps,ls.? Someone tries to play with these and other commands the sums will change and I will get paged. Just some info for you and others.
I assume you mean MD5sum, not mdstat which is generally checking that status of your MD (linux software RAID). Regards, Adam
▸
On 9/27/19 12:37 PM, Richard L. Hamilton wrote: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 5mOn Sep 27, 2019, at 09:58, Frank <user-fbc5ef527f6f@xymon.invalid <mailto: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 <http://cronomagic.com/gemstelecom.com>; e-mail ?user-fbc5ef527f6f@xymon.invalid <mailto:user-fbc5ef527f6f@xymon.invalid> POWERED BY LINUX-- sysadm cronomagic.com/gemstelecom.com
user-3a42a2ba864a@xymon.invalid
POWERED BY LINUX