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)
Sat, Oct 26, 2:25 PM
Unknown Object (File)
Oct 8 2024, 10:40 AM
Unknown Object (File)
Oct 5 2024, 10:14 AM
Unknown Object (File)
Oct 2 2024, 7:16 PM
Unknown Object (File)
Oct 2 2024, 11:30 AM
Unknown Object (File)
Oct 2 2024, 4:51 AM
Unknown Object (File)
Oct 1 2024, 9:32 PM
Unknown Object (File)
Sep 29 2024, 8:40 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