Kapacitor httppost to send alerts to alertmanager

I am trying to push Kapacitor alerts to alertmanager, so for that I am using post event handler. I didnot make any changes in config file and I am trying to directly use post() in tickscript.

The error i am getting is “405 method not allowed” and url i am using is - “http://container_name:9093/”.

Can anyone help me on this

Hello @Pratik_Das_Baghel,
Kapacitor is hard to use because it’s largely a black box.
Can you post successfully with cURL/without kapacitor?
I’m not sure if all of kapacitor is being maintained.
If you can successfully post without kapacitor I’d suggest making an issue here:

I’m sorry I can’t be more helpful.

If you decide to use Flux tasks however instead of Kapacitor, then I can help.