SEARCH
ASUS Member ID
Password
Forgot password?
Join member

ASUS Support Home Location : Forum > Wireless > RT-N66U (VER.B1)  
  Forum  
  Topic : [Problem]No snmp available New Topic
wiz
Member
Posts : 35
Level :
Tech Points : 48
From: Netherlands
Posted:6/17/2012 9:15:00 PM # 1
Is there a way to get snmp going on the RT-N66U in order to monitor the device?

  Reply Reply Quote & Reply Quote & Reply
wiz
Member
Posts : 35
Level :
Tech Points : 48
From: Netherlands
Posted:6/17/2012 10:53:00 PM # 2

Quote:
Author: wiz Posted: 6/17/2012 9:15:00 PM

Is there a way to get snmp going on the RT-N66U in order to monitor the device?

sorted it, in asusware you can install snmp. It's a shame it is not configureable from the webinterface though, but never the less it works now.

  Reply Reply Quote & Reply Quote & Reply
Gary
Posts : 2
Level :
Tech Points : 1
From: United Kingdom
Posted:7/3/2012 5:32:00 PM # 3
Hi,

can anyone confirm how this is done?

I would really like to get snmp working on the router but not sure what the process is from the above statement?

Thanks!

  Reply Reply Quote & Reply Quote & Reply
wiz
Member
Posts : 35
Level :
Tech Points : 48
From: Netherlands
Posted:7/11/2012 3:34:00 AM # 4
sure. It is no big deal. I prepared an usb stick (formatted it as an ext2) and hooked it up to the asus.

Then you install download manager from the usb application menu. Enable telnet, and then login to your router.

Because you installed download manager it also sets up the package manger ipkg and the oleg and asus repositories.

Now you do ipkg install snmp and voila, snmp is installed. To get snmp fired up on boot you do app_set_enable.sh snmp yes, and you're good to go.

In /opt/etc/ you will find the snmpd.conf, there you can tinker with snmp, I have changed the speeds of the interfaces according to their speeds, otherwise if you monitor the load on the interfaces does not make sense.


  Reply Reply Quote & Reply Quote & Reply
JM
Posts : 6
Level :
Tech Points : 4
From: Sweden
Posted:7/19/2012 4:54:00 PM # 5
I also tried this, ipkg install net-snmp, change config, HUP and it works fine until reboot. There are som libs that gets locally linked and not to the external USB drive, like

admin@(none):/tmp/opt/lib# ls -la libnetsnmp*
-rwxr-xr-x    1 admin    root           850 Feb 18 10:23 libnetsnmp.la
lrwxrwxrwx    1 admin    root            20 Jul 19 10:41 libnetsnmp.so -> libnetsnmp.so.15.1.2
lrwxrwxrwx    1 admin    root            20 Jul 19 10:41 libnetsnmp.so.15 -> libnetsnmp.so.15.1.2
-rwxr-xr-x    1 admin    root        675840 Feb 18 10:26 libnetsnmp.so.15.1.2
-rwxr-xr-x    1 admin    root           903 Feb 18 10:23 libnetsnmpagent.la
lrwxrwxrwx    1 admin    root            25 Jul 19 10:41 libnetsnmpagent.so -> libnetsnmpagent.so.15.1.2
lrwxrwxrwx    1 admin    root            25 Jul 19 10:41 libnetsnmpagent.so.15 -> libnetsnmpagent.so.15.1.2
-rwxr-xr-x    1 admin    root        276200 Feb 18 10:26 libnetsnmpagent.so.15.1.2
-rwxr-xr-x    1 admin    root           943 Feb 18 10:23 libnetsnmphelpers.la
lrwxrwxrwx    1 admin    root            27 Jul 19 10:41 libnetsnmphelpers.so -> libnetsnmphelpers.so.15.1.2
lrwxrwxrwx    1 admin    root            27 Jul 19 10:41 libnetsnmphelpers.so.15 -> libnetsnmphelpers.so.15.1.2
-rwxr-xr-x    1 admin    root        158060 Feb 18 10:26 libnetsnmphelpers.so.15.1.2
-rwxr-xr-x    1 admin    root           960 Feb 18 10:23 libnetsnmpmibs.la
lrwxrwxrwx    1 admin    root            24 Jul 19 10:41 libnetsnmpmibs.so -> libnetsnmpmibs.so.15.1.2
lrwxrwxrwx    1 admin    root            24 Jul 19 10:41 libnetsnmpmibs.so.15 -> libnetsnmpmibs.so.15.1.2
-rwxr-xr-x    1 admin    root       1233956 Feb 18 10:26 libnetsnmpmibs.so.15.1.2
-rwxr-xr-x    1 admin    root           993 Feb 18 10:23 libnetsnmptrapd.la
lrwxrwxrwx    1 admin    root            25 Jul 19 10:41 libnetsnmptrapd.so -> libnetsnmptrapd.so.15.1.2
lrwxrwxrwx    1 admin    root            25 Jul 19 10:41 libnetsnmptrapd.so.15 -> libnetsnmptrapd.so.15.1.2
-rwxr-xr-x    1 admin    root         44064 Feb 18 10:26 libnetsnmptrapd.so.15.1.2
After reboot all these are gone and snmpd fails to start. Any ideas how to fix this? The other "good" looks like this...
lrwxrwxrwx    1 admin    root            44 Jan  1  2011 libgcc_s.so.1 -> /tmp/mnt/PENDRIVE/asusware/lib/libgcc_s.so.1
Cheers, \\JM

  Reply Reply Quote & Reply Quote & Reply
RMerlin
VIP Member
Posts : 913
Level :
Tech Points : 494
From: Canada
Posted:7/19/2012 9:42:00 PM # 6

Make sure your USB drive is formatted as ext2 or ext3.My guess is you are using NTFS or FAT32, so some symlinks are pointing to RAM instead of your disk.


  Reply Reply Quote & Reply Quote & Reply
Custom RT-N16/RT-AC56U/RT-N66U/RT-AC66U firmware: http://www.lostrealm.ca/asuswrt-merlin
wiz
Member
Posts : 35
Level :
Tech Points : 48
From: Netherlands
Posted:7/20/2012 4:21:00 PM # 7
if you want it to start after a reboot do a app_set_enabled snmp yes and it will start snmp on reboot

  Reply Reply Quote & Reply Quote & Reply
JM
Posts : 6
Level :
Tech Points : 4
From: Sweden
Posted:7/20/2012 5:00:00 PM # 8
It works fine. Many thanks. (Was vfat). Cheers, \\JM

  Reply Reply Quote & Reply Quote & Reply
Andrew
Posts : 1
Level :
Tech Points : 1
From: Netherlands
Posted:4/19/2013 3:42:00 AM # 9
Many thanks to Andrew Pakpahan - it works beautifully for me too

  Reply Reply Quote & Reply Quote & Reply
MichaelG04
Posts : 1
Level :
Tech Points : 1
From: United States
Posted:8/17/2013 9:43:00 PM # 10
i set it up no problem, but i get >
>admin@RT-AC66R:/tmp/home/root# app_set_enabled.sh snmp yes>-sh: app_set_enabled: not found>
>
>also, what are you talking about setting speed options, i didn't see any of that in there?>
>many thanks.

  Reply Reply Quote & Reply Quote & Reply
1 2  Next  Last
Previous Topic:: Next Topic
Feedback for our Website ModeratorModerator: New Topic Related FAQ Related FAQ Forum Home Forum Home
Forum Model :
Legal Information | Privacy Policy | Sitemap | Contact Us | ASUS Global
  ©ASUSTeK Computer Inc. All rights reserved.