negan07 / ancistrus

Netgear's D7000 Nighthawk Router Experience Distributed Project
https://negan07.github.io/ancistrus/
GNU General Public License v2.0
66 stars 17 forks source link

snmp #22

Closed adrianhewitt closed 6 years ago

adrianhewitt commented 6 years ago

any chance we could get an snmp daemon on this firmware?

negan07 commented 6 years ago

yes possible time to time: there's some work to do

adrianhewitt commented 6 years ago

yay! very much looking forward to the future of this project

negan07 commented 6 years ago

there are many smnp daemons all around: any preference ?

adrianhewitt commented 6 years ago

no preference here. i had a look around earlier and noticed some have 32bit counters (mini snmpd) and others 64bit. i don't really know if the d7000 supports 64bit counters or if that really is necessary... my use case will be basically reading data transfer readouts from the router and write them to an influxdb database every 30secs or so. pretty basic. unsure if anyone wants it to be much more complex?

negan07 commented 6 years ago

mini-snmpd package is up with gui panel looks tiny but give a try and tell

adrianhewitt commented 6 years ago

hrmm cant seem to get it completely working, but likely just missing something. i installed/updated mini-snmpd and dependencies as the wiki said, and manually setting minisnmpd_enable and running it from telnet gets it up and running... only issue i find is it's not returning network port usage (does return mem/disk/cpu data though). also if i go to look into the webui to see if theres anything i can switch there i find loading the Ancistrus panel collects a whole heap of 404 not founds while trying to access http://192.168.0.1/opkgstatus / http://192.168.0.1/opkglistupgr. oh, and can't find mention of the snmp daemon there :) theres a list of things under Core Setup, but Management / Networking / Storage / General are empty. Maybe there is something i need to update?

adrianhewitt commented 6 years ago

(more background: pretty sure router is running the latest monolithic firmware, haven't done much to it since installing that)

negan07 commented 6 years ago

which client did u use for snmp ?

the web gui needs a complete package upgrade before: run opkg update && opkg upgrade

some packages needs force reinstall like opkg, openssh & qos-sqm

opkg update
opkg install --force-reinstall opkg
opkg install --force-reinstall openssh
opkg install --force-reinstall qos-sqm

the minisnmpd doesn't have config but all options are at invocation level

the void menu are filled dynamically when installing some are void because no packages

adrianhewitt commented 6 years ago

i was mainly testing via snmpwalk, but also tried PeakHour 3 to double check and that couldn't find any interfaces. heres the output i get from snmpwalk:

$ snmpwalk -v2c -c public 192.168.0.1 .
SNMPv2-MIB::sysDescr.0 = STRING: router
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (7200167) 20:00:01.67
SNMPv2-MIB::sysContact.0 = STRING: -i
SNMPv2-MIB::sysName.0 = STRING: D7000
SNMPv2-MIB::sysLocation.0 = STRING: here
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (7205721) 20:00:57.21
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 227428 kB
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 87880 kB
UCD-SNMP-MIB::memShared.0 = INTEGER: 232673 kB
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 0 kB
UCD-SNMP-MIB::memCached.0 = INTEGER: 26984 kB
UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
UCD-SNMP-MIB::dskPath.1 = STRING: /mnt/shares
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 0
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 0
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 0
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 0
UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 0
UCD-SNMP-MIB::laIndex.1 = INTEGER: 1
UCD-SNMP-MIB::laIndex.2 = INTEGER: 2
UCD-SNMP-MIB::laIndex.3 = INTEGER: 3
UCD-SNMP-MIB::laNames.1 = STRING: Load-1
UCD-SNMP-MIB::laNames.2 = STRING: Load-5
UCD-SNMP-MIB::laNames.3 = STRING: Load-15
UCD-SNMP-MIB::laLoad.1 = STRING: 0.20
UCD-SNMP-MIB::laLoad.2 = STRING: 0.09
UCD-SNMP-MIB::laLoad.3 = STRING: 0.07
UCD-SNMP-MIB::laConfig.1 = STRING: 1
UCD-SNMP-MIB::laConfig.2 = STRING: 5
UCD-SNMP-MIB::laConfig.3 = STRING: 15
UCD-SNMP-MIB::laLoadInt.1 = INTEGER: 20
UCD-SNMP-MIB::laLoadInt.2 = INTEGER: 9
UCD-SNMP-MIB::laLoadInt.3 = INTEGER: 7
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 20132
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 232695
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 4292342470
UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 0
UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 3204311252
UCD-SNMP-MIB::ssRawContexts.0 = No more variables left in this MIB View (It is past the end of the MIB tree)

pretty sure when i was playing previously i tried opkg update && opkg upgrade (also just ran it again to be sure)

aaaand curiously when i run opkg install --force-reinstall opkg, it returns:

Collected errors:                                                    
 * pkg_run_script: Internal error: opkg has a NULL tmp_unpack_dir.   
 * prerm_upgrade_old_pkg: prerm script for package "opkg" failed     
 * opkg_solver_install: Cannot install package opkg.    

sorry to be a pain :) and i appreciate your work!

