On my server (RedHat based, so YMMV) I generally put a file in /etc/xymon/tasks.d, one file for each external script. Same format as for clientlaunch though.
Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | | Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid
-----Original Message-----
From: Jaap Winius [mailto:user-16708c3648e1@xymon.invalid]
Sent: Wednesday, July 5, 2017 12:29 PM
To: Scot Kreienkamp <user-9678697f1438@xymon.invalid>
Cc: xymon at xymon.com
Subject: RE: [Xymon] Xymon script question
Quoting Scot Kreienkamp <user-9678697f1438@xymon.invalid>:
... like so: xymoncmd ./$YOURTESTNAMEHERE.
Ah, that works. And the script seems to be behaving itself.
I've never run scripts in the client instance on the xymon server
itself, I've always run them in the server instance and they've
worked exactly like on a client. I think the client is called
differently on a xymon server and may not process the ext scripts
the same as on a non-server instance of xymon. ...
If I place the script in the /usr/lib/xymon/server/ext/ directory as
well, nothing happens. I had earlier modified
/etc/xymon/clientlaunch.cfg as I did on the other client systems, to
let Xymon know about the script, but I guess that isn't the correct
approach on a Xymon server, is it?
Cheers,
Jaap
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.