From: Benedicta Joseph [mailto:benedicta.joseph at wibmo.com] 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.
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=
From: Xymon <xymon-bounces at xymon.com> on behalf of Benedicta Joseph <bjoseph at enstage.com> Sent: Tuesday, October 27, 2015 2:37 AM To: xymon at xymon.com Subject: [Xymon] Xymon URL Monitor
From: Benedicta Joseph [mailto:benedicta.joseph at wibmo.com] 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.
- snip -
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.
*From:* Xymon <xymon-bounces at xymon.com> on behalf of Benedicta Joseph <bjoseph at enstage.com>
On 10/28/2015 2:40 PM, Galen Johnson wrote:>
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 907-465-8591 John.Thurston at alaska.gov Enterprise Technology Services Department of Administration State of Alaska
participants (3)
-
bjoseph@enstage.com
-
Galen.Johnson@sas.com
-
john.thurston@alaska.gov