Hi, is it possible to monitor HTTP Headers in PRTG? For example i would like to monitor if in the HTTP response the header:
content-encoding: gzip
is included.
Or if a specific value is set in the "content-security-policy" Header.
Thank you + BR
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Hi there,
Unfortunately, there is no native sensor to check this. However in PowerShell you can check for certain headers and their value:
Maybe you can use this snippet to build a script that suits your needs:
https://helpdesk.paessler.com/en/support/solutions/articles/76000041700-guide-for-powershell-based-custom-sensors
Best regards.
Nov, 2018 - Permalink