New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


REST Custom Sensor HTTP Header problem

Votes:

0

Your Vote:

Up

Down

Hello everyone,

I`m trying to create REST custom sensor with post request and custom HTTP Header. I activate the option for custom headers and write my header (Content-Type:application/x-www-form-urlencoded), but I dont think it is being send, because I get 500 internal server error. I suppose the problem is with the header, since when I make the same request with the given header with another REST Client (e.g. Mozilla RESTClient extension) a successful response with code 200 and data is returned. If I send it without the header I get the same error response with no content as the sensor. Can you please confirm, that the content type header is supported for the custom REST sensor? How can I be sure, that the header is being send?

Best regards, A

custom-headers custom-sensor rest-sensor

Created on Nov 5, 2018 3:10:00 PM by  ia (0) 1



3 Replies

Votes:

0

Your Vote:

Up

Down

Hello there,

There seems to be an issue currently with the sensor, custom headers can be entered, but will not really be sent, we're looking into it.

Kind regards,

Erhard

Created on Nov 6, 2018 12:48:59 PM by  Erhard Mikulik [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hello,

thank you very much for the information. Is there currently any workaround or similar sensor that I can use?

Best regards, A.

Created on Nov 6, 2018 5:21:00 PM by  ia (0) 1



Votes:

0

Your Vote:

Up

Down

Hello A.,

The only alternative would be the rather old HTTP XML/REST Value Sensor.

Kind regards,

Erhard

Created on Nov 7, 2018 2:50:23 PM by  Erhard Mikulik [Paessler Support]



Please log in or register to enter your reply.


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.