Hi,

My goal is check uptime of one web service with authentication. I have created HTTP Advanced sensor type and add login and pass in settings of that sensor. Check get method. I need to check its uptime only with authentication, but authentication doesn't work, because after changing login or pass I still see that sensor is up (due to forward page to login page).

Kindly ask you help to find solution for achieve this goal.


Article Comments

Hello,

you could check out the HTTP Transaction sensor: https://www.paessler.com/manuals/prtg/http_transaction_sensor

After doing an action, you can check if the response includes a certain substring.


Apr, 2022 - Permalink

Create new sensor as HTTP Transaction with authentication. Same issue with it, sensor just pings the url, doesn't define login pass


Apr, 2022 - Permalink

Hello,

if the sensor does not do that specific login, there is one option left: Using a custom script, which uses curl or Powershell's invoke-webrequest, doing the website check. Such script should create an output which can be interpreted by PRTG. Custom sensors include the standard, and the advanced type, the latter supporting multiple channels.

Said script has to be written by the user, but this then also allows the greatest flexibility.


Apr, 2022 - Permalink