Xymon Mailing List Archive search

Xymon URL Monitor

3 messages in this thread

list Benedicta Joseph · Tue, 27 Oct 2015 12:07:43 +0530 ·
 

From: Benedicta Joseph [mailto:user-836af343724a@xymon.invalid] 
Sent: 27 October 2015 11:48
To: 'xymon at xymon.com' <xymon at xymon.com>
Subject: Xymon URL Monitor

 
Hi,

 
I have configured Xymon Server. Can anyone tell me , how to Monitor URL
through Xymon? Xymon must send alert, if I'm able to open that URL. 

 
Thanks,

Benedicta


This message contains confidential information and is intended only for the individual named or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.
list Galen Johnson · Wed, 28 Oct 2015 22:40:20 +0000 ·
Depends on the type of test you need.  Check out http://xymon.org/help/manpages/man5/hosts.cfg.5.html  and scroll down to "HTTP TESTS".   This is also available from your Xymon server under the "Help" tab.  You'll also need to configure the alerts if you haven't already.


=G=
quoted from Benedicta Joseph


From: Xymon <xymon-bounces at xymon.com> on behalf of Benedicta Joseph <user-3565a3a78253@xymon.invalid>
Sent: Tuesday, October 27, 2015 2:37 AM
To: xymon at xymon.com
Subject: [Xymon] Xymon URL Monitor


From: Benedicta Joseph [mailto:user-836af343724a@xymon.invalid]
Sent: 27 October 2015 11:48
To: 'xymon at xymon.com' <xymon at xymon.com>
Subject: Xymon URL Monitor

Hi,

I have configured Xymon Server. Can anyone tell me , how to Monitor URL through Xymon? Xymon must send alert, if I'm able to open that URL.

Thanks,
Benedicta

This message contains confidential information and is intended only for the individual named or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.
list John Thurston · Wed, 28 Oct 2015 14:49:03 -0800 ·
*From:* Xymon <xymon-bounces at xymon.com> on behalf of Benedicta Joseph
<user-3565a3a78253@xymon.invalid>
- snip -
quoted from Galen Johnson
I have configured Xymon Server. Can anyone tell me , how to Monitor URL
through Xymon? Xymon must send alert, if I’m able to open that URL.
On 10/28/2015 2:40 PM, Galen Johnson wrote:>
quoted from Galen Johnson
Depends on the type of test you need.  Check out
http://xymon.org/help/manpages/man5/hosts.cfg.5.html  and scroll down to
"HTTP TESTS".   This is also available from your Xymon server under the
"Help" tab.  You'll also need to configure the alerts if you haven't
already.
If you want a red alarm if you are able to retrieve the result, you 
probably want to use the HTTPSTATUS test of Xymon. From the man-page:
httpstatus[=COLUMN];URL;okstatusexpr;notokstatusexpr
    This is used to explicitly test for certain HTTP statuscodes returned when the URL is requested. The okstatusexpr and nokokstatusexpr expressions are Perl-compatible regular expressions, e.g. "2..|302" will match all OK codes and the redirect (302) status code. If the URL cannot be retrieved, the status is "999"
something like:
httpstatus=web;http://foo.bar.com/robots.txt;4..|[1-9]..

will try to retrieve http://foo.bar.com/robots.txt and put the results 
under a column titled "web". It will be green if the HTTP return code is 
anything in the 400s. It will be red in all other cases.

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska