The Zabbix StackPack is used to create a near real time synchronization with your Zabbix instance.
The following prerequisites need to be met:
The StackState Agent StackPack must be installed on a single machine which can connect to Zabbix and StackState. (See the StackState Agent V2 StackPack for more details).
A Zabbix instance must be running.
NOTE: Zabbix versions 3 and 4 are supported.
To enable the Zabbix check which collects the data from Zabbix instance:
conf.yaml file in your agent
/etc/stackstate-agent/conf.d/zabbix.d directory, replacing
<password> with the information from your Zabbix instance.
# Section used for global Zabbix check configinit_config:instances:# mandatory- url: <url> # http://10.0.0.1/zabbix/api_jsonrpc.php# Read-only credentials to connect to zabbix# mandatoryusername: <username> # Adminpassword: <password> # zabbix
To publish the configuration changes, restart the StackState Agent(s) using below command.
sudo /etc/init.d/stackstate-agent restart
Once the Agent is restarted, wait for the Agent to collect the data and send it to StackState.