tr1plus / zabbix_truenas_SCALE_snmp

Zabbix monitoring template for truenas scale 22.12.1 & higher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zabbix_truenas_SCALE_snmp

Zabbix monitoring template for truenas scale 22.12.1 & higher

Overview

Template for monitoring TrueNAS SCALE by SNMP. Based on the original of: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/app/truenas_snmp?at=release/6.0

As per the comment in this issue: https://ixsystems.atlassian.net/browse/NAS-120434, Truenas SCALE changed a lot of SNMP and thus OID names in version 22.12.1. This resulted in many broken monitoring data.

I tried reaching out via the forum & reddit to get this resolved, but never got any support or interest in this. I decided to work on this for personal usage & hope to help someone else with this too.

NOTE: I had to delete certain logic in this, since with the new SNMP data the pools no longer share data usage statistics. I had to monitor this on datasets using some calculated fields and the available data. I have built a rule to only do this on the "root" datasets (so no sub datasets/folders) as my logic would only work for those based on the available fields in SNMP I could find.

Requirements

Zabbix version: 6.0 and higher.

Tested versions

This template has been tested on:

TrueNAS-SCALE-22.12.3.3

Setup

Additional macro

  • {$DATASET.ROOT} was added with default value ^(.+\/(.+)) to ensure only the root dataset would get marked for the item prototype.

About

Zabbix monitoring template for truenas scale 22.12.1 & higher

License:GNU General Public License v2.0