Posts

Showing posts from 2008

Extending Net-SNMP 5.4.2.1 Agent

Image
This article describes how to extend Net-SNMP agent toolkit to instrument the EtherLike-MIB (RFC 3635) with hardcoded defaults. This article will describe the setup on windows (I used XP SP3) and Linux (I used openSUSE 11.0) required to develop this agent.The following instructions were carried out for net-snmp source version 5.4.2.1. This article assumes the following default paths:Net-SNMP un-archived on windows in C:\net-snmp and ~/net-snmp on Linux. Net-SNMP installed in C:\usr on Windows and /usr/local on Linux. 1.1. Setup the development environmentDownload and install MSVC++ Express 2005 from http://www.microsoft.com/express/2005/download/default.aspx. There is some compilation issue of the net-snmp code with MSVC++ 2008 (Orcas) and i did not bother to fix it but used the 2005 instead. Download and setup platform sdk as described in http://www.microsoft.com/express/2005/platformsdk/default.aspx. Be sure to setup the development environment using the PSDK as described in the lin…