[ZBX-18658] Asterisk template issues Created: 2020 Nov 16  Updated: 2024 Apr 10  Resolved: 2020 Dec 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Templates (T)
Affects Version/s: 5.0.4, 5.2.0
Fix Version/s: 5.0.7rc1, 5.2.3rc1, 5.4.0alpha1, 5.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Aleksandrs Larionovs (Inactive) Assignee: Maxim Chudinov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Sub-task
Team: Team INT
Sprint: Sprint 70 (Nov 2020), Sprint 71 (Dec 2020)
Story Points: 0.25

 Description   

From forum: 

I'm not sure what I am missing, to be honest I am super new with Zabbix so probably im doing something wrong, so let me tell you what I did.

1) Enable web manager
/etc/asterisk/manager.conf

Code:
webenabled = yes

[zabbix]
secret = SuperSecretPasswordNotMyActualPassword
read = system,call,log,verbose,command,agent,user,origina te
write = system,call,log,verbose,command,agent,user,origina te2) Reload Asterisk Manager

Code:
asterisk -rx "manager reload"3) I have validated that i have web access to the manager. With My browser i enter the following URL

Code:
http://my_local_ip:8088/rawman?action=login&username=zabbix&secret=SuperSecretPasswordNotMyActualPassword

Response: Success
Message: Authentication accepte4) On my Zabbix Server i imported the Template (XML)

5) I assigned the Template to my server and set the following

Code:
{$AMI.SECRET} SuperSecretPasswordNotMyActualPassword
{$AMI.URL} http://my_local_ip:8088/rawman
{$AMI.USERNAME} zabbix
{$AMI.PORT} 8088I am using a Zabbix Proxy not sure if that is useful info.

Any ideas on how can I debug why i am not getting any info ?

Zabbix Server 5.0.3
Zabbix Client 5.0.4
 
 
Additionally:
https://wiki.asterisk.org/wiki/display/AST/The+Asterisk+Manager+TCP+IP+API
AMI is the standard management interface into your Asterisk server. You configure AMI in manager.conf. By default, AMI is available on TCP port 5038 if you enable it in manager.conf.

Please check and fix readme.



 Comments   
Comment by Maxim Chudinov (Inactive) [ 2020 Dec 02 ]

Available in:

Comment by Luciano Chiesa Sieben [ 2020 Dec 04 ]

Thanks.

Generated at Fri Jun 20 07:02:43 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.