The Visual xAgentBuilder® evaluation demonstrates the speed and ease with which you can create an SNMP agent from a MIB file.
Open Microsoft Visual C++. (this page is for Visual Studio.NET, please click here for Visual Studio 6).
We will examine how to create an example agent with Visual xAgentBuilder for C++ using the example MIB, NDGarage.mib packaged with the product.
You should see the following window:
This wizard page describes the current application settings for the xAgentBuilder project that you are creating.
If you want to use configuration parameters from the another xAgentBuilder project, click on the Load settings ... button and select xAgentBuilder configuration file. After this action you can click Finish button, and the project will be created using loaded parameters. Or, you can first adjust settings to fit your requirements.
In this step we can select the type of agent project that we want to create. By default both ExtensionDLL and Console is selected. Static lib is greyed out and shown as selected. The Static lib project is in fact the place where instrumentation will be created. Both ExtensionDLL and Console projects simply add some "boiler plate" code and link to the static library. Further information is available in the "Understanding Projects and Files Created by Visual xAgentBuilder for C++" topic in this applications help file.
If the HTML check box is selected (which is default) a set of web pages will be generated for this agent and web server code will be added to the agent code.
In this step you can select whether you want to add proxy support to the agent. Proxy support can only be added to the standalone agent, so standalone (Console) agent must be seleted in the previous step. Code for the proxy will be added conditionally. You can choose this option now, and later recompile your project with ND_SNMPv3_PROXY macro undefined to remove proxy support from the agent.
Click button and the Load MIB File dialog appears. Select NDGarageV2.mib (in the Tutorial directory to access the NDGarage-MIB) and click OK.
Here you can select default values for the MIB objects that will be implemented in the agent.
|Introduction||Visual MIBuilder||Visual xAgentBuilder||Visual MIBrowser|