A Dockerised Zabbix agent application for TrueNAS environments. This project provides a simple way to deploy and manage a Zabbix Agent using Docker and Docker Compose.
Due to security concerns from the TrueNAS team, this app is not available in the official TrueNAS app catalog. Sorry, I tried!
- Easy deployment with Docker Compose on TrueNAS via a custom app
- Uses the official Zabbix Agent image
- Bundles the TrueNAS API and
midcltcommand to poll TrueNAS systems
- Add discovery rules for TrueNAS pools
- Add discovery rules for TrueNAS datasets
- Add discovery rules for other TrueNAS stuff
- Add graphs, triggers, etc.
- TrueNAS installed -- minimum tested version is 25.04
- Installation of the Zabbix template
- Login to your TrueNAS system via the web interface.
- Click Apps -> Discover Apps -> Hamburger menu -> Install via YAML
- Paste the contents of
docker-compose.yamlinto the text area. - Edit the environment variables as needed.
The actual polling of the TrueNAS system is done via the midclt command using Zabbix UserParameters.
The config file is a simple one-liner, using the power of passing arguments to the midclt command via Zabbix
item parameters.
Import the Zabbix template truenas_agent_template.yaml into your Zabbix server to get the necessary items.
There is currently only discovery and items in the template. Pull requests are welcome and desired to add more things to the template, such as triggers, graphs, etc.
For questions or support, please open an issue on this repo. Though there is a thread on the TrueNAS forums, I'd prefer to keep the discussion here on GitHub.