Page MenuHomeFreeBSD

prometheus_sysctl_exporter: ignore ENOENT for mibs specified on the CLI
ClosedPublic

Authored by asomers on Jun 21 2022, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 19, 7:26 AM
Unknown Object (File)
Wed, Aug 12, 11:26 AM
Unknown Object (File)
Wed, Aug 12, 11:25 AM
Unknown Object (File)
Wed, Aug 12, 9:52 AM
Unknown Object (File)
Tue, Aug 11, 5:00 PM
Unknown Object (File)
Sun, Aug 9, 2:15 PM
Unknown Object (File)
Fri, Aug 7, 4:52 PM
Unknown Object (File)
Wed, Aug 5, 9:21 AM
Subscribers

Details

Summary

They might belong to kernel modules not currently loaded, or to other
kernel versions. Ignoring them allows the configuration to be shared
between multiple hosts.

MFC after: 2 weeks
Sponsored by: Axcient

Test Plan

Manually tested with commands lines containing both existent and non-existent mibs

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46053
Build 42942: arc lint + arc unit