We have several web sites we are monitoring. The url for these pages is a login page. All are alerting for "Server Timeout". Is there a way to eliminate this alert and still check to see if the web page is available?
Ted
This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.
On 3/4/2014 1:23 PM, Wilcox, Theodore A -FS wrote:
We have several web sites we are monitoring. The url for these pages is a login page. All are alerting for "Server Timeout". Is there a way to eliminate this alert and still check to see if the web page is available?
I don't understand your request. "Server Timeout" *is* telling you that the web page isn't available. But maybe you can get what you want using the "httpstatus" directive.
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".
If okstatusexpr matched 999, 20X, and 30X, then it would remain green when the page was not returned.
-- 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
All of these web pages are working fine. The page is generated in the browser and just waits for user input. The pages are fine, the alerts are incorrect. I will try your suggestion below.
Ted
-----Original Message----- From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of John Thurston Sent: Tuesday, March 04, 2014 3:58 PM To: xymon at xymon.com Subject: Re: [Xymon] Server TimeOut
On 3/4/2014 1:23 PM, Wilcox, Theodore A -FS wrote:
We have several web sites we are monitoring. The url for these pages is a login page. All are alerting for "Server Timeout". Is there a way to eliminate this alert and still check to see if the web page is available?
I don't understand your request. "Server Timeout" *is* telling you that the web page isn't available. But maybe you can get what you want using the "httpstatus" directive.
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".
If okstatusexpr matched 999, 20X, and 30X, then it would remain green when the page was not returned.
-- 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.
participants (2)
-
john.thurston@alaska.gov
-
tawilcox@fs.fed.us