Installation and deployment
Version 7.x > Installation and deployment > Health Monitoring View modes: 
User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 8/14/2013 1:39:54 PM
   
Health Monitoring
We're getting ready to deploy our site and need to setup some monitoring with our third party tool (PRTG). PRTG will use a GET request which isn't working as expected when I give a specific URL to the site. All I need to do is navigate to a page on the site and determine 1) If the page responds, 2) if there is specific text on the page.

Is there a system page I can post a GET to and see if this works? It seems to always go to the dynamic page (/CMSPages/PortalTemplate.aspx) and not the rewritten URL.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 8/16/2013 5:59:47 AM
   
RE:Health Monitoring
Hi,

What is the exact URL you are using? Is given page in the content tree or is it a file on the file system you are requesting? If the second one, have you tried excluding it in the Excluded URLs setting so it won't be rewritten?

Best regards,
Juraj Ondrus

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 8/16/2013 9:34:54 AM
   
RE:Health Monitoring
I've used both a page in the content tree and a page within the CMSGlobalFiles directory (which is in the Excluded URL list). The physical page in the CMSGlobalFiles directory works but isn't ideal because I'd have to write some code to do a check to see if I can access the database or a page.

When I use a page in the content tree I get a result something like this:
2013-07-01 00:00:00 10.10.14.31 GET /CMSPages/PortalTemplate.aspx aliaspath=%2fHome 443 - 10.10.14.140 HTTP/0.9 - - - 200 0 0 156
So it looks like I answered my own question here. I tested and used
 /CMSPages/PortalTemplate.aspx?aliaspath=/Home
for my URL vs. the rewritten one and all works as expected.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 8/22/2013 2:45:55 AM
   
RE:Health Monitoring
Hi,

I am glad you have found workaround but it still does not make much sense to me. What exact URL were you using before?

Best regards,
Juraj Ondrus

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 8/23/2013 7:45:27 AM
   
RE:Health Monitoring
I was using simply using /Home

But the below URL is the one only option that worked. Must be something to do with how the F5 reads the rewritten URL or posts to it maybe.

/CMSPages/PortalTemplate.aspx?aliaspath=/Home