If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.
discussed with sthen@, tb@ and robert@
praying that my grep/sed skills did not break anything and still
believing in portbump :-)
config generator (including setting MIBDIRS) when changing the generator
input file. add an example showing use with OPENBSD-PF-MIB (which just had
a commit in src/ that will prevent snmp_exporter from using a hexdump of
various names, so if someone is trying this right now they should pick up
the updated MIB first).
Parts borrowed from https://yetiops.net/posts/openbsd-snmp-exporter/
Prometheus exporter for metrics gathered from SNMP. Contains an exporter
that does the actual scraping, and a generator (which depends on Net-SNMP)
that creates the configuration for use by the exporter.
The snmp exporter reads from a snmp.yml config file by default. This file
is not intended to be written by hand, rather use the generator to generate
it for you.