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;
And here is what the page prints: http://www.accuweatherstore.com/ - OK
HTTP/1.1 301 Moved Permanently Server: nginx Date: Thu, 28 Jan 2016 15:49:24 GMT Content-Type: text/html; charset=utf-8 Transfer-Encoding: chunked Connection: close Status: 301 Moved Permanently X-Frame-Options: DENY X-ShopId: 8909382 X-ShardId: 5 Content-Language: en Location: http://accuweatherstore.com/ Content-Security-Policy-Report-Only: default-src 'self' *; connect-src 'self' *; font-src 'self' * data:; frame-src 'self' *; img-src 'self' * data:; media-src 'self' *; object-src 'self' *; script-src 'self' * 'unsafe-inline' 'unsafe-eval'; style-src 'self' * 'unsafe-inline'; frame-ancestors www.accuweatherstore.com; report-uri /csp-report/63ec6a02-51ba-4f9c-8800-5a8e7a947a3b?source%5Baction%5D=index&source%5Bcontroller%5D=shop&source%5Bsection%5D=storefront; X-XSS-Protection: 1; mode=block; report=/xss-report/63ec6a02-51ba-4f9c-8800-5a8e7a947a3b?source%5Baction%5D=index&source%5Bcontroller%5D=shop&source%5Bsection%5D=storefront X-Request-Id: 63ec6a02-51ba-4f9c-8800-5a8e7a947a3b P3P: CP="NOI DSP COR NID ADMa OPTa OUR NOR" X-Dc: chi2,ash X-Content-Type-Options: nosniff X-Content-Type-Options: nosniff
Seconds: 0.159071000
I have tried to change around both URLs for the includes, with no success.
Any suggestions?
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
participants (2)
-
cleaver@terabithia.org
-
Foster.Patch@accuweather.com