adrianhewitt commented 6 years ago

(also if it's going to be easier just to wait for the next monolithic build, i'm happy to wait)

negan07 commented 6 years ago

no need: simply remove opkg

opkg remove opkg

rm -r /usr/lib/opkg/* /tmp/opkg/

and start again with startup.sh: https://negan07.github.io/ancistrus/

now reinstall the packages you need

adrianhewitt commented 6 years ago

had an issue with one of the removes and reinstall, so i restarted from the latest monolithic then ran startup.sh and the web interface is fine now :) installed minisnmpd again but seems to be reporting the same data, details about everything but the network interfaces. i had a quick look to see if there was a minismtpd config file anywhere to attempt to manually load them but i wasn't find anything.

negan07 commented 6 years ago

disable mini-snmpd and run the cmd manually with parameters

mini_snmpd -c ${minisnmpd_community} -D ${minisnmpd_description} -V ${minisnmpd_vendor} -L ${minisnmpd_location} -C ${minisnmpd_contact} -i ${minisnmpd_interfaces} -d ${minisnmpd_disks}

here you can include the interfaces on the -i option included are ppp1 & group1 (wan & lan) supposed to be enough: maybe you need others present on ifconfig -a

also usb storages should be checked: included -d /mnt/sharesmaybe /mnt/shares/U needed

adrianhewitt commented 6 years ago

Maybe it's group1 that caused the issue. I have this router hooked up to fibre through eth3 without DSL, and when i run ip link show it has one of the group1 listings status as unknown (having a hard time reading output, using a bad third party telnet client since apple removed the in-build telnet client ugh). once i disabled and ran mini_snmpd -i eth0,eth1,eth2,eth3 (yeah just realised i forgot the wifi interfaces) everything came up! :)

(edit: just double checked the group1 unknown thing, that might have been my mistake or this telnet program messing with me. seems to be up now... but still may have been related to the problem?)

negan07 commented 6 years ago

no you are probably right: the group1 is a setting variable lan_if while ppp1 is wan_ifname maybe your particular kind of cable (ethernet) connection has some different behaviour

will fix the rc adding all the available network interfaces

does ppp1 (or the one you have as nvram wan_ifname) have same behaviour?

adrianhewitt commented 6 years ago

bare with me, i'm not super familiar with linux routing software, and only passable with linux ;) plus i think i'm not answering your question, but maybe you will find something in all this information

wan_ifname details:

admin@D7000:$ nvram get wan_ifname
wan_ifname=eth0.1

and for curiosity's sake, here is my complete ip link show readout

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 32
    link/ether 66:4e:b4:be:90:a0 brd ff:ff:ff:ff:ff:ff
3: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 32
    link/ether 8e:d0:65:2b:07:8b brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default 
    link/sit 0.0.0.0 brd 0.0.0.0
5: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT group default 
    link/tunnel6 :: brd ::
6: dsl0: <> mtu 0 qdisc noop state DOWN mode DEFAULT group default 
    link/[29] 
7: bcmsw: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2048 qdisc noop state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:4e brd ff:ff:ff:ff:ff:ff
8: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2048 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:52 brd ff:ff:ff:ff:ff:ff
9: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2048 qdisc pfifo_fast master group1 state UP mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:4e brd ff:ff:ff:ff:ff:ff
10: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master group1 state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:4e brd ff:ff:ff:ff:ff:ff
11: eth3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master group1 state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:4e brd ff:ff:ff:ff:ff:ff
12: eth4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master group1 state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:4e brd ff:ff:ff:ff:ff:ff
13: wl0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master group1 state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:4e brd ff:ff:ff:ff:ff:ff
14: wl1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master group1 state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:50 brd ff:ff:ff:ff:ff:ff
15: group1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default 
    link/ether 08:02:8e:e6:b2:4e brd ff:ff:ff:ff:ff:ff
16: group2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/ether 76:e8:cf:31:66:01 brd ff:ff:ff:ff:ff:ff
17: wl0.1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master group1 state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 62:02:8e:e6:b2:4f brd ff:ff:ff:ff:ff:ff
18: wl0.2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:4e brd ff:ff:ff:ff:ff:ff
19: wl0.3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:4e brd ff:ff:ff:ff:ff:ff
20: wl1.1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master group1 state DOWN mode DEFAULT group default qlen 1000
    link/ether 62:02:8e:e6:b2:51 brd ff:ff:ff:ff:ff:ff
21: wl1.2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:50 brd ff:ff:ff:ff:ff:ff
22: wl1.3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:02:8e:e6:b2:50 brd ff:ff:ff:ff:ff:ff
23: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default 
    link/ether 08:02:8e:e6:b2:4f brd ff:ff:ff:ff:ff:ff

aaaaand here is a fresh snmpwalk with eth0.1 enabled

SNMPv2-MIB::sysDescr.0 = STRING: 
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (534) 0:00:05.34
SNMPv2-MIB::sysContact.0 = STRING: 
SNMPv2-MIB::sysName.0 = STRING: D7000
SNMPv2-MIB::sysLocation.0 = STRING: 
IF-MIB::ifNumber.0 = INTEGER: 8
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifDescr.1 = STRING: eth0
IF-MIB::ifDescr.2 = STRING: eth1
IF-MIB::ifDescr.3 = STRING: eth2
IF-MIB::ifDescr.4 = STRING: eth3
IF-MIB::ifDescr.5 = STRING: eth4
IF-MIB::ifDescr.6 = STRING: w10
IF-MIB::ifDescr.7 = STRING: w11
IF-MIB::ifDescr.8 = STRING: eth0.1
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.6 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.7 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.8 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 1500
IF-MIB::ifMtu.2 = INTEGER: 1500
IF-MIB::ifMtu.3 = INTEGER: 1500
IF-MIB::ifMtu.4 = INTEGER: 1500
IF-MIB::ifMtu.5 = INTEGER: 1500
IF-MIB::ifMtu.6 = INTEGER: 1500
IF-MIB::ifMtu.7 = INTEGER: 1500
IF-MIB::ifMtu.8 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 1000000000
IF-MIB::ifSpeed.2 = Gauge32: 1000000000
IF-MIB::ifSpeed.3 = Gauge32: 1000000000
IF-MIB::ifSpeed.4 = Gauge32: 1000000000
IF-MIB::ifSpeed.5 = Gauge32: 1000000000
IF-MIB::ifSpeed.6 = Gauge32: 1000000000
IF-MIB::ifSpeed.7 = Gauge32: 1000000000
IF-MIB::ifSpeed.8 = Gauge32: 1000000000
IF-MIB::ifPhysAddress.1 = STRING: c0:ff:ee:de:ad:1
IF-MIB::ifPhysAddress.2 = STRING: c0:ff:ee:de:ad:2
IF-MIB::ifPhysAddress.3 = STRING: c0:ff:ee:de:ad:3
IF-MIB::ifPhysAddress.4 = STRING: c0:ff:ee:de:ad:4
IF-MIB::ifPhysAddress.5 = STRING: c0:ff:ee:de:ad:5
IF-MIB::ifPhysAddress.6 = STRING: c0:ff:ee:de:ad:6
IF-MIB::ifPhysAddress.7 = STRING: c0:ff:ee:de:ad:7
IF-MIB::ifPhysAddress.8 = STRING: c0:ff:ee:de:ad:8
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifAdminStatus.3 = INTEGER: up(1)
IF-MIB::ifAdminStatus.4 = INTEGER: up(1)
IF-MIB::ifAdminStatus.5 = INTEGER: up(1)
IF-MIB::ifAdminStatus.6 = INTEGER: up(1)
IF-MIB::ifAdminStatus.7 = INTEGER: up(1)
IF-MIB::ifAdminStatus.8 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: lowerLayerDown(7)
IF-MIB::ifOperStatus.4 = INTEGER: lowerLayerDown(7)
IF-MIB::ifOperStatus.5 = INTEGER: lowerLayerDown(7)
IF-MIB::ifOperStatus.6 = INTEGER: unknown(4)
IF-MIB::ifOperStatus.7 = INTEGER: unknown(4)
IF-MIB::ifOperStatus.8 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.2 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.3 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.4 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.5 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.6 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.7 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.8 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.1 = Counter32: 320323957
IF-MIB::ifInOctets.2 = Counter32: 305674287
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifInOctets.5 = Counter32: 0
IF-MIB::ifInOctets.6 = Counter32: 3197139389
IF-MIB::ifInOctets.7 = Counter32: 3197139892
IF-MIB::ifInOctets.8 = Counter32: 3486009490
IF-MIB::ifInUcastPkts.1 = Counter32: 74413660
IF-MIB::ifInUcastPkts.2 = Counter32: 3506295
IF-MIB::ifInUcastPkts.3 = Counter32: 0
IF-MIB::ifInUcastPkts.4 = Counter32: 0
IF-MIB::ifInUcastPkts.5 = Counter32: 0
IF-MIB::ifInUcastPkts.6 = Counter32: 0
IF-MIB::ifInUcastPkts.7 = Counter32: 4294967248
IF-MIB::ifInUcastPkts.8 = Counter32: 74412685
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.2 = Counter32: 0
IF-MIB::ifInDiscards.3 = Counter32: 0
IF-MIB::ifInDiscards.4 = Counter32: 0
IF-MIB::ifInDiscards.5 = Counter32: 0
IF-MIB::ifInDiscards.6 = Counter32: 0
IF-MIB::ifInDiscards.7 = Counter32: 0
IF-MIB::ifInDiscards.8 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.2 = Counter32: 0
IF-MIB::ifInErrors.3 = Counter32: 0
IF-MIB::ifInErrors.4 = Counter32: 0
IF-MIB::ifInErrors.5 = Counter32: 0
IF-MIB::ifInErrors.6 = Counter32: 4294967295
IF-MIB::ifInErrors.7 = Counter32: 0
IF-MIB::ifInErrors.8 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 2451827226
IF-MIB::ifOutOctets.2 = Counter32: 903033440
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 0
IF-MIB::ifOutOctets.5 = Counter32: 0
IF-MIB::ifOutOctets.6 = Counter32: 4
IF-MIB::ifOutOctets.7 = Counter32: 3069433816
IF-MIB::ifOutOctets.8 = Counter32: 2198018286
IF-MIB::ifOutUcastPkts.1 = Counter32: 62990387
IF-MIB::ifOutUcastPkts.2 = Counter32: 18767219
IF-MIB::ifOutUcastPkts.3 = Counter32: 0
IF-MIB::ifOutUcastPkts.4 = Counter32: 0
IF-MIB::ifOutUcastPkts.5 = Counter32: 0
IF-MIB::ifOutUcastPkts.6 = Counter32: 4294967295
IF-MIB::ifOutUcastPkts.7 = Counter32: 3069635609
IF-MIB::ifOutUcastPkts.8 = Counter32: 62990665
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutDiscards.3 = Counter32: 0
IF-MIB::ifOutDiscards.4 = Counter32: 0
IF-MIB::ifOutDiscards.5 = Counter32: 0
IF-MIB::ifOutDiscards.6 = Counter32: 0
IF-MIB::ifOutDiscards.7 = Counter32: 0
IF-MIB::ifOutDiscards.8 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IF-MIB::ifOutErrors.3 = Counter32: 0
IF-MIB::ifOutErrors.4 = Counter32: 0
IF-MIB::ifOutErrors.5 = Counter32: 0
IF-MIB::ifOutErrors.6 = Counter32: 0
IF-MIB::ifOutErrors.7 = Counter32: 0
IF-MIB::ifOutErrors.8 = Counter32: 0
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (42799793) 4 days, 22:53:17.93
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 227428 kB
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 88872 kB
UCD-SNMP-MIB::memShared.0 = INTEGER: 7 kB
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 0 kB
UCD-SNMP-MIB::memCached.0 = INTEGER: 25900 kB
UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 36864
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 4052
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 32812
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 90
UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 0
UCD-SNMP-MIB::laIndex.1 = INTEGER: 1
UCD-SNMP-MIB::laIndex.2 = INTEGER: 2
UCD-SNMP-MIB::laIndex.3 = INTEGER: 3
UCD-SNMP-MIB::laNames.1 = STRING: Load-1
UCD-SNMP-MIB::laNames.2 = STRING: Load-5
UCD-SNMP-MIB::laNames.3 = STRING: Load-15
UCD-SNMP-MIB::laLoad.1 = STRING: 0.07
UCD-SNMP-MIB::laLoad.2 = STRING: 0.05
UCD-SNMP-MIB::laLoad.3 = STRING: 0.05
UCD-SNMP-MIB::laConfig.1 = STRING: 1
UCD-SNMP-MIB::laConfig.2 = STRING: 5
UCD-SNMP-MIB::laConfig.3 = STRING: 15
UCD-SNMP-MIB::laLoadInt.1 = INTEGER: 7
UCD-SNMP-MIB::laLoadInt.2 = INTEGER: 5
UCD-SNMP-MIB::laLoadInt.3 = INTEGER: 5
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 158847
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 65
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1587083
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 83814132
UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 4052
UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 4
UCD-SNMP-MIB::ssRawContexts.0 = No more variables left in this MIB View (It is past the end of the MIB tree)

background on the internet connection which likely doesn't matter, it's on the ISP iiNet via the NBN in Australia. been a while, but pretty sure the modem is automatically configured through the ISP on initial setup.

negan07 commented 6 years ago

bumped mini-snmpd with eth0,eth1,eth2,eth3,eth4,ip6tnl0,${wan_ifname},ptm0,wl0,wl1 $wan_ifname can assume values depending on type of connection: dsl or cable ptm0 should be for vdsl only wl0 for 2.4ghz wl1 for 5ghz ip6tnl should be for ipv6 tunnelling usage