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
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.
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.
Jul, 2013 - Permalink