Xymon Mailing List Archive search

HTTP Status 301

list Japheth Cleaver
Thu, 28 Jan 2016 11:14:31 -0800
Message-Id: <user-e5a78a27aabc@xymon.invalid>


On Thu, January 28, 2016 7:50 am, Foster Patch wrote:
Hello,

No matter what I do, I cannot get rid of this http error on xymon. Here is
the line for my includes:
0.0.0.0 AccuWeatherStore # noconn http://www.accuweatherstore.com/
httpstatus=http;http://www.accuweatherstore.com/;301;
Hi,

For this, you don't need the URL entered separately there. The httpstatus
(and other similarly-modified HTTP checks) already imply that, and the
column specifier '=http' might actually be being transmitted, but
immediately overwritten by the "overall" http status.

All you should need is:

0.0.0.0 AccuWeatherStore # noconn
httpstatus;http://www.accuweatherstore.com/;301;


When I add that in, I get the single green test:

Thu Jan 28 11:12:15 2016: OK (HTTP status 301)

&green http://www.accuweatherstore.com/ - OK (HTTP status 301)


HTH,
-jc