Xymon Mailing List Archive search

clientlaunch.d

5 messages in this thread

list Galen Johnson · Tue, 23 Sep 2014 10:03:06 -0400 ·
Hey,

Does the does the xymon client allow the use of includes?  For example, can
you add the include clientlaunch.d/*.cfg to allow it to read the client
tasks?  I don't see anything obvious in the man page but the fact that it
refers you to the tasks.cfg hints that it should.

thanks

=G=
list Japheth Cleaver · Tue, 23 Sep 2014 07:38:36 -0700 ·
quoted from Galen Johnson
On Tue, September 23, 2014 7:03 am, Galen Johnson wrote:
Hey,

Does the does the xymon client allow the use of includes?  For example,
can
you add the include clientlaunch.d/*.cfg to allow it to read the client
tasks?  I don't see anything obvious in the man page but the fact that it
refers you to the tasks.cfg hints that it should.
Yep! Virtually any file (except cgioptions.cfg) can use the include or
directory (which is probably what you want) options to bring in additional
configuration bits. They can be nested down as well.

Regards,

-jc
list Galen Johnson · Tue, 23 Sep 2014 13:45:05 -0400 ·
Yeah...didn't work for me...the log file shows it didn't even try...

On Tue, Sep 23, 2014 at 10:38 AM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
quoted from Japheth Cleaver
wrote:
On Tue, September 23, 2014 7:03 am, Galen Johnson wrote:
Hey,

Does the does the xymon client allow the use of includes?  For example,
can
you add the include clientlaunch.d/*.cfg to allow it to read the client
tasks?  I don't see anything obvious in the man page but the fact that it
refers you to the tasks.cfg hints that it should.
Yep! Virtually any file (except cgioptions.cfg) can use the include or
directory (which is probably what you want) options to bring in additional
configuration bits. They can be nested down as well.

Regards,

-jc

list Galen Johnson · Tue, 23 Sep 2014 13:50:53 -0400 ·
I wonder if it has to do with trying it on the server and using the
xymon-server script...
quoted from Galen Johnson

On Tue, Sep 23, 2014 at 1:45 PM, Galen Johnson <user-fc632e705d24@xymon.invalid> wrote:
Yeah...didn't work for me...the log file shows it didn't even try...

On Tue, Sep 23, 2014 at 10:38 AM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
wrote:
On Tue, September 23, 2014 7:03 am, Galen Johnson wrote:
Hey,

Does the does the xymon client allow the use of includes?  For example,
can
you add the include clientlaunch.d/*.cfg to allow it to read the client
tasks?  I don't see anything obvious in the man page but the fact that
it
refers you to the tasks.cfg hints that it should.
Yep! Virtually any file (except cgioptions.cfg) can use the include or
directory (which is probably what you want) options to bring in additional
configuration bits. They can be nested down as well.

Regards,

-jc

list Galen Johnson · Tue, 23 Sep 2014 13:55:54 -0400 ·
yep...that was it...I ran the runclient.sh script and it worked as
expected...now I need to look more closely at the server service...
quoted from Galen Johnson

On Tue, Sep 23, 2014 at 1:50 PM, Galen Johnson <user-fc632e705d24@xymon.invalid> wrote:
I wonder if it has to do with trying it on the server and using the
xymon-server script...

On Tue, Sep 23, 2014 at 1:45 PM, Galen Johnson <user-fc632e705d24@xymon.invalid>
wrote:
Yeah...didn't work for me...the log file shows it didn't even try...

On Tue, Sep 23, 2014 at 10:38 AM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
wrote:
On Tue, September 23, 2014 7:03 am, Galen Johnson wrote:
Hey,

Does the does the xymon client allow the use of includes?  For example,
can
you add the include clientlaunch.d/*.cfg to allow it to read the client
tasks?  I don't see anything obvious in the man page but the fact that
it
refers you to the tasks.cfg hints that it should.
Yep! Virtually any file (except cgioptions.cfg) can use the include or
directory (which is probably what you want) options to bring in
additional
configuration bits. They can be nested down as well.

Regards,

-jc