Monitoring TrueNAS with Zabbix and Displaying Graphics with Grafana

Monitoring TrueNAS with Zabbix and Displaying Graphics with Grafana

The last day I read that someone was needing some help about how to monitor a TrueNAS using Zabbix, and why not displaying graphics in Grafana. Below I will show a few simple steps for accomplishing it.

This was tested in the following environment:

  • Zabbix 5.0 LTS on Linux CentOS 8 Stream
  • Grafana OSS on Linux CentOS 8 Stream
  • TrueNAS Core version TrueNAS-12.0-U2.1

I assume you have a Zabbix server running, in case you might not, here you will find the instructions for installing Zabbix 5.0 LTS on Linux CentOS 8

In case you need to install Grafana, check the following steps:

Create the following repo file with nano /etc/yum.repo.d/grafana.repo and add the following content:

[grafana]

name=grafana

baseurl=https://packages.grafana.com/oss/rpm

repo_gpgcheck=1

enabled=1

gpgcheck=1

gpgkey=https://packages.grafana.com/gpg.key

sslverify=1

sslcacert=/etc/pki/tls/certs/ca-bundle.crt

Now you can proceed to install Grafana with the following command:

dnf install -y grafana

Now enable and start the service as well:

systemctl enable grafana-server && systemctl start grafana-server

Find more information about Grafana OSS releases installation, check the following link: Grafana Information

If you haven't made the integration yet of Grafana with Zabbix, please follow this procedure: Grafana and Zabbix Integration

There is a template you could use for monitoring your TrueNAS, BUT before uploading FreeNAS-11 Zabbix Template, you need to upload the following templates:

SNMP Interface Discovery

SNMP Processors Discovery

SNMP Generic

Now you can upload the FreeNAS-11 Zabbix template in order to monitor your TrueNAS:

FreeNAS-11 Template

This is TrueNAS Web Interface:

No alt text provided for this image

TrueNAS being monitored in Zabbix, see some metrics below:

No alt text provided for this image

This is my TrueNAS Dashboard in Grafana

No alt text provided for this image

Hoping this post was helpful and feel free to share it with others.




















Is it also possible to monitor HD temperatures like this?

要查看或添加评论,请登录

社区洞察

其他会员也浏览了