Xymon Mailing List Archive search

Tests for the xymon-server

9 messages in this thread

list Roland Soderstrom · Mon, 22 Oct 2012 22:52:23 +0000 ·
Hi,

I am a bit confused on how to add extra tests to the xymon-server itself.
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
client/etc/clientlaunch.cfg

But to get these tests work I have to add them in server/etc/tasks,cfg

What am I missing?


-          Roland
list Ryan Novosielski · Tue, 23 Oct 2012 00:37:11 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
quoted from Roland Soderstrom

On 10/22/2012 07:03 PM, Roland Soderstrom wrote:
Hi,


I am a bit confused on how to add extra tests to the xymon-server
itself.

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

client/etc/clientlaunch.cfg


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
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 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/

iEYEARECAAYFAlCGHusACgkQmb+gadEcsb4dhQCg3Mv/zhUTtpAsEGNxuOke3nX1
hL4AnAnEfYitlTpY/2B0jfidJRUDwm9N
=w5LE
-----END PGP SIGNATURE-----
list Roland Soderstrom · Tue, 23 Oct 2012 22:03:15 +0000 ·
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 /usr/local/xymon/client/etc/xymonclient.cfg
$ echo $XYMONCLIENTHOME/logs
/usr/local/xymon/client/logs

In client/etc/clientlaunch.cfg
[prtdiag]
        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[0]: xymond_channel
argv[1]: --channel=client
argv[2]: --log=/usr/local/xymon/logs/clientdata.log
argv[3]: xymond_client
root at pxym01:/usr/local/xymon/server/etc# tail /usr/local/xymon/logs/clientdata.log
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
quoted from Ryan Novosielski

-----Original Message-----
From: Novosielski, Ryan [mailto:user-ae4522577e16@xymon.invalid] 
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:
Hi,


I am a bit confused on how to add extra tests to the xymon-server 
itself.

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

client/etc/clientlaunch.cfg


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 
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 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/

iEYEARECAAYFAlCGHusACgkQmb+gadEcsb4dhQCg3Mv/zhUTtpAsEGNxuOke3nX1
hL4AnAnEfYitlTpY/2B0jfidJRUDwm9N
=w5LE
-----END PGP SIGNATURE-----
list Henrik Størner · Wed, 24 Oct 2012 13:56:19 +0200 ·
Hi,

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   include /usr/lib/xymon/client/etc/clientlaunch.cfg
to your tasks.cfg file.


Regards,
Henrik

On Tue, 23 Oct 2012 22:03:15 +0000, Roland Soderstrom
quoted from Roland Soderstrom
<user-0cec9512a49f@xymon.invalid> 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
/usr/local/xymon/client/etc/xymonclient.cfg
$ echo $XYMONCLIENTHOME/logs
/usr/local/xymon/client/logs

In client/etc/clientlaunch.cfg
[prtdiag]
        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[0]: xymond_channel
argv[1]: --channel=client
argv[2]: --log=/usr/local/xymon/logs/clientdata.log
argv[3]: xymond_client
root at pxym01:/usr/local/xymon/server/etc# tail
/usr/local/xymon/logs/clientdata.log
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:user-ae4522577e16@xymon.invalid] 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:
Hi,


I am a bit confused on how to add extra tests to the xymon-server itself.

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

client/etc/clientlaunch.cfg


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 |$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 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/

iEYEARECAAYFAlCGHusACgkQmb+gadEcsb4dhQCg3Mv/zhUTtpAsEGNxuOke3nX1
hL4AnAnEfYitlTpY/2B0jfidJRUDwm9N
=w5LE
-----END PGP SIGNATURE-----

list Ryan Novosielski · Wed, 24 Oct 2012 10:06:16 -0400 ·
OK then this threw me off a long time ago and someone gave me the same wrong answer I gave Roland. Shouldn't this be included by default? The understanding about other aspects of the client is that they are run on a server machine automatically, and there's no need to do anything special to get the full client running as well as the server.Why would this one aspect be different/unexpected?
quoted from Henrik Størner

From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of user-ce4a2c883f75@xymon.invalid [user-ce4a2c883f75@xymon.invalid]
Sent: Wednesday, October 24, 2012 7:56 AM
To: xymon at xymon.com
Subject: Re: [Xymon] Tests for the xymon-server

Hi,

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
  include /usr/lib/xymon/client/etc/clientlaunch.cfg
