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
~Suresh
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa
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
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
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
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.
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
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
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
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
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
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
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
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
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
_
>>>>> 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
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
>>>>> 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+
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
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
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
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
> 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
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
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
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
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
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
> 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
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.
30 matches
Mail list logo