Zabbix is an open-source platform for monitoring network services, servers, and applications. It can be integrated with Astra to monitor Streams and DVB Adapters.
Zabbix can be installed both on a dedicated server and on an Astra server
You can find detailed information on Zabbix Manuals
Install Zabbix Agent on the server with Astra.
You can find detailed information on Zabbix Agent Manuals
First of all Zabbix Agent should be configured to allow incoming connections from the Zabbix Server. Open the Agent configuration file located in
/etc/zabbix/zabbix_agentd.conf with your favorite editor. Find the
Server= option and set the IP address or hostname of the server with Zabbix Server. Save file.
Zabbix Agent receives all information from Astra with scripts writed on Python. Make sure that on your server installed Python3:
sudo apt install python3 python3-pip
for RPM-based system use
yum instead of
apt. Next install necessary library for Python:
pip3 install requests
Download scripts for Zabbix Agent:
curl https://cdn.cesbo.com/astra/zabbix/agent.tar.gz | tar -zxC /opt
Scripts will be saved to the
/opt/zabbix_agent directory. Download service configuration file for Zabbix Agent:
curl -o /etc/zabbix/zabbix_agentd.d/astra.conf https://cdn.cesbo.com/astra/zabbix/astra.conf
And finally restart Zabbix Agent:
systemctl restart zabbix-agent
Download the Template to your computer and import this file to Zabbix:
In Zabbix Web Interface open Configuration -> Templates, then click the Import button in the upper right corner. Click Browse and select the downloaded template file, then click Import button. After successful import, you will see a green message Imported successfully
In Zabbix Web Interface open Configuration -> Templates, then select Astra API monitoring and open the Macros tab. Fill next values:
Click Update button to apply changes
In Zabbix Web Interface open Configuration -> Hosts, then click Create host in the top right corner. Fill following fields:
Open the Templates tab and in the field Link new templates append Astra API monitoring. Also if you want to control the general state of the system, append also Linux by Zabbix agent.
Save changes. After about 10 minutes, you will see graphs and triggers about the status of channels and adapters