Xymon Mailing List Archive search

Quick Question

11 messages in this thread

list Jamison Maxwell · Wed, 9 Nov 2011 12:00:04 -0500 ·
A simple question I hope you guys can answer.  I used the xymoncmd command to drop a test on version 4.3.5, but now I need to add the test back.  Adding the test back to hosts.cfg has not appeared to be fruitful, nor has just restarting Xymon.  Is there something similar to the -drop- command for xymoncmd?  I didn't find many help files on the utility.

Thanks,
Jamison Maxwell
list Ralph Mitchell · Wed, 9 Nov 2011 12:12:05 -0500 ·
The simple answer is that the test column will start to show once the
server receives a report for that test.

Ralph Mitchell
quoted from Jamison Maxwell


On Wed, Nov 9, 2011 at 12:00 PM, Jamison Maxwell <user-87d336c3dce6@xymon.invalid>wrote:
A simple question I hope you guys can answer.  I used the xymoncmd command
to drop a test on version 4.3.5, but now I need to add the test back.
 Adding the test back to hosts.cfg has not appeared to be fruitful, nor has
just restarting Xymon.  Is there something similar to the -drop- command
for xymoncmd?  I didn't find many help files on the utility.

Thanks,
Jamison Maxwell

list Jamison Maxwell · Wed, 9 Nov 2011 12:43:33 -0500 ·
Okay, what if I know for certain that it has received information regarding that test.  ( It shows up in another test ).


Jamison Maxwell
quoted from Ralph Mitchell

From: Ralph Mitchell [user-00a5e44c48c0@xymon.invalid]
Sent: Wednesday, November 09, 2011 12:12 PM
To: Jamison Maxwell
Cc: xymon at xymon.com
Subject: Re: [Xymon] Quick Question

The simple answer is that the test column will start to show once the server receives a report for that test.

Ralph Mitchell


On Wed, Nov 9, 2011 at 12:00 PM, Jamison Maxwell <user-87d336c3dce6@xymon.invalid<mailto:user-87d336c3dce6@xymon.invalid>> wrote:
A simple question I hope you guys can answer.  I used the xymoncmd command to drop a test on version 4.3.5, but now I need to add the test back.  Adding the test back to hosts.cfg has not appeared to be fruitful, nor has just restarting Xymon.  Is there something similar to the -drop- command for xymoncmd?  I didn't find many help files on the utility.

Thanks,
Jamison Maxwell
list Phil Crooker · Thu, 10 Nov 2011 09:12:42 +1100 ·
In my naive way, I just do a tcpdump for that "client" ip address. I'm
sure there is something better in the logs.

cheers, Phil

On 10/11/2011 at 4:43 AM, in message
<user-6956ea670a4a@xymon.invalid>,
Jamison
quoted from Jamison Maxwell
Maxwell <user-87d336c3dce6@xymon.invalid> wrote:
Okay, what if I know for certain that it has received information
regarding 
that test.  ( It shows up in another test ).


Jamison Maxwell

From: Ralph Mitchell [user-00a5e44c48c0@xymon.invalid] Sent: Wednesday, November 09, 2011 12:12 PM
To: Jamison Maxwell
Cc: xymon at xymon.com Subject: Re: [Xymon] Quick Question

The simple answer is that the test column will start to show once the
server 
receives a report for that test.

Ralph Mitchell


On Wed, Nov 9, 2011 at 12:00 PM, Jamison Maxwell <user-87d336c3dce6@xymon.invalid<mailto:user-87d336c3dce6@xymon.invalid>> wrote:
A simple question I hope you guys can answer.  I used the xymoncmd
command 
to drop a test on version 4.3.5, but now I need to add the test back.
 Adding 
the test back to hosts.cfg has not appeared to be fruitful, nor has
just 
restarting Xymon.  Is there something similar to the -drop- command
for 
xymoncmd?  I didn't find many help files on the utility.

