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

Custom HTTP headers for XML/REST

Votes:

0

Is it possible to modify HTTP headers for the XML/REST probe? I'm using a Glassfish 3.1.2 server, that has a HTML/XML/JSON interface for monitoring. When querying Glassfish I must set an "accept header" eg. curl -H "accept: application/xml" [Some URL] for server to respond with XML. If I don't the response will be HTML.

I know I can use a custom sensor to do this, but I'd much rather use the XML/REST sensor for it, as it also includes to XPATH tool for finding the correct value the returned XML document...

Kind regards Kenneth Vindum

http-sensor probe prtg13 xml

Created on Jul 5, 2013 8:32:52 AM



1 Reply

Accepted Answer

Votes:

0

Hello,

thank you very much for your KB-Post. In the moment this is not possible, I'm afraid. But we will put this on the wishlist, and your vote has just been counted. Please bear with us!

best regards.

Created on Jul 5, 2013 11:30:13 AM 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.