[Xymon] Tests for the xymon-server
Rolands at logicaltech.com.au
Wed Oct 24 22:48:43 CEST 2012
That works perfectly.
I think Ryan is correct in saying that this should be included by default.
You expect it to behave as any client.
I couldn't find any reference about the include statement in any docs I looked in!
Man page for tasks.cfg doesn't have anything.
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of henrik at hswn.dk
Sent: Wednesday, 24 October 2012 10:56 PM
To: xymon at xymon.com
Subject: Re: [Xymon] Tests for the xymon-server
you could add your extra tests to clientlaunch.cfg, but by default this file is not included in the config read from tasks.cfg.
So either add your extra tests directly in tasks.cfg, or add
to your tasks.cfg file.
On Tue, 23 Oct 2012 22:03:15 +0000, Roland Soderstrom
<Rolands at logicaltech.com.au> wrote:
> Then what could be the problem?
> I obviously missed something.
> I got the same issue on 4.3.5 and 4.3.10
> I find nothing in the server logs.
> There are no client-logs in client/logs (even though specified)
> I double checked the vars and they are working.
> xymon at host % /usr/local/xymon/client/bin/xymoncmd
> 2012-10-24 08:22:40 Using default environment file
> $ echo $XYMONCLIENTHOME/logs
> In client/etc/clientlaunch.cfg
> ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg
> CMD $XYMONCLIENTHOME/ext/xymon-prtdiag.ksh
> LOGFILE $XYMONCLIENTHOME/logs/xymon-prtdiag.log
> INTERVAL 5m
> It does all the normal client tests, client/tmp has all the normal
> client-tmp stuff
> root at pxym01:/usr/local/xymon/server/etc# pargs 9868
> 9868: xymond_channel --channel=client
> --log=/usr/local/xymon/logs/clientdata.log xymo
> argv: xymond_channel
> argv: --channel=client
> argv: --log=/usr/local/xymon/logs/clientdata.log
> argv: xymond_client
> root at pxym01:/usr/local/xymon/server/etc# tail
> 2012-09-21 13:28:38 Peer not up, flushing message queue
> 2012-10-24 08:16:05 Peer not up, flushing message queue
> 2012-10-24 08:25:43 Peer not up, flushing message queue
> root at pxym01:/usr/local/xymon/server/etc#
> - Roland
> -----Original Message-----
> From: Novosielski, Ryan [mailto:novosirj at umdnj.edu]
> Sent: Tuesday, 23 October 2012 3:37 PM
> To: Roland Soderstrom
> Cc: xymon at xymon.com
> Subject: Re: [Xymon] Tests for the xymon-server
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 10/22/2012 07:03 PM, Roland Soderstrom wrote:
>> I am a bit confused on how to add extra tests to the xymon-server
>> In server/etc/tasks,cfg
>> I run the [xymonclient]
>> If I would like to add some other tests like ZFS and prtdiag I would
>> have though I add them as in any client in
>> But to get these tests work I have to add them in server/etc/tasks,cfg
>> What am I missing?
> I'm pretty sure you don't need to do that. The client should read
> clientlaunch and run what's in the cfg.
> - --
> - ---- _ _ _ _ ___ _ _ _
> |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer
> |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
> \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
> -----END PGP SIGNATURE-----
> Xymon mailing list
> Xymon at xymon.com
Xymon mailing list
Xymon at xymon.com
More information about the Xymon