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

Dynamic Postdata in http sensor




For some sites we need to login with postdata. for this I use the http-advanced-sensor and prepopulate the POSTDATA field with data retrieved from the url-recorded. this works for a few minutes, logging on to the site works, however after a few minutes not anymore. Apaerently, the postdata has a some sort of token which is changed every few minutes. And this results in a logon failure. This is de proces that is going on:

  1. surf to www.somesite.com
  2. page returned with form, containing token="aaaa1111"
  3. enter login + password
  4. form data containing LOGIN+PASSWORD+TOKEN(=aaaa1111) send
  5. logon succes

so after a few minutes to logon with the same postdata (token=aaaa1111) does not work. A new token has to be generated, by surfing again to www.somesite.com.

So, my question is as follows: is it possible to change the postdata dynamically? This way, I could simulate the generation of the token and use it in the http-sensor.



http login postdata token

Created on Mar 6, 2014 9:28:07 AM

Last change on Mar 6, 2014 9:57:05 AM by  Torsten Lindner [Paessler Support]

1 Reply




thank you very much for your KB-Post. I'm very much afraid the POSTDATA on the HTTP Sensor can't be dynamically changed (by the sensor itself). Maybe you can do this with a self-written custom script sensor though.

best regards.

Created on Mar 7, 2014 12:28:21 PM by  Torsten Lindner [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.