Re: How to convert entire MIB at once using mib2c

2011-11-15 Thread Dave Shield
On 14 November 2011 17:55, Suresh kumar wrote: > How to convert entire MIB at once using mib2c I answered this question last week. If there's anything you don't understand about that answer, then please ask. But it is somewhat irritating for you to completely ignore my respons

How to convert entire MIB at once using mib2c

2011-11-14 Thread Suresh kumar
How to convert entire MIB at once using mib2c ~Suresh -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa

Re: Using mib2c

2010-12-23 Thread Luis QuaggaSnmp
Ok, thanks! I'll do it. 2010/12/23 Dave Shield > On 23 December 2010 00:32, Luis QuaggaSnmp wrote: > > I'm not sure how to use "mib2c" when I have a MIB with different OIDs, I > > read that I have to use "mib2c" with conf templates, for example, with > > integer template, but, if the MIB has di

Re: Using mib2c

2010-12-23 Thread Dave Shield
On 23 December 2010 00:32, Luis QuaggaSnmp wrote: > I'm not sure how to use "mib2c" when I have a MIB with different OIDs, I > read that I have to use "mib2c" with conf templates, for example, with > integer template, but, if the MIB has differents "OBJECT-TYPE" ? If you use the 'mib2c.scalar.con

Using mib2c

2010-12-22 Thread Luis QuaggaSnmp
Hello. I want to extend an agent with agentX. My target is to monitor Quagga, and I have to use some specific MIBs. These MIBs are the Quagga MIBs, and I've read I have to use "mib2c" to obtain .c and .h files. I'm not sure how to use "mib2c" when I have a MIB with different OIDs, I read that I ha

Re: how to generate c file using mib2c for node containg both scalars and table

2010-12-14 Thread Robert Story
On Mon, 13 Dec 2010 16:53:47 +0530 MAS wrote: M> Hi All, M> M> I want to generate c implementation file and header file for the MIB-NODE M> file containing both scalars and table. M> I have generated c file and header file for scalar using mib2c.scalar.conf M> and similarly for table using mib2c.

how to generate c file using mib2c for node containg both scalars and table

2010-12-14 Thread MAS .
Hi All, I want to generate c implementation file and header file for the MIB-NODE file containing both scalars and table. I have generated c file and header file for scalar using mib2c.scalar.conf and similarly for table using mib2c.table_data.conf, but I want to generate c file and header file f

Re: compilation of traps using mib2c

2007-10-03 Thread amit limaye
What errors do u get ? Please send the output or the error log -SIGTERM amit Original-Nachricht > Datum: Wed, 3 Oct 2007 15:13:55 +0100 (BST) > Von: Amit Kumar <[EMAIL PROTECTED]> > An: [email protected] > Betreff: compilation of traps usi

compilation of traps using mib2c

2007-10-03 Thread Amit Kumar
Hi All, I am new to net-snmp . and i am not able to compile the Mib tables/traps with mib2c compiler . can any-body please tell me the procedue how to compile the tables/traps using mib2c or how to generate the stubs . Thanks Amit

RE: Problem when generating IMPLIED string indexes using mib2c MFD

2006-08-28 Thread Passera Pablo-APP015
e.net; Cagliolo > Marcelo-AMC127; [EMAIL PROTECTED] > Subject: Re: Problem when generating IMPLIED string indexes > using mib2c MFD > > Passera Pablo-APP015 wrote: > > We are trying to generate the code for the > COMMUNITY-MIB using mib2c > > MFD. > > Are

Re: Problem when generating IMPLIED string indexes using mib2c MFD

2006-08-25 Thread Robert Story
On Fri, 25 Aug 2006 11:23:23 -0400 Passera wrote: PPA>We are trying to generate the code for the COMMUNITY-MIB using PPA> mib2c MFD. ... PPA> We know that the notify filter table implementation was generated using PPA> the mib2c, but we are not able to generate the same code. PPA>Is there

Re: Problem when generating IMPLIED string indexes using mib2c MFD

2006-08-25 Thread Dave Shield
On 25/08/06, Passera Pablo-APP015 <[EMAIL PROTECTED]> wrote: > We are trying to generate the code for the COMMUNITY-MIB using > mib2c MFD. There is an index there that has the following ASN > specification > INDEX { IMPLIED snmpCommunityIndex } > Look

Re: Problem when generating IMPLIED string indexes using mib2c MFD

