Sure, here is what my Rocky Linux 9 server has.  I have 2 servers.  I don't have a /etc/default/xymonlaunch file, but do have /etc/sysconfig/xymonlaunch and /etc/sysconfig/xymon-client files.

Tom

$ cat /etc/sysconfig/xymonlaunch
# Configure xymonlaunch(8) runtime settings here. All other options,
# and flags for other daemons, should be set in the tasks.cfg(5) file.
#
# The destination for the local client's report is set in
# /etc/sysconfig/xymon-client
#
# On systemd systems, --no-daemon is handled in the unit file,
# but the log destination should be set here or output will be sent
# to syslog. On SysV init systems, xymonlaunch output will be devnulled
# if this is unset.

XYMONHOME="/home/xymon/server"
export XYMONHOME
XYMONLAUNCHOPTS="--log=/var/log/xymon/xymonlaunch.log"


$ cat /etc/sysconfig/xymon-client
# Configure the Xymon client settings.

# You MUST set the list of Xymon servers that this
# client reports to.
# It is good to use IP-addresses here instead of DNS
# names - DNS might not work if there's a problem.
#
# E.g. (a single Xymon server)
#   XYMONSERVERS="192.168.1.1"
# or (multiple servers)
#   XYMONSERVERS="10.0.0.1 192.168.1.1"

XYMONSERVERS="192.168.1.35 192.168.1.36"

# The defaults usually suffice for the rest of this file,
# but you can tweak the hostname that the client reports
# data with.
# CLIENTHOSTNAME=""

# Red Hat EL version 3 uses a different vmstat layout
# than all other Linux versions. So for a client running this
# particular OS, set CLIENTOS as below.
# Do NOT set this on any other Red Hat version.
# CLIENTOS="rhel3"

On Wed, Jan 22, 2025 at 5:50 PM Grant Taylor via Xymon <xymon@xymon.com> wrote:
On 7/25/24 10:19 AM, Tom Schmidt wrote:
> [Service]
> EnvironmentFile=-/etc/default/xymonlaunch
> EnvironmentFile=-/etc/sysconfig/xymonlaunch

Can I see a copy of the contents of one or both of those EnvironmentFiles?

I'm dealing with a very similar issue and it seems to be related to the
environment variables not being populated and things that depend on them
failing.

E.g. using a full path in place of $XYMONCLIENTHOME in clientlaunch.cfg
helps.



--
Grant. . . .
unix || die

_______________________________________________
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com