Thanks,
Jamison Maxwell
list Ralph Mitchell · Wed, 9 Nov 2011 21:54:54 -0500 ·
The information has to be delivered for the specific host and test.  If
not, it won't be correctly displayed.
quoted from Phil Crooker

Ralph Mitchell


On Wed, Nov 9, 2011 at 12:43 PM, Jamison Maxwell <user-87d336c3dce6@xymon.invalid>wrote:
 Okay, what if I know for certain that it has received information
regarding that test.  ( It shows up in another test ).


Jamison Maxwell

*From:* Ralph Mitchell [user-00a5e44c48c0@xymon.invalid]
*Sent:* Wednesday, November 09, 2011 12:12 PM
*To:* Jamison Maxwell
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] Quick Question

 The simple answer is that the test column will start to show once the
server receives a report for that test.

 Ralph Mitchell


On Wed, Nov 9, 2011 at 12:00 PM, Jamison Maxwell <user-87d336c3dce6@xymon.invalid>wrote:
A simple question I hope you guys can answer.  I used the xymoncmd
command to drop a test on version 4.3.5, but now I need to add the test
back.  Adding the test back to hosts.cfg has not appeared to be fruitful,
nor has just restarting Xymon.  Is there something similar to the -drop-
command for xymoncmd?  I didn't find many help files on the utility.

Thanks,
Jamison Maxwell

list Maik Heinelt · Thu, 10 Nov 2011 12:33:47 +0900 ·
Hi, I am sure this was asked in past, but I couldn't find the post anymore....

I am looking for a way to check if a domain is available and if, I would like to get an alert.
I know, I usually can do it with an ! in the beginning of a test, but this doesn't seems to work for http tests.

Here my test:

192.168.144.254 MyDomain                     # NET:intern  NAME:"MyDomain" !telnet !http://MyDomain.com !conn

It doesn't work for me. 'telnet' and 'conn' works fine with a !, but not the http test.

Any ideas?


Thanks in advance


Maik
list Henrik Størner · Thu, 10 Nov 2011 09:57:24 +0100 ·
quoted from Maik Heinelt
I am looking for a way to check if a domain is available and if, I would
like to get an alert.
I know, I usually can do it with an ! in the beginning of a test, but
this doesn't seems to work for http tests.

Here my test:

192.168.144.254 MyDomain # NET:intern NAME:"MyDomain" !telnet
!http://MyDomain.com !conn
I think that just "!http" should work.


Regards,
Henrik
list Ryan Novosielski · Thu, 10 Nov 2011 11:51:53 -0500 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My first thought is to either check the log for the test (assuming it's
an external) because it is not sending data, or to check the ghost
clients (though it sounds like the same client has other tests showing
and that would generally cause all tests to show up under ghosts unless
your external script is really badly written).
quoted from Jamison Maxwell

On 11/09/2011 12:43 PM, Jamison Maxwell wrote:
Okay, what if I know for certain that it has received information
regarding that test.  ( It shows up in another test ).
 
 
Jamison Maxwell
 
*From:* Ralph Mitchell [user-00a5e44c48c0@xymon.invalid]
*Sent:* Wednesday, November 09, 2011 12:12 PM
*To:* Jamison Maxwell
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] Quick Question

The simple answer is that the test column will start to show once the
server receives a report for that test.

Ralph Mitchell


On Wed, Nov 9, 2011 at 12:00 PM, Jamison Maxwell
<user-87d336c3dce6@xymon.invalid <mailto:user-87d336c3dce6@xymon.invalid>> wrote:

    A simple question I hope you guys can answer.  I used the xymoncmd
    command to drop a test on version 4.3.5, but now I need to add the
    test back.  Adding the test back to hosts.cfg has not appeared to be
    fruitful, nor has just restarting Xymon.  Is there something similar
    to the -drop- command for xymoncmd?  I didn't find many help files
    on the utility.

    Thanks,
    Jamison Maxwell
    
