Re: How to convert entire MIB at once using mib2c

2011-11-15 Thread Dave Shield
On 14 November 2011 17:55, Suresh kumar skjaiswa...@hotmail.com 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

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 Dave Shield
On 23 December 2010 00:32, Luis QuaggaSnmp quaggas...@gmail.com 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

Re: Using mib2c

2010-12-23 Thread Luis QuaggaSnmp
Ok, thanks! I'll do it. 2010/12/23 Dave Shield d.t.shi...@liverpool.ac.uk On 23 December 2010 00:32, Luis QuaggaSnmp quaggas...@gmail.com 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

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

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

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: net-snmp-coders@lists.sourceforge.net Betreff: compilation of traps using mib2c Hi All

RE: Problem when generating IMPLIED string indexes using mib2c MFD

2006-08-28 Thread Passera Pablo-APP015
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 there any plans to submit this work to the project at the end

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

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-cable.de

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 } Looking at the code mib2c generates

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: PPAWe 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. PPAIs there any

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 anything. Has

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 templates. However, you can write your own mib2c.conf file that would generate .cpp

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++, you'll need to Dave rename the (and possibly tweak

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) manually. Dave

Can we create cpp file using mIb2c?

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

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

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 yet it

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. The

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)

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 Support

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

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

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 do i