SNMP Agent development mib2c tool - assigning oids to multiple scalars in a loop

2013-07-08 Thread Sonika Sachdeva
Hello List, I am trying to write a agent / dynamic module for the satellite card adapter parameters. c program - autogenerated code using mib2ctool mib2c.int_watch.conf I am trying to set value for multiple scalars and assigning the oids to them as follows. This part is working but now I want to

Re: mib2c tool

2012-03-29 Thread Dave Shield
On 29 March 2012 16:48, Jasti Durgashree wrote: >>i have one more doubt i.e is it necessary to install snmpd (apt-get install >> snmpd) in my linux machine? If you are including your MIB module within a monolithic agent, then your will be compiling the SNMP agent from source. In this case, there

Re: mib2c tool

2012-03-29 Thread Jasti Durgashree
Hi Robert, >i have one more doubt i.e is it necessary to install snmpd (apt-get install snmpd) in my linux machine? On Mon, Mar 19, 2012 at 8:25 PM, Robert Story wrote: > On Sat, 17 Mar 2012 09:29:43 +0530 Jasti wrote: > JD> I am using mib2c tool for generating template code.

Re: mib2c tool

2012-03-26 Thread Magnus Fromreide
On Mon, Mar 26, 2012 at 11:39:09AM -0400, Robert Story wrote: > On Sun, 25 Mar 2012 02:23:28 -0400 Jasti wrote: > JD> After generating the template code from mib2c file how will integrate that > JD> with the main() for compilation & is it necessary to integrate all the > JD> scalar & tabular column

Re: mib2c tool

2012-03-26 Thread Robert Story
On Sun, 25 Mar 2012 02:23:28 -0400 Jasti wrote: JD> After generating the template code from mib2c file how will integrate that JD> with the main() for compilation & is it necessary to integrate all the JD> scalar & tabular columns into one? Do you want to integrate with the monolithic agent (snmpd

Re: mib2c tool

2012-03-24 Thread Jasti Durgashree
Hi, After generating the template code from mib2c file how will integrate that with the main() for compilation & is it necessary to integrate all the scalar & tabular columns into one? On Mon, Mar 19, 2012 at 11:19 AM, Robert Story wrote: > On Mon, 19 Mar 2012 20:42:58 +0530 Jasti wrote: > JD> n

Re: mib2c tool

2012-03-19 Thread Robert Story
On Mon, 19 Mar 2012 20:42:58 +0530 Jasti wrote: JD> no can u pls tell me ucd or net snmp to be used? We recommend the new style (net-snmp) handlers be used. -- This SF email is sponsosred by: Try Windows Azure free for 90

Re: mib2c tool

2012-03-19 Thread Jasti Durgashree
no can u pls tell me ucd or net snmp to be used? On Sat, Mar 17, 2012 at 9:29 AM, Jasti Durgashree wrote: > Hi, > I am using mib2c tool for generating template code. My doubt is which > configuration file should be used. I mean UCD-SNMP style or NET-SNMP style. > If we use NE

Re: mib2c tool

2012-03-19 Thread Robert Story
On Sat, 17 Mar 2012 09:29:43 +0530 Jasti wrote: JD> I am using mib2c tool for generating template code. My doubt is which JD> configuration file should be used. I mean UCD-SNMP style or NET-SNMP style. JD> If we use NET-SNMP style, which configuration to be used for tables? JD> If

mib2c tool

2012-03-16 Thread Jasti Durgashree
Hi, I am using mib2c tool for generating template code. My doubt is which configuration file should be used. I mean UCD-SNMP style or NET-SNMP style. If we use NET-SNMP style, which configuration to be used for tables? If possible can you please send me one modified code after generating from

Regarding mib2c tool

2009-03-25 Thread Tanisha Kashyap
Hi, I need to generate a c code for a scalar object which is an integer. The object can be set from the nms. The mib2c tool seems to generate the get functions for the scalar objects and the set functionality is only provided for the tables. Is there any conf file that can be used to generate

Re: Regarding mib2c tool

2009-03-25 Thread Dave Shield
2009/3/24 Tanisha Kashyap : > I need to generate a c code for a scalar object which is an integer. > The mib2c tool seems to generate the get functions for the scalar objects > and the set functionality is only provided for the tables. No - that's not correct. The mib2c.scalar.conf