Xymon Mailing List Archive search

Sever script

3 messages in this thread

list Joshua Hunt · Mon, 27 Jun 2016 11:31:28 -0700 ·
Hi all,

I'm slightly confused as to where I store the configuration for a server
script. From what I can find, I should store the script in
~/xymon/server/ext/myscript, and I should store the configuration in
~/xymon/server/etc/xymonlaunch.cfg. However, the /xymonlaunch.cfg does not
exist in this location.

Anyone happen to where I configure my test? Thanks!

Joshua
list Josh Luthman · Mon, 27 Jun 2016 14:35:14 -0400 ·
Should be

~user/server/ext/script.sh

~user/server/etc/hobbitlaunch.cfg or xymonlaunch.cfg

This file should start with:
[xymond]
        ENVFILE /home/user/server/etc/hobbitserver.cfg


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Mon, Jun 27, 2016 at 2:31 PM, Joshua Hunt <user-826c29d13219@xymon.invalid>
quoted from Joshua Hunt
wrote:
Hi all,

I'm slightly confused as to where I store the configuration for a server
script. From what I can find, I should store the script in
~/xymon/server/ext/myscript, and I should store the configuration in
~/xymon/server/etc/xymonlaunch.cfg. However, the /xymonlaunch.cfg does not
exist in this location.

Anyone happen to where I configure my test? Thanks!

Joshua

list Jeremy Laidman · Tue, 28 Jun 2016 00:40:09 +0000 ·
On Tue, Jun 28, 2016 at 4:35 AM Josh Luthman <user-4c45a83f15cb@xymon.invalid>
wrote:
Should be

~user/server/ext/script.sh

~user/server/etc/hobbitlaunch.cfg or xymonlaunch.cfg
For Hobbit, yes.  But for Xymon, the file is called tasks.cfg, and it
includes files in the tasks.d directory.  On a package installation it's
typically located in /etc/xymon/ and ~xymon/server/etc/ is a symlink to
/etc/xymon/.  Either way ~xymon/server/etc/ should get you there.
quoted from Josh Luthman

This file should start with:
[xymond]
        ENVFILE /home/user/server/etc/hobbitserver.cfg


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Mon, Jun 27, 2016 at 2:31 PM, Joshua Hunt <user-826c29d13219@xymon.invalid>
wrote:
Hi all,

I'm slightly confused as to where I store the configuration for a server
script. From what I can find, I should store the script in
~/xymon/server/ext/myscript, and I should store the configuration in
~/xymon/server/etc/xymonlaunch.cfg. However, the /xymonlaunch.cfg does not
exist in this location.

Anyone happen to where I configure my test? Thanks!

Joshua