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

Votes:

0

Your Vote:

Up

Down

Hi, I try to configure a REST Custom Sensor but I have an error when I try to check the sensor : Cannot load endpoint https://myurltotheapi: expected status 200 OK but got 405 Method Not Allowed.

I configure the sensor with these parameters :

  • POST
  • a JSON data to send
  • HTTPS protocol
  • acceptall certificats
  • No authentification
  • use a personolize header (Content-Type:application/json)
  • My REST URL request

I don't understand why my sensor doesn't work. Can somebody help me or give me advice to configure the rest custom sensor.

I would like to use PRTG to survey all my REST api and re-use the rest custom sensor. Thanks J

api prtg rest sensor

Created on Aug 3, 2018 10:45:15 AM by  jfrusque (0) 1

Last change on Aug 6, 2018 10:49:27 AM by  Luciano Lingnau [Paessler Support]



1 Reply

Votes:

0

Your Vote:

Up

Down

Hello there.

It sounds as if the endpoint doesn't like the POST operation. Are you able to perform the query/request using cURL or powershell? Or do you also get a HTTP 405 this way?

Best Regards,
Luciano Lingnau [Paessler Support]

Created on Aug 6, 2018 10:51:08 AM by  Luciano Lingnau [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.