- -- 
- ---- _  _ _  _ ___  _  _  _

|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk68ASkACgkQmb+gadEcsb5AeQCgkK6uUAOJrXoQDwhHB3793NJ3
XfcAoN52zbj6tdw8Noxp8Uur9EgVejav
=QyLY
-----END PGP SIGNATURE-----
list Jamison Maxwell · Fri, 11 Nov 2011 02:10:46 -0500 ·
They were ghost clients.  I meant to respond earlier today but got busy.  For some reason, prior to dropping the tests Xymon wanted just the hostname, but then afterwards it wanted the FQDN.  It was odd.


Jamison Maxwell
p. XXX.XXX.XXXX
user-87d336c3dce6@xymon.invalid
quoted from Ryan Novosielski


-----Original Message-----
From: Ryan Novosielski [mailto:user-ae4522577e16@xymon.invalid] Sent: Thursday, November 10, 2011 11:52 AM
To: Jamison Maxwell
Cc: xymon at xymon.com
Subject: Re: [Xymon] Quick Question

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My first thought is to either check the log for the test (assuming it's an external) because it is not sending data, or to check the ghost clients (though it sounds like the same client has other tests showing and that would generally cause all tests to show up under ghosts unless your external script is really badly written).

On 11/09/2011 12:43 PM, Jamison Maxwell wrote:
Okay, what if I know for certain that it has received information regarding that test.  ( It shows up in another test ).
  Jamison Maxwell
--
*From:* Ralph Mitchell [user-00a5e44c48c0@xymon.invalid]
*Sent:* Wednesday, November 09, 2011 12:12 PM
*To:* Jamison Maxwell
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] Quick Question

The simple answer is that the test column will start to show once the server receives a report for that test.

Ralph Mitchell


On Wed, Nov 9, 2011 at 12:00 PM, Jamison Maxwell <user-87d336c3dce6@xymon.invalid <mailto:user-87d336c3dce6@xymon.invalid>> wrote:

    A simple question I hope you guys can answer.  I used the xymoncmd
    command to drop a test on version 4.3.5, but now I need to add the
    test back.  Adding the test back to hosts.cfg has not appeared to be
    fruitful, nor has just restarting Xymon.  Is there something similar
    to the -drop- command for xymoncmd?  I didn't find many help files
    on the utility.

    Thanks,
    Jamison Maxwell

- --
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk68ASkACgkQmb+gadEcsb5AeQCgkK6uUAOJrXoQDwhHB3793NJ3
XfcAoN52zbj6tdw8Noxp8Uur9EgVejav
=QyLY
-----END PGP SIGNATURE-----
list Maik Heinelt · Thu, 17 Nov 2011 08:34:55 +0900 ·
I have done several test, last days, but it seems not to work if I to 
test !http://mydomain.com.
Any other idea?

I am running Xymon 4.2.3

Maik
quoted from Henrik Størner


On 2011/11/10 17:57, Henrik Størner wrote:
I am looking for a way to check if a domain is available and if, I would
like to get an alert.
I know, I usually can do it with an ! in the beginning of a test, but
this doesn't seems to work for http tests.

Here my test:

192.168.144.254 MyDomain # NET:intern NAME:"MyDomain" !telnet
!http://MyDomain.com !conn
I think that just "!http" should work.


Regards,
Henrik
list Henrik Størner · Thu, 17 Nov 2011 07:48:45 +0100 ·
quoted from Maik Heinelt
On 17-11-2011 00:34, Maik Heinelt wrote:
I have done several test, last days, but it seems not to work if I to
test !http://mydomain.com.
Any other idea?

I am running Xymon 4.2.3
Add this to protocols.cfg (bb-services in 4.2.x):

[web]
    port 80

Then you can use "!web" to check that port 80 is closed.

It doesn't work with "!http" because http tests require a full URL, and 
does not support the inverted test syntax.


Regards,
Henrik