mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
Both libConfuse and ethtool support is relatively new features. Enable optional support for them, including an example /etc/mini-snmpd.conf Signed-off-by: Joachim Wiberg <troglobit@gmail.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
37 lines
956 B
Plaintext
37 lines
956 B
Plaintext
# Require client authentication (SNMP v2c)
|
|
authentication = true
|
|
community = "public"
|
|
|
|
# Descriptive MIB-II system.* values, shown by snmpwalk
|
|
#location = "Server room, rack 4"
|
|
#contact = "ops@example.com"
|
|
#description = "Acme Gateway 3000"
|
|
|
|
# Vendor OID tree (enterprises.*)
|
|
#vendor = ".1.3.6.1.4.1"
|
|
|
|
# MIB poll timeout, seconds
|
|
#timeout = 1
|
|
|
|
# Mount points to expose in UCD-SNMP-MIB::dskTable
|
|
#disk-table = { "/", "/var" }
|
|
|
|
# Interfaces to expose in IF-MIB::ifTable
|
|
#iface-table = { "eth0", "eth1" }
|
|
|
|
# SNMPv2 trap sinks
|
|
#trap-table = { "192.0.2.1", "[2001:db8::1]:1620" }
|
|
|
|
# Emulate the respons of another device
|
|
# custom ".1.3.6.1.4.1.11.2.3.9.1.1.7.0" {
|
|
# value = "MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CLS:PRINTER;"
|
|
#}
|
|
|
|
# Map ethtool stats to IF-MIB counters:
|
|
#ethtool "eth*" {
|
|
# rx_bytes = ifInOctets
|
|
# rx_packets = ifInUcastPkts
|
|
# tx_bytes = ifOutOctets
|
|
# tx_packets = ifOutUcastPkts
|
|
#}
|