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)
Fri, Apr 17, 4:25 PM
Unknown Object (File)
Wed, Apr 15, 4:24 PM
Unknown Object (File)
Tue, Apr 14, 1:45 AM
Unknown Object (File)
Thu, Apr 9, 10:52 AM
Unknown Object (File)
Thu, Apr 9, 5:13 AM
Unknown Object (File)
Tue, Apr 7, 8:58 PM
Unknown Object (File)
Tue, Apr 7, 8:38 AM
Unknown Object (File)
Sun, Apr 5, 11:10 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable