librenms / librenms-agent

LibreNMS Agent & Scripts
GNU General Public License v2.0
118 stars 188 forks source link

Fix zfs-freebsd.py Capacity Output #265

Closed Dmkaz closed 4 years ago

Dmkaz commented 4 years ago

'zpool-list -pH' returns capacity as a percentage which needs to be stripped as well as account for null (-) values. Additionally, the output now also includes 'CKPOINT' which needs to be added to the fields array so it splits correctly.