2006-08-25 Thread Thomas Anders
Passera Pablo-APP015 wrote: > We are trying to generate the code for the COMMUNITY-MIB using > mib2c MFD. Are there any plans to submit this work to the project at the end? +Thomas -- Thomas Anders (thomas.anders at blue-ca

Problem when generating IMPLIED string indexes using mib2c MFD

2006-08-25 Thread Passera Pablo-APP015
Hi, We are trying to generate the code for the COMMUNITY-MIB using mib2c MFD. There is an index there that has the following ASN specification INDEX { IMPLIED snmpCommunityIndex } Looking at the code mib2c generates we found that, in the function

not able to generate the code using mib2c for the NET-SNMP-TUTORIAL-MIB

2006-05-25 Thread prasad duggineni
I am trying to generate the code for NET-SNMP-TUTORIAL-MIB from the snmp toolkit tutorial. Throwing following error export MIBS=ALL mib2c -c mib2c.int_watch.conf NET-SNMP-TUTORIAL-MIB no variable specified for -S flag. at /usr/bin/mib2c line 69. need help _

Re: Can we create cpp file using mIb2c?

2005-09-27 Thread Wes Hardaker
>>>>> On Tue, 27 Sep 2005 10:49:20 +0200, Thomas Anders <[EMAIL PROTECTED]> >>>>> said: Thomas> Wes Hardaker wrote: >> Well, that's not entirely true. You can't create .cpp files >> *currently* using mib2c using the current templa

Re: Can we create cpp file using mIb2c?

2005-09-27 Thread Thomas Anders
Wes Hardaker wrote: Well, that's not entirely true. You can't create .cpp files *currently* using mib2c using the current templates. However, you can write your own mib2c.conf file that would generate .cpp code because mib2c is a misnomer and can actually generate just about anyth

Re: Can we create cpp file using mIb2c?

2005-09-26 Thread Wes Hardaker
>>>>> On Tue, 20 Sep 2005 09:37:23 +0100, Dave Shield <[EMAIL PROTECTED]> said: >> Can we generate .cpp file using mib2c option? Dave> No. Dave> Net-SNMP is written in C, so mib2c is designed to Dave> generate C code. Dave> If you want to treat this as C+

Re: Can we create cpp file using mIb2c?

2005-09-20 Thread Dave Shield
On Mon, 2005-09-19 at 00:17 -0500, Dey, Rajnish wrote: > Can we generate .cpp file using mib2c option? No. Net-SNMP is written in C, so mib2c is designed to generate C code. If you want to treat this as C++, you'll need to rename the (and possibly tweak the code) manuall

Can we create cpp file using mIb2c?

2005-09-19 Thread Dey, Rajnish
Hi, I am using net-SNMP 5.2.1 in Linux and able to generate .c and .h file using mib2c. As per tutorial, i added in agent source code, it is working fine. Can we generate .cpp file using mib2c option? If it is generated, how can I integrate with existing agent.   Can u help me out

Re: Calling SOAP calls while Extending mibs using mib2c code giving "./.libs/libnetsnmpmibs.so: undefined reference ..."

2005-07-19 Thread Robert Story
On Mon, 18 Jul 2005 20:20:04 +0530 [EMAIL PROTECTED] wrote: KSC> /bin/sh ../libtool --mode=link gcc -g -O2 -Dlinux -o snmpd snmpd.lo KSC> libnetsnmpmibs.la libnetsnmpagent.la helpers/libnetsnmphelpers.la KSC> ../snmplib/libnetsnmp.la -ldl -lcrypto -lm gcc -g -O2 -Dlinux -o KSC> .libs/snmpd sn

Calling SOAP calls while Extending mibs using mib2c code giving "./.libs/libnetsnmpmibs.so: undefined reference ..."

2005-07-18 Thread kanda.samy
Title: Calling SOAP calls while Extending mibs using mib2c code giving "./.libs/libnetsnmpmibs.so: undefined reference ..." Hi   i have to call SOAP server calls in my mib2c created code to get the values. i had put following lines in my mib2c output code 1) including SOAP he

Re: Why I got the message:"Cannot find module (LM-SENSORS-MIB): At line 0 in (none)",when using mib2c to generate c file?

2005-04-11 Thread Wes Hardaker
> On Mon, 11 Apr 2005 16:08:45 +0800, "Hongjunli" <[EMAIL PROTECTED]> said: hongjunli> No log handling enabled - turning on stderr logging hongjunli> Cannot find module (LM-SENSORS-MIB): At line 0 in (none) Something has requested that MIB to be loaded (probably the default configuration) but

Why I got the message:"Cannot find module (LM-SENSORS-MIB): At line 0 in (none)",when using mib2c to generate c file?

2005-04-11 Thread Hongjunli
the whole message is as follow: No log handling enabled - turning on stderr logging Cannot find module (LM-SENSORS-MIB): At line 0 in (none) writing to user.h writing to user.c running indent on user.h running indent on user.c

Re: Using mib2c adding rows to an existing table

2005-03-28 Thread Robert Story
On Sat, 19 Mar 2005 17:30:44 -0800 (PST) John wrote: JW> I was wondering if there was a way to use mib2c and JW> user-array/iterator/etc... to make a subagent to add JW> rows to an exisiting table. Probably. The trick would be getting the registration right. The other trick is index allocation. Th

Using mib2c adding rows to an existing table

2005-03-19 Thread John W
SNMP coders, I was wondering if there was a way to use mib2c and user-array/iterator/etc... to make a subagent to add rows to an exisiting table. For example: The master agent would keep track of (3) ethernet devices: eth0, eth1 and eth2. Then, there would be a subagent (on an external device) t

Re: How shd i generate agentX subagent code using mib2c

2004-11-17 Thread Coders
On Mon, 15 Nov 2004 21:36:47 -0600 Ravi wrote: R> I want to know how can i generate agentX subagent code using mib2c? The code generated by mib2c will work for both master and sub-agents. It's all in how the app initializes before registering the module. -- Robert Story; NET-SNMP Junkie

How shd i generate agentX subagent code using mib2c

2004-11-15 Thread Ravi
hi.. I want to know how can i generate agentX subagent code using mib2c? Thank you --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational

Re: generating code using MIB2c.

2004-07-22 Thread Dave Shield
> 1. I've a new MIB and snmptranslate is not working. i've copied it into > default directory /usr/local/share/snmp/mibs What is the exact "snmptranslate" command that you are giving? How have you told it to load the new MIB? See the FAQ entry How do I add a MIB to the tools? > 2. how

generating code using MIB2c.

2004-07-22 Thread Nagaich, Nitin
Hi All, Could somebody tell me following things: 1. I've a new MIB and snmptranslate is not working. i've copied it into default directory /usr/local/share/snmp/mibs 2. how do i use MIb2c, to generate code i am using this command mib2c .x.y.z where .x.y.z is the top node defined in my MIB.