[Xymon] Xymon script question

Scot Kreienkamp Scot.Kreienkamp at la-z-boy.com
Wed Jul 5 19:01:52 CEST 2017


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: 734-384-6403 |  |  Mobile: 7349151444 | Email: Scot.Kreienkamp at la-z-boy.com
-----Original Message-----
From: Jaap Winius [mailto:jwinius at umrk.nl]
Sent: Wednesday, July 5, 2017 12:29 PM
To: Scot Kreienkamp <Scot.Kreienkamp at la-z-boy.com>
Cc: xymon at xymon.com
Subject: RE: [Xymon] Xymon script question

Quoting Scot Kreienkamp <Scot.Kreienkamp at la-z-boy.com>:

> ... 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.


More information about the Xymon mailing list