All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
I am trying to use an HTTP request in an action profile to update components on our Statuspage. The request Statuspage asks for looks like this:
PUT /v1/pages/{pageId}/components/{componentId} HTTP/1.1
Host: api.statuspage.io
Authorization: {apiKey}
Content-Type: application/json
{
"component": {
"status": "operational"
}
}
This request has only returned 401. However, it should not, because the same request with the same authorization returns 2xx when ran outside the network HostMonitor is running in (when ran by Postman, PowerShell script). In addition, HostMonitor can request GET and POST (again, same authorization) and receive a 2xx. I have found that it is PUT and DELETE requests that return 401. Both of these facts tell me it is not an authorization problem, but rather, some verbs are being filtered/blocked and some are not.
Yes, you may start external scripts using "Execute external program" action.
(external tests/actions uses more system resources but if you don't need to start this action 10 times/sec then its Ok)