Skip to content
Getting Wowza counters to Zabbix
Python
Branch: master
Clone or download
Pull request Compare This branch is 8 commits ahead of akomic:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
wowza.conf
wowza_stats.py
zbx_wowza_stats_template.xml

README.md

#zabbix_wowza

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

Install

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

Include=/etc/zabbix/zabbix_agentd.conf.d/

Zabbix Configuration

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

  • {$WOWZAHOST}

    hostname or ip address of the Wowza Media Server

  • {$WOWZAUSER}

  • {$WOWZAPASS}

    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.

You can’t perform that action at this time.