Discussion:
Minimalist SNMP manager for embedded app
(too old to reply)
Mazer, Alan S (389M)
2016-01-14 03:10:44 UTC
Permalink
Hi. I'm hoping that someone much more familiar with snmp can give me
some basic direction here.

I need to write the smallest bit of code possible for an embedded
application to get and set values on a WAP over SNMP v2c. Porting
net-snmp is a daunting proposition, especially because I would need to
use programmed I/O to a homebrew Ethernet device. It seems that all I
need to do is send UDP packets with the correct SNMP incantations and
read UDP responses from the WAP. But what's the simplest way to get there?

I've been reading RFCs and other stuff for hours, and I have a vague
appreciation for how to do this, but then I see the relative complexity
of using net-snmp and wonder if it's much more complicated than I think.

If this sounds doable without net-snmp, can anyone suggest a source for
low-level examples of basic operations so that I can verify my
understanding? My only thought is to monitor snmp operations with
Wireshark, and I'm not sure that's the best approach.

Thanks much.

-- Alan
Andrew
2016-01-14 10:31:08 UTC
Permalink
Hi.

You can try https://code.google.com/p/small-snmp/ (it's v1 - but it's
good point to start)
Post by Mazer, Alan S (389M)
Hi. I'm hoping that someone much more familiar with snmp can give me
some basic direction here.
I need to write the smallest bit of code possible for an embedded
application to get and set values on a WAP over SNMP v2c. Porting
net-snmp is a daunting proposition, especially because I would need to
use programmed I/O to a homebrew Ethernet device. It seems that all I
need to do is send UDP packets with the correct SNMP incantations and
read UDP responses from the WAP. But what's the simplest way to get there?
I've been reading RFCs and other stuff for hours, and I have a vague
appreciation for how to do this, but then I see the relative complexity
of using net-snmp and wonder if it's much more complicated than I think.
If this sounds doable without net-snmp, can anyone suggest a source for
low-level examples of basic operations so that I can verify my
understanding? My only thought is to monitor snmp operations with
Wireshark, and I'm not sure that's the best approach.
Thanks much.
-- Alan
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Net-snmp-users mailing list
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Mazer, Alan S (389M)
2016-01-14 16:47:20 UTC
Permalink
This is quite helpful! Thank you! This really helped a lot. I think I
can do this! :-)

-- Alan
Post by Andrew
Hi.
You can try https://code.google.com/p/small-snmp/ (it's v1 - but it's
good point to start)
Post by Mazer, Alan S (389M)
Hi. I'm hoping that someone much more familiar with snmp can give me
some basic direction here.
I need to write the smallest bit of code possible for an embedded
application to get and set values on a WAP over SNMP v2c. Porting
net-snmp is a daunting proposition, especially because I would need to
use programmed I/O to a homebrew Ethernet device. It seems that all I
need to do is send UDP packets with the correct SNMP incantations and
read UDP responses from the WAP. But what's the simplest way to get there?
I've been reading RFCs and other stuff for hours, and I have a vague
appreciation for how to do this, but then I see the relative complexity
of using net-snmp and wonder if it's much more complicated than I think.
If this sounds doable without net-snmp, can anyone suggest a source for
low-level examples of basic operations so that I can verify my
understanding? My only thought is to monitor snmp operations with
Wireshark, and I'm not sure that's the best approach.
Thanks much.
-- Alan
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Net-snmp-users mailing list
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Net-snmp-users mailing list
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Loading...