ascertaining the xymon server used

Ian Diddams didds3 at yahoo.co.uk
Mon Feb 17 11:06:21 CET 2020


scenario:  multiple xymon clients across several environments and linux OS. An unrelated script (ir not xymon related) run as root user, however does need to ascertain the xymon server IP for various system checks.

Is there any "easy" or "simple" manner than can be scripted to ascertain this?  Without some really convuluted logic checking various configuration files that appear to (environment , OS etc dependent) to be in various places ie not always ~xymon/client/etc/xymonclient.cfg, which may then use an include on eg /etc/sysconfig/xymon-client... 

thoughts?
ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20200217/f898c79f/attachment.htm>


More information about the Xymon mailing list