Commit 94c2de15 authored by Joab Bremer's avatar Joab Bremer

Update README.md

parent 979dc7e6
......@@ -17,14 +17,19 @@ copiar script asterisk.py para /etc/zabbix
Adicionar usuário zabbix ao /etc/asterisk/manager_custom.conf
```
[zabbix]
secret = <SUA_SENHA>
deny=0.0.0.0/0.0.0.0
permit=<IP_PROXY>/255.255.255.255
read = all
write = all
```
Em "/etc/asterisk/manager.conf" adicionar webenabled = yes, enabled = yes, httptimeout = 300, authtimeout = 300
> Em "/etc/asterisk/manager.conf" adicionar webenabled = yes, enabled = yes, httptimeout = 300, authtimeout = 300
```
[general]
enabled = yes
webenabled = yes
......@@ -33,11 +38,16 @@ authtimeout = 300
port = 5038
bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+
```
Adicionar exceção ao iptables
#AMI ASTERISK ZABBIX MONITORING
```
-A INPUT -s 10.11.0.0/22 -p tcp -m state --state NEW -m tcp --dport 5038 -j ACCEPT
-A INPUT -s 10.11.0.0/22 -p tcp -m state --state NEW -m tcp --dport 8088 -j ACCEPT
```
Reiniciar o asterisk
service asterisk restart
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment