Hi.

[EMAIL PROTECTED] wrote:
Hello everyone,
I'm a new member of this mailing list and I write from Italy.
I'm learning SNMP and right now I'm trying to add a variable to an existing 
MIB. I've been told that this is impossible unless I use an extensible agent 
that supports sub-agents and this is why I'm trying Net-Snmp (BTW: I'm using 
the Windows version).

Right now, to learn, I'm trying to define a custom MIB with just a writable 
variable and now I'm looking forward to write the code for it (I know C), as 
well as the code for the subagent. I tried looking the tutorials, but the code 
presented includes several header files I don't have.

Can someone tell me what should I do or where to find those header files?

I only have these .h files in my include dir:

C:\usr\include\net-snmp\net-snmp-config.h
C:\usr\include\net-snmp\agent\agent_module_config.h
C:\usr\include\net-snmp\agent\mib_module_config.h

It looks like you have installed Net-SNMP using the Windows installer (net-snmp-5.2.1-1.win32.exe). The installer package does not include any source code. What you need to do is download net-snmp-5.2.1.tar.gz and read the README.WIN32 file for instructions on compiling under Windows.


Alex



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to