A Question in Writing A MIB Module

2012-09-23 Thread Samaneh Dehghan
Hello dear all, I am a newbie on net-snmp. I have studied online tutorials in www.net-snmp.org. In fact, I want to write a MIB Module for a device. The information about configuration of the device is saved in a file (each line contains a name and its value, NAME :: VALUE) I want to use net-snmp to

Re: Writing a MIB Module

2011-11-10 Thread Dave Shield
On 9 November 2011 20:43, Simon Chamlian wrote: > After reading the tutorials for “Writing a MIB Module”, it seems that there > are 3 methods of adding our own MIB into the agent: > > 1)  Directly compiled in code > > 2)  Writing a subagent (AgentX), which

Writing a MIB Module

2011-11-09 Thread Simon Chamlian
Hi, After reading the tutorials for “Writing a MIB Module”, it seems that there are 3 methods of adding our own MIB into the agent: 1) Directly compiled in code 2) Writing a subagent (AgentX), which is another daemon that talks to snmpd via IPCs 3) Dynamically loaded shared

Re: Writing a MIb Module and compiling in visual c++

2009-02-03 Thread Rodolfo Leffa
Thanks, that worked! On Mon, Feb 2, 2009 at 7:00 AM, Dave Shield wrote: > 2009/1/30 Rodolfo Leffa : > > how do I add the module I had implemented to be compiled > > by the Visual C++??? > > Please read the file 'README.win32' > In particular, the section entitled > Microsoft Visual C++ - Exte

Re: Writing a MIb Module and compiling in visual c++

2009-02-02 Thread Dave Shield
2009/1/30 Rodolfo Leffa : > how do I add the module I had implemented to be compiled > by the Visual C++??? Please read the file 'README.win32' In particular, the section entitled Microsoft Visual C++ - Extending the Agent Dave ---

Writing a MIb Module and compiling in visual c++

2009-01-30 Thread Rodolfo Leffa
Hi, i'm trying to add a mib module to my agent. I've already write the mib and run mib2c to get the .c and .h of the data i want to provide. But i've have a problem on compiling this on Windows XP, using Visual C ++. I'm trying to compile it using visual studio because with Configure and nmake, i

Writing a MIB module

2007-11-23 Thread Violette Moulin
Hi all, I want to write a MIB module, as in http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module I do : # ./configure --with-mib-modules="nstAgentModuleObject" # make # make install # snmpd then : # snmpget -v 1 -c public localhost NET-SNMP-TUTORIAL-MIB:: nstAgentModuleObject.0 Error