<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div dir="ltr" class="">Login startup items won't do it.  Back before OS X dropped support for system startup items (I think that was gone in Yosemite), they'd have worked, and that's what I used.  Nowadays, a launch daemon plist is the way to go, but I've had little luck with either the MacPorts one (which if I recall, uses an intermediate process to cope with the mismatch between launchd requirements and traditional Unix daemon processes), or one of my own used with a modified runclient.sh that passes through --no-daemon to xymonlaunch.  Mine almost works, but for some reason xymonlaunch when started at boot that way doesn't seem to send any data; I have to kill it and let launchd restart it before it works properly,  I haven't figured that out yet; with only a couple of systems affected, I've just worked around it so far.  In the unlikely event that I get motivated and figure it out, I'll write a message; but you'll probably get there faster if you figure it out for yourself. :-)</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Update: ok, after having it randomly work just to mess with me, I finally rebooted often enough to catch the failure.  BSD style ps let me see xymonlaunch's environment variables, and when it was failing, MACHINEDOTS (and MACHINE) were set to localhost.  In other words, it set those variables too early, before the system had set the proper hostname.  I made some further changes to my already heavily modified runclient.sh, to set MACHINEDOTS and MACHINE after waiting for the network (if an option to do that was passed).  I think it should work now.  And I think the runclient.sh should still work compatibly with the original if none of the new options are passed.</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Here are the files I have.  They have .txt suffixes on the end so that mail filters won't choke on a .sh suffix or whatever.  You need to change the pathname for runclient.sh in the .plist file, and possibly the user and group it runs as (_xymon on mine) and the environment variables it sets up; not sure they're all necessary, but they don't hurt, at least not if they're correct.</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class=""></div></body></html>