What's new

RT-AX88U snmpd - mini Guide

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

You need something that can read SNMP to test
 
You need something that can read SNMP to test

Thanks for the reply.

It doesn't look like it's working:

Screenshot 2023-01-17 at 11.57.53 am.png
 
I recall something was not documented correctly about the confg file location. Do some searching
 
@Skeptical.me What is it that you think isn't working?

You said a few posts back that you got it working. Your were able to snmpwalk it. Your Nagios program could see it and your image in post #62 shows it working.
 
@Skeptical.me What is it that you think isn't working?

You said a few posts back that you got it working. Your were able to snmpwalk it. Your Nagios program could see it and your image in post #62 shows it working.

Oh, okay ... I wasn't sure. I'm just learning about snmp and Cacti/Nagios so there are a lot of things I don't understand yet.

Thanks for your reply.

The last image I posted had a column that says snmp, and all the devices (apart from the router and printer) say "Down" , so I assumed that meant snmp wasn't working.
 
The last image I posted had a column that says snmp, and all the devices (apart from the router and printer) say "Down" , so I assumed that meant snmp wasn't working.
SNMP only reports information about the machine it's running on (i.e. your router). If you want other machines to report SNMP data they need to be running their own SNMP service.
 
SNMP only reports information about the machine it's running on (i.e. your router). If you want other machines to report SNMP data they need to be running their own SNMP service.
Ahh, right. I had assumed snmp on the router reported the devices connected. Total noob lol ... thanks!
 
as discused in this thread f the normal snmpd crashed on the RT-AX88U.
So i tryed the mini-snmp package from entware, wich runs totally fine. Just want to share, if someone need this.

install mini_snmpd, snmp-utils

Code:
opkg install mini_snmpd
opkg install snmp-utils

create /opt/etc/init.d/S50mini_snmpd

Code:
#!/bin/sh

ENABLED=yes
PROCS=mini_snmpd
ARGS="-i br0,eth0 -D RT-AX88U -L YOUR-LOCATION -c public -C YOUR-EMAIL"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

. /opt/etc/init.d/rc.func

add/replace your Interfaces in the script after -i and replace YOUR-LOCATION and YOUR-EMAIL with your values.

test from different linux pc with installed snmp

Code:
 snmpwalk -v2c -c public 192.168.X.X

View attachment 17274

grafana:

View attachment 17272
View attachment 17273
Hi Help, please.
by the site "https://openwrt.org/toh/asus/start" , OpenWrt not support "ASUS RT-AX88U". So how did you manage to run commands like this : "opkg install mini_snmpd" ?

10x
 
I'm trying and it installs but the output in snmpwalk is:


MIB search path: /root/.snmp/mibs:/opt/share/snmp/mibs
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (TUNNEL-MIB): At line 0 in (none)
Cannot find module (IPV6-FLOW-LABEL-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none)
I'm trying to set this up on my RT-AC86U and getting the same messages. How did you resolve this?
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top