Good day,members of the forum, I can’t understand - when creating a node - where does the Asterisk template take over HTTP the ip address (Agent, jmx, snmp)? I managed to put the ip in the properties of the "Asterisk by HTTP" template itself, but it still doesn't work. Clean new asterisk, clean zabbiks. Any ideas? I re-read the forum thread, it did not help ...
I am using zabbix 5.2 + asterisk 17.7.0.
My config:
[general]
enabled=yes
bindaddr=0.0.0.0
enablestatic=yes
bindport=8088
[general]
enabled = yes
bindaddr = 0.0.0.0
webenabled =yes
[zabbix]
secret = zabbix
read = all
write = all
----------------------------------------------------------
Asterisk by HTTP > Zabbix raw items > Asterisk: Get stats
When testing a data item 'Asterisk: Get stats'
in mode get the value "now"
i get answer -
HTTP/1.1 200 OK
Server: Asterisk/17.7.0
Date: Mon, 30 Nov 2020 07:40:34 GMT
Cache-Control: no-cache, no-store
Content-type: text/plain
Set-Cookie: mansession_id="5d071a12"; Version=1; Max-Age=60
Pragma: SuppressEvents
Content-Length: 55
But when receiving data from an asterisk -
ReferenceError: identifier 'HttpRequest' undefined
at [anon] (duktape.c:81729) internal
at [anon] (function:6) preventsyield
I am using zabbix 5.2 + asterisk 17.7.0.
My config:
[general]
enabled=yes
bindaddr=0.0.0.0
enablestatic=yes
bindport=8088
[general]
enabled = yes
bindaddr = 0.0.0.0
webenabled =yes
[zabbix]
secret = zabbix
read = all
write = all
----------------------------------------------------------
Asterisk by HTTP > Zabbix raw items > Asterisk: Get stats
When testing a data item 'Asterisk: Get stats'
in mode get the value "now"
i get answer -
HTTP/1.1 200 OK
Server: Asterisk/17.7.0
Date: Mon, 30 Nov 2020 07:40:34 GMT
Cache-Control: no-cache, no-store
Content-type: text/plain
Set-Cookie: mansession_id="5d071a12"; Version=1; Max-Age=60
Pragma: SuppressEvents
Content-Length: 55
But when receiving data from an asterisk -
ReferenceError: identifier 'HttpRequest' undefined
at [anon] (duktape.c:81729) internal
at [anon] (function:6) preventsyield

Comment