We are trying to configure alerting from OpenDistro Kibana to the 3rd party URL i.e., to Zenoss to generate alerts . I have selected the " Custom webhook " option and have provided the 3rd party URL - “https://******.com/zport/dmd/Events/evconsole_router” however when we create a monitor and trigger alert, We do not see any message going to Zenoss. I have tried sending “test message” as well however no luck.
I have attached the screenshots of the alert configuration. Please note we have checked the port and firewall and confirmed there is no issue with it. Kindly help !!
The OpenDistro documentation on alerting does give some examples specifically, but there are a lot of variables here (is the network blocked between your node and your service, is the API endpoint correct, etc.) - it’s a troubleshooting exercise that is difficult to do remotely with no knowledge of your architecture. I would first confirm that everything is reachable from both places then start working up the complexity chain.
PS I did notice that your original screenshot is a PUT request and second is POST request.
Yes, I tried with both PUT and POST method to check if the test message has reached the destination but no luck.
The endpoint is defined correctly and we confirmed there is no network connectivity issues. I have tried with the template matching the 3rd party tool as well still no go.
Any examples or links you can share which can help ?
Can you do anything by pointing the webhook at a mock server using a similar network setup? My gut is telling me that the webhook is firing but it isn’t making it to Zenoss or it’s not formed the way Zenoss wants.
You should be able to get more information from the logs as well. What do they say when you test the webhook from the alert.
Also, an issue that I still have is regarding the TLS cert on https://zenos… - is that self-signed?
I have an issue using a self signed cert and I don’t seem to be able to add the root CA pem cert that was used to sign it to any elastic config in a way that makes the CA be recognised.