prometheus-community / node-exporter-textfile-collector-scripts

Scripts for node-exporter's textfile collector
Apache License 2.0
512 stars 191 forks source link

Port zfs_zpool.sh to Python #189

Open lstrojny opened 1 year ago

lstrojny commented 1 year ago

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
SuperQ commented 1 year ago

Are the ZFS scripts necessary anymore? The node_exporter has a full ZFS collector module now.

lstrojny commented 12 months ago

Yup, the metrics provided here are not exposed by node exporter.