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, Dec 31, 8:47 PM
Unknown Object (File)
Sat, Dec 20, 8:10 PM
Unknown Object (File)
Dec 5 2025, 1:46 AM
Unknown Object (File)
Dec 4 2025, 9:33 PM
Unknown Object (File)
Nov 30 2025, 7:28 PM
Unknown Object (File)
Nov 28 2025, 12:13 PM
Unknown Object (File)
Nov 28 2025, 8:05 AM
Unknown Object (File)
Nov 28 2025, 2:35 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