Mini SNMP Daemon
Mini SNMP Daemon
there have been good reports of this "mini snmp daemon" working on AR7 based routers over at dd-wrt
they have fixed the memory leak problem and it is written using C or C++, so very small and maybe worth a second look
it would be great if SNMP worked with your firmware, then we could monitor hundreds of routers using Cacti, which is a front end to the RRDTool http://www.cacti.net/what_is_cacti.php
they have fixed the memory leak problem and it is written using C or C++, so very small and maybe worth a second look
it would be great if SNMP worked with your firmware, then we could monitor hundreds of routers using Cacti, which is a front end to the RRDTool http://www.cacti.net/what_is_cacti.php
Re: Mini SNMP Daemon
dd-wrt doesn't run on AR7 routers, but it does run on mipsel devices with a linux 2.4 kernel so 'should' be compilable with the appropriate toolchains.
Do you have any specific references?
Is this the same program being discussed in OpenWRT?
https://forum.openwrt.org/viewtopic.php?pid=91234
which has small source here:-
http://members.aon.at/linuxfreak/linux/
Do you have any specific references?
Is this the same program being discussed in OpenWRT?
https://forum.openwrt.org/viewtopic.php?pid=91234
which has small source here:-
http://members.aon.at/linuxfreak/linux/
Re: Mini SNMP Daemon
> Is this the same program being discussed in OpenWRT?
yes - that's the one
I probably meant OpenWRT not dd-wrt - sorry !
yes - that's the one
I probably meant OpenWRT not dd-wrt - sorry !
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: Mini SNMP Daemon
The code is straightforward to compile. The question is whether it will work.
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Re: Mini SNMP Daemon
I hope so Chief, it would put to bed the queries about snmp not working I guess !
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: Mini SNMP Daemon
Well, it is certainly using far less memory than the original (less than half), and it hasn't crashed the router (yet). But whether it is doing anything else is anyone's guess, since I have no idea as to how to test its functionality.
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Re: Mini SNMP Daemon
Does it take same command args as the built-in?
There is snmpwalk for command line Linux.
There is snmpwalk for command line Linux.
Re: Mini SNMP Daemon
this may throw some light on obtaining ADSL line stats from an snmp enabled router
http://www.geekball.net/linksys/LinksysSNMP.html
and this I read through as well
http://sites.google.com/site/ske1fr/usi ... outerstats
http://www.geekball.net/linksys/LinksysSNMP.html
and this I read through as well
http://sites.google.com/site/ske1fr/usi ... outerstats
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: Mini SNMP Daemon
Well, it seems to work - somewhat. From what I can see (assuming my understanding is correct) its functionality is very restricted. It most certainly cannot provide the kind of detailed information that the websites you mention are talking about.
See the attached. As you will see, the snmpd from RT v2.92 seems to provide far more than mini_snmp. But I may of course be missing something. Perhaps the data from the original snmp is useless - or, at least, we know that leaving it on will eventually crash the router. But is mini_snmp not just as useless?
Conclusion? I am not sure that there any point in changing the snmp binary to mini_snmp - but I am open to suggestions on the issue.
See the attached. As you will see, the snmpd from RT v2.92 seems to provide far more than mini_snmp. But I may of course be missing something. Perhaps the data from the original snmp is useless - or, at least, we know that leaving it on will eventually crash the router. But is mini_snmp not just as useless?
Conclusion? I am not sure that there any point in changing the snmp binary to mini_snmp - but I am open to suggestions on the issue.
- Attachments
-
- snmp-test_293-beta_log.txt
- Log of mini_snmp (by snmp-test)
- (1.06 KiB) Downloaded 434 times
-
- snmp-test_292_log.txt
- Comparison - log of snmp from RT v2.92 (by snmp-test)
- (11.03 KiB) Downloaded 419 times
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: Mini SNMP Daemon
The built-in command takes no arguments, it appears. With this one, you have to supply all sorts of arguments (e.g., the interfaces, and other parameters that the built-in version seems to take from the mtd3 config (or some other communication with the core logic?)). So this is far from a drop-in replacement.mstombs wrote:Does it take same command args as the built-in?
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Re: Mini SNMP Daemon
I have asked one of my techies to host a Cacti MIB Browser
http://www.unleashnetworks.com/resource ... owser.html
ideally we need to find out if anyone has a TI AR7 MIB we can use, then the following info becomes available when you poll the router :
the Aztech DSL60xx AR7 based routers also use the TI Standard Based Management SNMP v1,v2, v2c Agent with MIB II groups http://focus.ti.com/pdfs/bcg/ar7_nsp_prod_brief.pdf
Down sync
Up sync
SNRM
Attenuation
HEC/CRC
FEC (RS errors)
LoF, LoS, LoP
as does the Safecom SWAMR-54108 and Netgear DG834G v2 and v3 (AR7 chipset) I'm told they can provide a bit more info :
Up Sync
SNRM
Attenuation
HEC/CRC
FEC (RS errors)
LoF, LoS, LoP
ES/SES
UAS
SF Errors
all this can be neatly displayed on a remote web server a bit like this
http://www.furiousfrog.com/ADSLStats/adsl.html
the ADSL Line MIB (RFC 2662) is here
http://tools.ietf.org/html/rfc2662
and the ADSL Line Extension MIB (RFC 3440
http://www.rfc-archive.org/getrfc.php?rfc=3440
http://www.unleashnetworks.com/resource ... owser.html
ideally we need to find out if anyone has a TI AR7 MIB we can use, then the following info becomes available when you poll the router :
the Aztech DSL60xx AR7 based routers also use the TI Standard Based Management SNMP v1,v2, v2c Agent with MIB II groups http://focus.ti.com/pdfs/bcg/ar7_nsp_prod_brief.pdf
Down sync
Up sync
SNRM
Attenuation
HEC/CRC
FEC (RS errors)
LoF, LoS, LoP
as does the Safecom SWAMR-54108 and Netgear DG834G v2 and v3 (AR7 chipset) I'm told they can provide a bit more info :
Up Sync
SNRM
Attenuation
HEC/CRC
FEC (RS errors)
LoF, LoS, LoP
ES/SES
UAS
SF Errors
all this can be neatly displayed on a remote web server a bit like this
http://www.furiousfrog.com/ADSLStats/adsl.html
the ADSL Line MIB (RFC 2662) is here
http://tools.ietf.org/html/rfc2662
and the ADSL Line Extension MIB (RFC 3440
http://www.rfc-archive.org/getrfc.php?rfc=3440
Last edited by pcourtney on Tue Jan 19, 2010 8:43 pm, edited 1 time in total.
Re: Mini SNMP Daemon
the Netgears have an undocumented snmp screen at http://192.168.0.1/snmp.htm
Chief, what routers do you have up and running at the moment, do you know if any of them have MIB's written for them ??
Chief, what routers do you have up and running at the moment, do you know if any of them have MIB's written for them ??
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: Mini SNMP Daemon
I have all sorts of routers - but they are all running the same snmpd (RT firmware). I am not aware of any MIBs other than what is internal to the snmpd binary.pcourtney wrote:Chief, what routers do you have up and running at the moment, do you know if any of them have MIB's written for them ??
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Re: Mini SNMP Daemon
does this help
http://www.emnico.com/mib/mibsearch.php ... NE-EXT-MIB
also at the very bottom of this page is some interesting info
http://shadow.sentry.org/~trev/dsl50x.html
# SNMP RFC1213 MIB information for the DSL-500 and DSL-504.
# D-Link's proprietary SNMP MIB information for the DSL-500 and DSL-504
this page is useful as an overview of how d-link go about snmp
http://enc.com.au/docs/dsl300snmp.html
http://www.emnico.com/mib/mibsearch.php ... NE-EXT-MIB
also at the very bottom of this page is some interesting info
http://shadow.sentry.org/~trev/dsl50x.html
# SNMP RFC1213 MIB information for the DSL-500 and DSL-504.
# D-Link's proprietary SNMP MIB information for the DSL-500 and DSL-504
this page is useful as an overview of how d-link go about snmp
http://enc.com.au/docs/dsl300snmp.html
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: Mini SNMP Daemon
Sorry, but all this is goobledegook to me. FWIW, I am not convinced that mini_snmp is up to it.
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.