to your tasks.cfg file.


Regards,
Henrik

On Tue, 23 Oct 2012 22:03:15 +0000, Roland Soderstrom
<user-0cec9512a49f@xymon.invalid> 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
/usr/local/xymon/client/etc/xymonclient.cfg
$ echo $XYMONCLIENTHOME/logs
/usr/local/xymon/client/logs

In client/etc/clientlaunch.cfg
[prtdiag]
        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[0]: xymond_channel
argv[1]: --channel=client
argv[2]: --log=/usr/local/xymon/logs/clientdata.log
argv[3]: xymond_client
root at pxym01:/usr/local/xymon/server/etc# tail
/usr/local/xymon/logs/clientdata.log
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:user-ae4522577e16@xymon.invalid]
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:
Hi,


I am a bit confused on how to add extra tests to the xymon-server
itself.

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

client/etc/clientlaunch.cfg


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
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 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/

iEYEARECAAYFAlCGHusACgkQmb+gadEcsb4dhQCg3Mv/zhUTtpAsEGNxuOke3nX1
hL4AnAnEfYitlTpY/2B0jfidJRUDwm9N
=w5LE
-----END PGP SIGNATURE-----

list Roland Soderstrom · Wed, 24 Oct 2012 20:48:43 +0000 ·
Thanks Henrik,
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.

- Roland
quoted from Ryan Novosielski


-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of user-ce4a2c883f75@xymon.invalid
Sent: Wednesday, 24 October 2012 10:56 PM
To: xymon at xymon.com
Subject: Re: [Xymon] Tests for the xymon-server

Hi,

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
  include /usr/lib/xymon/client/etc/clientlaunch.cfg
to your tasks.cfg file.


Regards,
Henrik

On Tue, 23 Oct 2012 22:03:15 +0000, Roland Soderstrom
<user-0cec9512a49f@xymon.invalid> 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
/usr/local/xymon/client/etc/xymonclient.cfg
$ echo $XYMONCLIENTHOME/logs
/usr/local/xymon/client/logs

In client/etc/clientlaunch.cfg
[prtdiag]
        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[0]: xymond_channel
argv[1]: --channel=client
argv[2]: --log=/usr/local/xymon/logs/clientdata.log
argv[3]: xymond_client
root at pxym01:/usr/local/xymon/server/etc# tail
/usr/local/xymon/logs/clientdata.log
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:user-ae4522577e16@xymon.invalid] 
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:
Hi,


I am a bit confused on how to add extra tests to the xymon-server 
itself.

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

client/etc/clientlaunch.cfg


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 
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 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/

iEYEARECAAYFAlCGHusACgkQmb+gadEcsb4dhQCg3Mv/zhUTtpAsEGNxuOke3nX1
hL4AnAnEfYitlTpY/2B0jfidJRUDwm9N
=w5LE
-----END PGP SIGNATURE-----

list Japheth Cleaver · Wed, 24 Oct 2012 15:46:58 -0700 (PDT) ·
It also might be worth considering unifying the client and server
configuration methodologies into a single, unified config (or config.d)
space.

-jc
quoted from Roland Soderstrom

Thanks Henrik,
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.

- Roland


-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of user-ce4a2c883f75@xymon.invalid
Sent: Wednesday, 24 October 2012 10:56 PM
To: xymon at xymon.com
Subject: Re: [Xymon] Tests for the xymon-server

Hi,

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
  include /usr/lib/xymon/client/etc/clientlaunch.cfg
to your tasks.cfg file.


Regards,
Henrik

On Tue, 23 Oct 2012 22:03:15 +0000, Roland Soderstrom
<user-0cec9512a49f@xymon.invalid> 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
/usr/local/xymon/client/etc/xymonclient.cfg
$ echo $XYMONCLIENTHOME/logs
/usr/local/xymon/client/logs

In client/etc/clientlaunch.cfg
[prtdiag]
        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[0]: xymond_channel
argv[1]: --channel=client
argv[2]: --log=/usr/local/xymon/logs/clientdata.log
argv[3]: xymond_client
root at pxym01:/usr/local/xymon/server/etc# tail
/usr/local/xymon/logs/clientdata.log
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:user-ae4522577e16@xymon.invalid]
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:
Hi,


I am a bit confused on how to add extra tests to the xymon-server
itself.

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

