Hello Lakshmi

It's a long time since I touched NETSNMP, but I seem so remember it has 
relocatable (ie object binary .o)  library for formatting the requests in BER 
(packet format of ASN)

Will your manager application not be able to use NETSNMP manager library calls 
for Linux?

The level of manager I developed wasn't much more than a packet formatter for 
shell requests. I wouldn't even have done that if NETSNMP manager had been 
available at the time. If you want code to do that and you can't use the 
available Linux library, what sort of interface are you providing? An MMI ? An 
ABI ?

It sounds as if you want the manager to be distributed in some way, but I don't 
really see it, because the agent is stateless and responds to any number of 
managers on a datagram-by-datagram basis. Even so, some part of a manager 
formats requests. That has to happen in one place, and NETSNMP has manager 
library (I think) for most platforms

BR

Tim




Am 03.12.2015 um 11:26 schrieb lakshmi narasimhan:

> Hi Tim,,
> 
> Thanks for your reply.No i Just want to develop SNMP Manager only.Actually my 
> SNMP Agent will be running on UPS,and SNMP Manager application will be 
> running on M2M gateway which will fetch OID from Agent and do GET/SET.Further 
> more SNMP Manager application will be integrated with one of cloud platform 
> from gateway.So,I have MIB file shared by client as sample,so i will dump 
> that mib in Agent simulator (Say Ireasoning Agent Simulator) and SNMP Manger 
> application which is C app for now need to be developed to GET/SET 
> values.So,at this stage i am implementing on my current ubuntu Linux platform 
> only.If you can send me procedure and package to compile,that will help me to 
> test and further more i will work on integration.
> 
> Regards
> Lakshmi
> 
> On Thu, Dec 3, 2015 at 3:23 PM, Tim Cox <timmiles...@gmx.ch> wrote:
> 
> 
> Well Lakshmi
> 
> Are you sure you want to develop both agent and manager?
> 
> I assume you understand that manager is the client program usually on a 
> workstation / PC and agent is the stateless server in the managed machine
> 
> It's more frequent that someone wants to write parts of the agent and test it 
> with the ready-made manager from NETSNMP
> 
> Why though do you need to write either? Are you extending the agent for MIBs 
> which aren't in the available code?
> 
> I have indeed implemented the whole thing in C, but that uses my own IP / UDP 
> / TCP network stack and my own MIB-II implementation. You will want to stick 
> to the Linux protocol stack, so why not use the agent / manager software 
> which already exists for Linux?
> 
> BR
> 
> Tim
> 
> 
> 
> 
> Am 28.11.2015 um 18:04 schrieb lakshmi narasimhan:
> 
> > Hi All,
> >
> > I am new to SNMP protocol,i am trying to implement SNMP Manager in C.My 
> > SNMP Agent running on UPS and my SNMP Manager will be running on the 
> > Gateway running Linux.I have .mib supplied by manufacturer of UPS 
> > device.Please advice where to start and how to use this .mib file and i am 
> > using Ireasoning Agent simulator and i am trying to GET/SET from my SNMP 
> > manger C code.Net-SNMP has lot of packages built and most importantly my 
> > SNMP version is 2C.Is there any SNMP Manager sample C code where i can 
> > define Ip address and various OID's to be polled.
> >
> >
> > Regards
> > Krishnan
> > ------------------------------------------------------------------------------
> > Go from Idea to Many App Stores Faster with Intel(R) XDK
> > Give your users amazing mobile app experiences with Intel(R) XDK.
> > Use one codebase in this all-in-one HTML5 development environment.
> > Design, debug & build mobile apps & 2D/3D high-impact games for multiple 
> > OSs.
> > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140_______________________________________________
> > Net-snmp-coders mailing list
> > Net-snmp-coders@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
> 
> 

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to