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
F132995091: D35540.diff
Tue, Oct 21, 10:07 PM
Unknown Object (File)
Mon, Oct 20, 12:06 AM
Unknown Object (File)
Sun, Oct 19, 4:51 PM
Unknown Object (File)
Sat, Oct 11, 8:40 AM
Unknown Object (File)
Sat, Oct 11, 8:40 AM
Unknown Object (File)
Sat, Oct 11, 8:40 AM
Unknown Object (File)
Sat, Oct 11, 1:15 AM
Unknown Object (File)
Fri, Oct 10, 1:42 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