mini_snmpd.config (1087B)
1 # you may add more than the 'default' mini_snmpd instances provided they all bind to different ports/interfaces 2 # to get around max 4 interface or mountpoint limit constrained by mini_snmpd's mib 3 config mini_snmpd 'default' 4 option enabled 1 5 option ipv6 0 6 # Verbose flag given to mini_snmpd, extra verbose is only possible with compile time config flags 7 option debug 0 8 # Turn on community authentication (snmp agent must use community name) 9 option auth 0 10 option community 'public' 11 option contact 'OpenWRT router <openwrt@openwrt.org>' 12 option location 'Undisclosed' 13 # to listen on all interfaces you need to set option listen_interface '' 14 option listen_interface 'lan' 15 #option udp_port '161' 16 #option tcp_port '161' 17 #option vendor_oid '' 18 option mib_timeout 1 19 # enable basic disk usage statistics on specified mountpoint 20 list disks '/overlay' 21 list disks '/tmp' 22 # enable basic network statistics on specified interface 23 # 4 interfaces maximum per instance, as named in /etc/config/network and luci 24 # not physical device names 25 list interfaces 'lan' 26 list interfaces 'wan'