We have alot of HTTP sensors and they can make GET, POST and HEAD call. We now have a third-party service we would like to monitor which requires a PUT call.
How can we make a PUT call? I can't seem to find it anywhere. Am I missing something?
Article Comments
Hi,
They look very much the same, but are two different things. One is used for creating new objects and the other one for updating a existing object.
But more importantly if the webservice is build on a PUT call, it won't respond to a POST call. I'll give an error. So, that's not an option.
Mar, 2018 - Permalink
Wouter,
Sorry, but no, we do not support a PUT natively. You'd have to write a custom script that does the PUT, and gets the returned value.
Check out the API by going to Setup -> PRTG API -> Custom Sensors in your installation.
Mar, 2018 - Permalink
Can they try a POST? From what I've read, it's the same thing.
To my knowledge PRTG will not support a PUT call, but you can create a custom sensor that does the PUT call.
Mar, 2018 - Permalink