node-exporter-textfile-collector-scripts icon indicating copy to clipboard operation
node-exporter-textfile-collector-scripts copied to clipboard

Port zfs_zpool.sh to Python

Open lstrojny opened this issue 1 year ago • 2 comments

  • Ports the shell script to Python
  • Introduces new metrics from zfs_status

New metrics

zfs_zpool_status The status of the zpool
zfs_zpool_vdev_info Information about the vdevs in a zpool
zfs_zpool_scrub_duration_seconds The duration of the latest zpool scrub in seconds
zfs_zpool_scrub_corrected_bytes The number of corrected bytes of the latest zpool scrub
zfs_zpool_scrub_time_seconds The timestamp of the latest zpool scrub
zfs_zpool_resilvering_duration_seconds The duration of the latest zpool scrub in seconds
zfs_zpool_resilvering_corrected_bytes The number of corrected bytes of the latest zpool scrub
zfs_zpool_resilvering_time_seconds The timestamp of the latest zpool scrub

lstrojny avatar Nov 23 '23 13:11 lstrojny