The Zabbix StackPack is used to create a near real time synchronization with your Zabbix instance.
The following prerequisites need to be met:
StackState Agent V2 must be installed on a single machine which can connect to Zabbix and StackState.
A Zabbix instance must be running.
NOTE: Zabbix versions 3 and 4 are supported.
To enable the Zabbix check and begin collecting data from your Zabbix instance:
Edit the Agent integration configuration file
/etc/sts-agent/conf.d/zabbix.d/conf.yaml to include details of your Zabbix instance:
password - use secrets management to store passwords outside of the configuration file.
# 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
Restart the StackState Agent(s) to publish the configuration changes.
Once the Agent is restarted, wait for the Agent to collect the data and send it to StackState.