client/etc/clientlaunch.cfg


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
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 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/

iEYEARECAAYFAlCGHusACgkQmb+gadEcsb4dhQCg3Mv/zhUTtpAsEGNxuOke3nX1
hL4AnAnEfYitlTpY/2B0jfidJRUDwm9N
=w5LE
-----END PGP SIGNATURE-----

list Ryan Novosielski · Thu, 25 Oct 2012 00:42:50 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was actually under the impression that this just straight-up ran the
client (it's in hobbitlaunch.cfg, the former name for tasks.cfg):

# "hobbitclient" runs the Xymon client. The client is installed
automatically
# when you install a Xymon server (presumably, you do want to monitor the
# Xymon server ?), but there's no need to have two hobbitlaunch instances
# running at the same time. So we'll just run it from here.
# Note: If you are using another client package, you should disable
this one.

[hobbitclient]
        ENVFILE /opt/xymon-4.2.3/client/etc/hobbitclient.cfg
        NEEDS hobbitd
        CMD /opt/xymon-4.2.3/client/bin/hobbitclient.sh
        LOGFILE $BBSERVERLOGS/hobbitclient.log
        INTERVAL 5m

...so if this is the way I'm running the client, can I expect not to
have my clientlaunch.cfg honored?
quoted from Roland Soderstrom

On 10/24/2012 04:49 PM, Roland Soderstrom wrote:
Thanks Henrik, 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.

- Roland


-----Original Message----- From: xymon-bounces at xymon.com
[mailto:xymon-bounces at xymon.com] On Behalf Of user-ce4a2c883f75@xymon.invalid Sent:
Wednesday, 24 October 2012 10:56 PM To: xymon at xymon.com Subject:
Re: [Xymon] Tests for the xymon-server

Hi,

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 include /usr/lib/xymon/client/etc/clientlaunch.cfg to your
tasks.cfg file.


Regards, Henrik

On Tue, 23 Oct 2012 22:03:15 +0000, Roland Soderstrom <user-0cec9512a49f@xymon.invalid> 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 /usr/local/xymon/client/etc/xymonclient.cfg $ echo
$XYMONCLIENTHOME/logs /usr/local/xymon/client/logs

In client/etc/clientlaunch.cfg [prtdiag] 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[0]:
xymond_channel argv[1]: --channel=client argv[2]:
--log=/usr/local/xymon/logs/clientdata.log argv[3]:
xymond_client root at pxym01:/usr/local/xymon/server/etc# tail /usr/local/xymon/logs/clientdata.log 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:user-ae4522577e16@xymon.invalid] Sent: Tuesday, 23 October 2012 3:37
PM To: Roland Soderstrom Cc: xymon at xymon.com Subject: Re: [Xymon]
Tests for the xymon-server
On 10/22/2012 07:03 PM, Roland Soderstrom wrote:
Hi,


I am a bit confused on how to add extra tests to the
xymon-server itself.

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

client/etc/clientlaunch.cfg


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.
_______________________________________________ Xymon mailing
list Xymon at xymon.com
quoted from Japheth Cleaver
- -- - ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 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/

iEYEARECAAYFAlCIw0YACgkQmb+gadEcsb7pxQCgniXdBoSViWzIxTIM5gTGVMxY
6XQAoKdV3EOjfgj1mhWeddZOzqZvsQVR
=vAyA
-----END PGP SIGNATURE-----
list Marco Avvisano · Thu, 25 Oct 2012 10:50:50 +0200 ·
Hi all,
i need to create a http response time graph for multiple hosts.
I have added in graphs.cfg this section:

[http-multi]
         TITLE Multi-host HTTP Response Times
         FNPATTERN  tcp.http.(.+).rrd
         YAXIS Seconds
         DEF:p at RRDIDX@=@RRDFN@:sec:AVERAGE
         LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
         GPRINT:p at RRDIDX@:LAST: \: %5.1lf%s (cur)
         GPRINT:p at RRDIDX@:MAX: \: %5.1lf%s (max)
         GPRINT:p at RRDIDX@:MIN: \: %5.1lf%s (min)
         GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n

and i have used this url (work for multi-la):

https://xymon.server/xymon-cgi/showgraph.sh?host=server1,server2&color=green&service=tcp:http&graph_height=120&graph_width=576&nostale&action=view&graph=hourly 


but don't work.

Any suggestions?

thanks
Marco