Skip to content

The zpool_influxdb command does not report errors detected in zpool status #17504

Open
@lowjoel

Description

@lowjoel

Describe the feature would like to see added to OpenZFS

zpool status prints a line to this effect:

errors: Permanent errors have been detected in the following files:
        pool/ds/ds/file:<0x0>

or

errors: No known data errors

The equivalent metric is not published in zpool_influxdb.

How will this feature improve OpenZFS?

Monitoring and tracking systems can follow this metric. Granted this can also be done on zed, but this seems like a pretty big omission.

Additional context

Looks like we're missing querying the ZPOOL_CONFIG_ERRCOUNT tuple? I don't know if it should be used in the zpool_stats measurement because those report per-vdev metrics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: FeatureFeature request or new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions