15.1. The Net-SNMP Agent

We'll be extending the Net-SNMP agent, so we'll need to download the source tarball, which we can find at http://net-snmp.sourceforge.net. As of this writing, version 5.2.1 is current, so we'll retrieve net-snmp-5.2.1.tar.gz. No doubt by the time you read this, Net-SNMP will be several releases ahead, but you can just grab the most current version. The process for extending the agent that we will be describing in this chapter hasn't changed significantly in all the time the we have been working with it (that is, since at least UCD-SNMP 4.1).

Our goal is to set up a way of building our agent that will make it easy to download a new release of Net-SNMP in the future and just drop it into a build. The plan is to create a Makefile ...

Get Linux Appliance Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.