That plugin is called Asterisk by HTTP. So it connects using the HTTP server, not the TCP socket. I don’t understand why it’s asking you to define the {$AMI.PORT} since that wouldn’t be used here.
It looks like a closer inspection queries the TCP port before connecting over 8088
Asterisk Asterisk: Service status
Asterisk Manager API port availability.
SIMPLE net.tcp.service["tcp","{HOST.CONN}","{$AMI.PORT}"]
Preprocessing:
- DISCARD_UNCHANGED_HEARTBEAT: 10m
If the Zabbix server is not local to the PBX then unprotected TCP or HTTP connections over 5038, or 8088 , should be considered insecure if either is binding to 0.0.0.0
The AMI over HTTP option came up on one of the community forums (I think it was the asterisk one) recently, and one of the Sangoma experts had forgotten it even existed, and said it was hardly used by anyone and likely to be buggy. Unfortunately, I didn’t have success, with Google, finding the thread.
Whilst is is possible that Zabbix have tested their specific use thoroughly, it is not something that one should probably rely on.
Okay thanks everyone for the input. I think this method just won’t work well at all, probably because it’s buggy or the development hasn’t kept up, as was mentioned.