What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Monitoring URL with redirect to other URL

Votes:

0

Is there a way to use HTTP sensor to monitor a URL that has a permanent redirect in place (to ensure it's reaching a valid web page)?

For example: Monitoring the main/advertised URL "https://gmail.com" has a 301 redirect to "https://www.google.com/gmail/" which then has a 302 redirect to "https://mail.google.com/mail" to reach the appropriate page.

I've tried setting up a HTTP basic sensor and HTTP advanced sensor on my main URL, or setting up the URL's in a HTTP transaction sensor - but they fail (at the first step) with either 502 Gateway Timeout or Read Time Out.

Checking the help and other KB questions, it seems the HTTP sensors are only designed to monitor the end/working web page (which I already have working). However I'd like to make sure any redirected URL's to those pages are also working as expected.

http http-advanced http-sensor http-transaction-sensor

Created on Aug 30, 2018 12:43:26 AM



1 Reply

Votes:

0

Nope, redirects can't be checked :/ You'll need to use PowerShell (or a language of your taste) and a EXE/Script (Advanced) Sensor to properly monitor sites like that.


Kind regards,
Stephan Linke, Tech Support Team

Created on Aug 30, 2018 10:12:14 AM by  Stephan Linke [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.