iliak
Contributor
- Joined
- Dec 18, 2018
- Messages
- 148
Update: it works with some issues
i have integratd with zabbix with https://github.com/monotok/zabbix-template-freenas11
but the reports of the pool are incorrect, i have 50% usage in the pool, but the report on the zabbix says it is over 70%
i did not do the following: (based on the git read me i)
but did not understand what to do exactly with the mib files (that might cause the error in the calculation)
i have integratd with zabbix with https://github.com/monotok/zabbix-template-freenas11
but the reports of the pool are incorrect, i have 50% usage in the pool, but the report on the zabbix says it is over 70%
i did not do the following: (based on the git read me i)
Code:
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
but did not understand what to do exactly with the mib files (that might cause the error in the calculation)
Last edited: