Zabbix template for Wowza Media Server. HTTP requests to Wowza Media Server are cached locally to avoid querying server for each key retrieved. Request is made once for all the counters and cached by default for 295 seconds. To reduce update interval for each item reduce the caching time of the wowza_stats.py script by passing --ttl value or change it in the script.
- Tested zabbix 2.4 - 3.4 wowza 4x
This is installed on the host you are running the zabbix agent on and that's capable of connecting to Wowza Media Server you would like to monitor.
$ git clone https://github.com/DrFlash99/zabbix_wowza $ cd zabbix_wowza $ cp wowza_stats.py /etc/zabbix/externalscripts/wowza_stats.py && chmod 755 /etc/zabbix/externalscripts/wowza_stats.py $ cp wowza.conf /etc/zabbix/zabbix_agentd.conf.d
Make sure this line is present in zabbix agent configuration file
Import template into zabbix in Template section of web gui
Add the template to the host
Add following macros to the host on Zabbix web gui
hostname or ip address of the Wowza Media Server
Username and password defined in the Wowza admin password file
Wowza Media Server Configuration
Make sure that this HTTP Provider is configured in the Wowza VHost.xml file
<HTTPProvider> <BaseClass>com.wowza.wms.http.HTTPConnectionCountsXML</BaseClass> <RequestFilters>connectioncounts*</RequestFilters> <AuthenticationMethod>admin-digest</AuthenticationMethod> </HTTPProvider>
Add username and password to admin.password file in Wowza configuration directory.