From 67861c1a70a0b6ce716c3897a6711a199ccd8b26 Mon Sep 17 00:00:00 2001 From: Christopher Hamer Date: Fri, 30 Mar 2018 16:59:49 +0100 Subject: [PATCH] More info --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 94b925b..305a3dd 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,13 @@ It has more graphs and triggers. It uses the OID as zabbix was having issues par Note: You might get erros if you don't fix the MIB. See bug here: https://forums.freenas.org/index.php?threads/freenas-11-1-snmp-index-out-of-range.62732/ +Please Note: For ZVols, ZPools and Datasets the data is multiplied by 4096 under PreProcessing. This is the AllocationUnits. All of mine were 4096 so decided this is neater. Obviously this can be changed if required, you can get his data from an SNMP Walk. This could be done automatically by creating a item prototype of allocationUnits, another to get the data in units and then another item prototype to to calculate the value in bytes. This would instead of 14 item prototypes; there would be 42. If anyone knows of a better way then please let me know. + +Eg: snmpwalk -v 2c -c public 192.168.1.50 FREENAS-MIB::zvolAllocationUnits +snmpwalk -v 2c -c public 192.168.1.50 FREENAS-MIB::zpoolAllocationUnits +snmpwalk -v 2c -c public 192.168.1.50 FREENAS-MIB::datasetAllocationUnits + + 1) Import the following templates if they are not already https://share.zabbix.com/official-templates/snmp-devices/snmp-interfaces-discovery