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)
Thu, Apr 3, 11:03 PM
Unknown Object (File)
Sat, Mar 15, 2:17 AM
Unknown Object (File)
Mar 3 2025, 12:05 AM
Unknown Object (File)
Feb 20 2025, 3:29 AM
Unknown Object (File)
Feb 19 2025, 6:20 AM
Unknown Object (File)
Feb 14 2025, 1:44 PM
Unknown Object (File)
Feb 13 2025, 10:31 AM
Unknown Object (File)
Feb 1 2025, 1:22 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable