On 09/08/06, Boris von Alten Blaskowitz [EMAIL PROTECTED] wrote:
One more question, I tried to run mib2c with
configuration mfd of root node in my mib file and it started with the
first table, but then it stoped and I had just the headerfile.
You'll have to ask Robert about
aha~`of couse is a numble in my code ,i just hidden it by :
oid m3uaMIB_variables_oid[] = { 1, 3, 6, 1, 4, 1,9997 };
is it right or not?
On 7/27/06, Dave Shield [EMAIL PROTECTED] wrote:
On 27/07/06, 蔷Qiang Hu [EMAIL PROTECTED] wrote:
void init_m3uaMIB(void) { REGISTER_MIB(m3uaMIB,
On 28/07/06, 蔷Qiang Hu [EMAIL PROTECTED] wrote:
oid m3uaMIB_variables_oid[] = { 1, 3, 6, 1, 4, 1, 9997 };
is it right or not?
No.
I can't tell what this should be since you've never given us the full
definition of m3usMIB (it's like drawing teeth, sometimes! :-)),
But your
oh,i'm sorry .i'm so sorry about my behavior to query the similar question in didn't net-snmp support leaf nods too deep? list.(actually,that's just because i thought out another simple test mib(not the m3uaMIB)to describe the problem clearly just a few minutes after i have submited that
On 27/07/06, 蔷Qiang Hu [EMAIL PROTECTED] wrote:
void
init_m3uaMIB(void)
{
REGISTER_MIB(m3uaMIB, m3uaMIB_variables, variable4,
m3uaMIB_variables_oid);
}
and the structures of some variables,
oid m3uaMIB_variables_oid[] = { 1, 3, 6, 1, 4, 1, };
Errr
the similar modifying to the files generated by mib2c as the simple test mib (jmtest),but
it's odd that when i snmpwalk it i got such result(why m3uaManagement became the leaf nod?):
[EMAIL PROTECTED] root]# snmpwalk -v 1 -c public localhost m3uaMIBM3UA-MIB::m3uaManagement.0 = Gauge32: 200M3UA-MIB
Thank you for your reply,and Ipaste the code of init_m3uaMIB you need here:
voidinit_m3uaMIB(void){
DEBUGMSGTL((m3uaMIB, Initializing\n));
/* * register ourselves with the agent to handle our mib tree */ REGISTER_MIB(m3uaMIB, m3uaMIB_variables, variable4, m3uaMIB_variables_oid);
/* * place
On 27/07/06, 蔷Qiang Hu [EMAIL PROTECTED] wrote:
it's odd that
when i snmpwalk it i got such result(why m3uaManagement became the leaf
nod?):
[EMAIL PROTECTED] root]# snmpwalk -v 1 -c public localhost m3uaMIB
M3UA-MIB::m3uaManagement.0 = Gauge32: 200
i generated .c and .h of my test mib by mib2c and also can snmptraslate my test mib tree under experimental nod as you can see[EMAIL PROTECTED] project]# snmptranslate -IR -Tp jmtest+--jmtest(72) +-- -RW- INTEGER firstKey(1)
Range: 0..100
and then i modified the files generated by mib2c and put
, 蔷Qiang Hu [EMAIL PROTECTED] wrote:
hi,Dave
what mib2c commands i tried first is env MIBS+***-MIB mib2c ***MIB
Sorry that doesn't make much sense.
Is that one command, or several?
It doesn't look like a valid mib2c command to me, but I can't really
tell whether that's the exact text that you
I have been trying to generate header files from my MIB using mib2c.
What i am interested in is generating the the OID list from it.
This is what my my sheel output look like
[EMAIL PROTECTED] net-snmp-5.3.0.1]# echo $MIBS
HCNUM-TC
i have exported the MIBS variable and do the command
When i run mib2c it give me this error
You didn't give mib2c a valid OID to start with.
The most likely cause for this error is that you didn't give mib2c a
valid OID to start with. That's just a guess, since you don't say
what mib2c command(s) you tried, but I'm reasonably confident
mib2c -c mib2c.iterate.conf tcpConnectionTable ,
it return
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST
On Thu, 13 Jul 2006 11:33:17 +0800, samuel [EMAIL PROTECTED] said:
samuel Cannot find module (IP-MIB): At line 0 in (none)
Taking a guess, is your SNMP perl module older than your snmptranslate
installation?
They don't seem to be using the same paths or something. You could
try setting the
Title: Problem Running mib2c when cross compiling for Montavista Platform
Hi,
When I run the subagent, the following messages get
logged in the log file
IP-MIB: Module not foundIF-MIB: Module not
foundTCP-MIB: Module not foundUDP-MIB: Module not
foundHOST-RESOURCES-MIB: Module
Title: Problem Running mib2c when cross compiling for Montavista Platform
Hi,
I have cross compiled the Net-Snmp package for Montavista Linux using arm-uclibc-gcc compiler.
When I am trying to create a sub-agent
I get the following line displayed (don't know whether this is a warning
Hi All, I am using external mib for my requirement ,but while I am trying to run mib2c to generate .c and .h file from a particular mib node ,I am getting following error'indent' is not recognized as
an internal or external command, operable program or batch file
Hi,1) I get the usual message when running mib2c:ERROR: You don't have the SNMP perl module installed. Please obtainthis by getting the latest source release of the net-snmp toolkit fromhttp://www.net-snmp.org/download/ . Once you download the source andunpack it, the perl module
Before last night I had been experiencing problems getting NetSNMP's mib2c software to launch. I searched the web and newsgroups with google, and even though the question has been posted many times, I didn't find a good solution to the problem at first.
Since I did eventually figure it out
Hi,
I am new to net-snmp.I am tring to compile a tabular object using the
mib2c-table_data.conf template.
In the initialize_table function what does the
netsnmp_table_helper_add_indexes() function do??
I am using an octet string as an index into the table.
And i have APIs from a custom shared
On Wed, 29 Mar 2006 15:44:58 +0800, yu zhao [EMAIL PROTECTED] said:
yu # MIBS=ALL
yu # mib2c rcmgmt
yu but it did't work ,and returns a error : You didn't give mib2c a
yu valid OID to start with.
yu I don't know why ,so can you help me ? Thank you!
first get the mib loading working
Hi,
I am a user of net snmp 5.1.3.1. Now I want to use mib2c tool to add a
pravite mib.
first I defined a file named notel.mib.txt,and I want to add a subtree
rcmgmt based on the enterprises node.I do it like this:
# MIBS=ALL
# mib2c rcmgmt
but it did't work ,and returns a error
Title: Messaggio
Hi,
I did
something like you have to do. I used simply mib2c, and after I
choose
the options as follows:
_
/home/SMSproxy/net-snmp-5.2.2/bin/mib2c pfeTable
1) ucd-snmp
style code
2) Net-SNMP
style code
Select your
of the
contents of this information is prohibited.
-Messaggio originale-Da: hjubal
[mailto:[EMAIL PROTECTED] Inviato: venerd 10 marzo 2006
12.50A: Palmentieri NunzioOggetto: Re: R: which mib2c
conf
On 3/10/06, Palmentieri
Nunzio [EMAIL PROTECTED]
wrote:
Hi
On Fri, 2006-02-24 at 12:03 +0100, Palmentieri Nunzio wrote:
I wrote a MIB with several table objects.
How can I generate code for it?
I think I have to run mib2c on both the tables, and then compile the
code generated, as follows:
mib2c peProcessTable
mib2c peObjectTable
That's
Title: R: mib2c question.
Yes,
I did it manually, that is, I generated the modules:
peProcessTable.c peProcessTable.h
peObjectTable.c peObjectTable.h
I created a new file.c containing all functions coming from the two originated files
(peProcessTable.c and peObjectTable.c) and I included
Title: Messaggio
Hi
all,
my question
is:
I wrote a MIB with
several table objects.
How can I generate
code for it?
I think I have to
run mib2c on both the tables, and then compile the code generated, as
follows:
mib2c
peProcessTable
mib2c
peObjectTable
and then compile
them
I don't know about tables specifically, but in general the other way (i.e.
apart from using a sub-agent) is to build your stuff into the agent directly.
You compile your MIB definition files using an appropriate mib2c config file
and then drop the output files in the agents/mibgroup folder
Please HELP !
I
still can't make mib2c work, it's something with the
"DynaLoader.pm".
1)
when I run mib2cI get the usual "ERROR: You don't
have the SNMP perl module installed", but it IS
installed !!!
2) I
added a perl print line
After installing
net-snmp-5.2.1.2 (configured with --with-perl-modules),
I get the usual
error, when running mib2c:
--
ERROR: You don't
have the SNMP perl module installed. Please obtainthis
)
Bye
- Original Message -
From:
Makavy, Erez
(Erez)
To: net-snmp-users@lists.sourceforge.net
Sent: Monday, February 13, 2006 1:19
PM
Subject: Installation problem, mib2c not
working (net-snmp-5.2.1.2)
After installing
net-snmp-5.2.1.2 (configured
\
--program-suffix="_5.2.1.2"
\
--with-persistent-directory="/var/net-snmp-5.2.1.2"
\
--with-sys-location="def-location"
\
--with-sys-contact="no-contact"
\
--with-default-snmp-version="1"
\
--with-logfile="/var/log/snmpd-5.2.1.2.log&
On Thu, 9 Feb 2006 12:26:22 +0530, Santhosh [EMAIL PROTECTED] said:
santhosh i am new to mib and snmp my target is to work on mib2c
santhosh compiler when i started working on it i have installed
santhosh according to the README file and i came to know that mib2c
santhosh is a part of NET-SNMP
hello,
i am working on mib2c compiler which has come along
MET-SNMP
i have installed
NET-SNMP-5.3.0.1-1.I686.RPM
and i want to use mib2c compiler when i typed the
command mib2c file name i have got the error as shown below
will you please help me, so that i can continue the
work
On Wed, 2006-02-08 at 14:15 +0530, Santhosh wrote:
i am working on mib2c compiler which has come along MET-SNMP
i have installed NET-SNMP-5.3.0.1-1.I686.RPM
Did you also install the net-snmp-perlmods RPM?
Dave
---
This SF.net email
, 2006-02-08 at 14:56 +0530, Santhosh wrote:
On Wed, 2006-02-08 at 14:15 +0530, Santhosh wrote:
i am working on mib2c compiler which has come along MET-SNMP
i have installed NET-SNMP-5.3.0.1-1.I686.RPM
^^^
Did you also install the net-snmp-perlmods RPM
: Need help for MIB2C compiler : the error which i have
gotismentioned in the mail
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep
hello all,
i am new to mib and snmp my target is to work on
mib2c compiler
when i started working on it i have installed
according to the README file
and i came to know that mib2c is a part of
NET-SNMP
so i have installed net-snmp-5.3.0.1-1
net-snmp-perlmods-5.3.0.1-1
but it dn't worked
PROTECTED] On Behalf
Of Makavy, Erez (Erez)
Sent: 11 January 2006 11:18
To: Finking, Robert
Cc: net-snmp-users@lists.sourceforge.net
Subject: RE: mib2c config file format - testing read-only
I think this manual could be what you are looking for:
http://net-snmp.sourceforge.net/docs
Hey,
1) How do I decide
which mib2c to use?
[I got to
learn them all and see which one fits. Is there a tutorial for
this, or should I run each of them and read the code
comments?]
2) Is there a
tutorial explaining how exactly theAgent handler mechanism
works?
Thanks,
Erez.
On Wed, 2005-12-21 at 18:05 +0200, Makavy, Erez (Erez) wrote:
1) How do I decide which mib2c to use?
You read the FAQ entry:
Which mib2c configuration file should I use?
:-)
2) Is there a tutorial explaining how exactly the Agent handler
mechanism works?
Not as such.
The best
).
-Original Message-
From: Makavy, Erez \(Erez\) [EMAIL PROTECTED]
mib2c not working, perl module perl/SNMP not installed correctly
2005-12-11 08:17
Hi,
Please help with this installation problem, I'm stuck !
The problem summery
[Sorry for the delay in responding to this]
On Mon, 2005-10-10 at 09:18 +0200, [EMAIL PROTECTED] wrote:
I try to generate c-stubs using mib2c:
# MIBS=ALL /usr/local/bin/mib2c -c mib2c.scalar.conf myValue
The output of mib2c looks like this:
Unlinked OID in MY-MIB: myNode
Hi Erez, I had the same problem. The
solution is to install the Net-SNMP package (the rpm file). Once you install
the package the adequate Perl module installs and mib2c start working. You may have
to use the force directive to install this rpm
Hope this helps.
Shuki
From
Hi,
Please help with
this installation problem, I'm stuck !
The problem
summery:
mib2c does
not work !
Problem
characteristics:
--
running mib2c
complains that the SNMP perl module is not installed, showing
[EMAIL PROTECTED] wrote:
Is there a MIB
syntax verifier I can't find? Can snmptranslate be tricked into doing it?
smilint from libsmi: http://www.ibr.cs.tu-bs.de/projects/libsmi/
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
I know I've done this before with success -- on this MIB -- but today
after adding another column to a table in my private MIB, mib2c refuses
to see my table.
[root] # head `which mib2c`
#!/usr/bin/perl
#!/usr/bin/perl
#
# $Id: mib2c,v 5.57 2004/09/10 12:30:15 dts12 Exp $
#
[root
On Tue, 2005-11-29 at 10:18 -0800, Wes Hardaker wrote:
On Tue, 15 Nov 2005 18:14:05 +0100 (CET), Barbara Kuriata [EMAIL
PROTECTED] said:
Barbara I have a question about copyright of the code generated by
Barbara the mib2c tool. I know that the existing net-snmp code is
Barbara protected
On Wed, 30 Nov 2005 12:43:09 +, Dave Shield [EMAIL PROTECTED] said:
Dave a) I could fire up a text editor, and generate exactly
Dave the same code manually without ever using 'mib2c'.
Dave That presumably wouldn't be subject to any automatic
Dave licensing conditions.
That's different
On Tue, 15 Nov 2005 18:14:05 +0100 (CET), Barbara Kuriata [EMAIL
PROTECTED] said:
Barbara I have a question about copyright of the code generated by
Barbara the mib2c tool. I know that the existing net-snmp code is
Barbara protected by the BSD like license (like it is explained in
Barbara
in the MIB by running the following command:
bash-2.05# snmptranslate -IR
clientTable
VRTS-SNMP-MIB::clientTable
Although it was not clear, I assume my next step is to run mib2c.
I ran the following and receive the following error saying that I did not
specify a valid OID to start with. Can you
On Fri, 2005-11-18 at 16:15 -0800, Jason Merman wrote:
Although it was not clear, I assume my next step is to run mib2c. I
ran the following and receive the following error saying that I did
not specify a valid OID to start with. Can you please verify that I
ran the correct command.
bash
Hello all,
Still trying to use mib2c 5.2.1 with templates
also M*Cfiles in c:/usr/share/snmp/mib2c-data
c:/usr/share/snmp//mib2c.mfd.conf:25 contained a line that started with a @
but
did not match any mib2c configuration tokens.
(maybe missing the trailing @?)
writing to mfd.h
writing
Hi, I have a question about copyright of the code generated by the mib2c tool. I know that the existing net-snmp code is protected by the BSD like license (like it is explained in COPYING file distributed with net-snmp package). But what about new code, that I generate from my MIB using mib2c
- Original Message -
From: jdx [EMAIL PROTECTED]
To: taner memet ali [EMAIL PROTECTED]; net-snmp-users
net-snmp-users@lists.sourceforge.net
Sent: Tuesday, November 08, 2005 4:51 PM
Subject: Re: Mib2c /Win32
Well, thank you for your first answer ;
for I could not find the files, I've
jdx wrote:
http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.2.2.pre1-1.win32.exe
)
No mfd-top.m2c file (In Linux tar file, they are in:
./local/mib2c-conf.d/* = where to copy them in Windows tree ?
The folder is missing in the binary. I will add it for the next
release. Try:
md
of M*Cfiles in . (c:/usr/work)
2- with also M*Cfiles in c:/usr/share/snmp/mib2c-data
3- deleting just C:/usr/work/*.m2* files
4- dropping subdirectory to c:/usr/share/snmp/mib2c-data.NO
II / -- still mistakes !
For I'm not sure of the cause of errors, I joined
Hello,
I've got more difficulties with Net-SNMP 5.x
/WinXP
1°/ with Net-SNMP v5.1.3-1
(http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.1.3-1.win32.exe?download)
No mib2c.*.conf
2°/ with
net-snmp-5.2.2.pre1-1.win32.exe
( http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.2.2
On Mon, 2005-11-07 at 15:56 -0500, Eugen wrote:
I’m trying the mib2c and it works fine for objects already defined in
the MIBs from /usr/share/snmp/mibs directory.
But if I try to add a new MIB file I get the error
“You didn't give mib2c a valid OID to start with…”
when executing “mib2c
of the table (in whatever order is most
convenient).
Once the necessary row has been identified, it's
passed to a user-provided handler for processing.
All of this is common to both the 'iterate' and
'iterate_access' mib2c frameworks.
But much of this processing is fairly standard,
and just depends
, 2005-10-27 at 20:11 +, xuemei wrote:
Hi,
You need to tell mib2c to load the MIB files that define the
MIB subtree you want to implement.
If you've got a file MY-MIB, that defines a subtree rooted at
.1.3.6.1.4.1.123456789 and named myRoot, then try
mib2c MY-MIB::myRoot
Hi,
I've got more difficulties with Net-SNMP 5.x /WinXP
1°/ with Net-SNMP v5.1.3-1
(http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.1.3-1.win32.exe?download
)
No mib2c.*.conf
in my installation the files are in C:\usr\share\snmp\mib2c-data.You can
copy the mib2c.*.conf's from
Well, thank you for your first answer ;
for I could not find the files, I've go to 5.2.
(just compiled from a few weeks : Build date: October 18, 2005)
And that time I found good mib2c.*.conf files, but
2°/ with net-snmp-5.2.2.pre1-1.win32.exe
(
http://prdownloads.sourceforge.net/net
]
Sent: Tuesday, November 08, 2005 5:09 AM
To: Eugen
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: mib2c: invalid OID
On Mon, 2005-11-07 at 15:56 -0500, Eugen wrote:
I'm trying the mib2c and it works fine for objects already defined in
the MIBs from /usr/share/snmp/mibs directory.
But if I
Hi,
Im trying the mib2c and it
works fine for objects already defined in the MIBs
from /usr/share/snmp/mibs directory.
But if I try to add a new MIB file I
get the error
You didn't give mib2c a valid
OID to start with
when executing mib2c my-root command.
The MIBS environment
Dear all,
What is the difference between iterate and
iterate_access?
Is there any document for programmer to
reference how to write code in the generating
c skeleton code?What can I add my code in
where?
Thanks.
Peter Martin wrote:
I am currently creating a number of embedded perl scripts for use with
our mibs, and am starting to feel the need for some help automating the
coding, especially after having re-arranged some of the objects. Mib2c
is the obvious choice for this. I've had a good search
Thomas
Peter Martin wrote:
We've discussed this recently and don't think anyone has done it yet. But
we'd highly appreciate any work in this regard! Please go ahead and submit
your config when you're done, so that it can be considered for inclusion
in the distribution.
Ok, thanks for the
On Wed, 2005-10-26 at 17:12 +, xuemei wrote:
I run “mib2c 1.3.6.1.4.1.123456789”,
1.It looks like the mib2c does not like the fake enterprise number ,
that is why it decides to start from the 1.3.6.1.4.1 each time?
You need to tell mib2c to load the MIB files that define the
MIB subtree
Hi,
Thanks for the previous response on my question. Now I have
more.
While waiting for the IANA number, is there any way to
practice the mib2c?
I create a mini MIB file, it is validated OK using a on line
mib validator. Yet the only object inside is a OBJECT-IDENTIFIER, I give
to run mib2c I received that error message than, following
the instructions, I've installed the net-snmp-perlmods-5.2.1.2-1
directly from the binary downloaded on the same net-snmp web page
(net-snmp-perlmods-5.2.1.2-1.i686.rpm since I didn't found the rpm
source of this module).
H
PROTECTED] On Behalf Of Dave
Shield
Sent: Tuesday, October 18, 2005 4:39 AM
To: Eugen
Cc: 'Robert Story'; net-snmp-users@lists.sourceforge.net
Subject: RE: mib2c
On Mon, 2005-10-17 at 14:43 -0400, Eugen wrote:
Thanks for your answer. Actually what I did was the following:
- I've downloaded
the modules net-snmp-5.2.1.2-1, net-snmp-debuginfo-5.2.1.2-1,
net-snmp-devel-5.2.1.2-1
So it seems that in 5.2.1.2 the net-snmp-utils is part of the other
modules.
When trying to run mib2c I received that error message than, following
the instructions, I've installed the net-snmp-perlmods-5.2.1.2-1
I've been having some problems with mib2c generating the
right code in the old ucd-style. I'm using NET-SNMP 5.2.1
on Linux. It's pretty easy to tweak the resulting code to fix the
problems, but I thought I'm mention the problems in case I'm
doing something obviously wrong.
The two problems
Original Message
Subject: Re: mib2c/perl make test errors
From:[EMAIL PROTECTED]
Date:Fri, October 14, 2005 10:51 am
To: Thomas Anders [EMAIL PROTECTED
I have installed net-snmp 5.2.1.2 on a machine running kernel version
2.6.9-1.667smp.
'Make test' fails from the perl directory, although 'perl Makefile.PL' and
'make' do not generate any errors. If I ignore the errors and install
anyway, I am able to run mib2c on any of the mibs
hi gurus!
I try to generate c-stubs using mib2c:
# MIBS=ALL /usr/local/bin/mib2c -c mib2c.scalar.conf myValue
The output of mib2c looks like this:
Unlinked OID in MY-MIB: myNode ::= { enterprises x }
Undefined identifier: enterprises near line 10 of ./MY-MIB
I have imported enterprises
On Tue, 20 Sep 2005 11:40:58 -0400 [EMAIL PROTECTED] wrote:
JACTC Thank you, it works now... very simple indeed... my impression was that
JACTC mib2c converted the entire tree given a mib name. Jesus Altuve
Most will, but you still have to give it an object name, not the MIB name. If
you want
Thank you, it works now... very simple indeed... my impression was that mib2c converted the entire tree given a mib name.Jesus Altuveterra.com-"Ying Wang\(CD\)" [EMAIL PROTECTED] wrote: -To: [EMAIL PROTECTED]From: "Ying Wang\(CD\)" [EMAIL PROTECTED]Date: 09/20/2005
Hi List,
I'm having trouble converting MIB files
to .c and .h files using mib2c. I'm doing as follows:
$
MIBS=+UCD-DISKIO-MIB mib2c -c mib2c.conf UCD-DISKIO-MIB
But I get this error:
You
didn't give mib2c a valid OID to start with. IE, I could not find
any
information about
Try this:
First make sure your mib is in right scope the mib2c can search, the
default path is /usr/local/share/snmp/mibs/. Then, execute exports MIBS=ALL.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 2005年9月20日 11:15
Thanks, Ying Wang but it doesn't work either... here's what I tried:# export MIBS=all# mib2c -c mib2c.conf -I /usr/local/share/snmp -f rhino CISCO-RHINO-MIB You didn't give mib2c a valid OID to start with. IE, I could not findany information about the mib node "CISCO-RHINO-MIB".
Jesus,
# mib2c -c mib2c.conf -I /usr/local/share/snmp
-f rhino CISCO-RHINO-MIB
Use the module name/ table
name not name of MIB, please try again.
Ying
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 2005年9月20日
12:21
PROTECTED] test3]# env MIBS=+ISM-SAMPLE-MIB mib2c -c mib2c.mfd.conf
ipsRule
This module can only be used with tables, not branches or entire MIBs.
Please specify and OID that is a table. (OID: ipsRule)
/usr/local/share/snmp//mib2c.mfd.conf:25 contained a line that started
Hi,
My experience with Mib2c is that you can use it one more then one table,
but you'll end up with several very similar c files. The secret is to
run mib2c multiple times. For instance, if your mib defines 3 tables
(MyTable1, MyTable2, and MyTable3) then you can do
env MIBS=+MY_MIB mib2c -c
Hi,
I am facing a problem in generating code via mib2c when the index
element is of type IMPLIED. I am using Net-SNMP 5.0.8 version. I just
want to know is there any fix given to counter this problem? If not then
how can I detect whether the index is on type IMPLIED and then do
appropriate steps
Doh! I left out a textual convention from my IMPORTS section. Funny that
nothing else choked on it.
Adding a debug line to mib2c turned it up. I now know more about the
internals of mib2c and MFD than I ever wanted to know.
Thanks for your help!
Oolan Zimmer
Gcom, Inc.
[EMAIL PROTECTED
On Wed, 17 Aug 2005 16:27:56 -0500 Oolan wrote:
OZ I now know more about the
OZ internals of mib2c and MFD than I ever wanted to know.
That makes two of us!
--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services
On Thu, 18 Aug 2005 17:41:55 +0530 Jyoti wrote:
JY I am facing a problem in generating code via mib2c when the index
JY element is of type IMPLIED. I am using Net-SNMP 5.0.8 version. I just
JY want to know is there any fix given to counter this problem? If not then
JY how can I detect whether
On Wed, 17 Aug 2005 09:51:56 -0500 Oolan wrote:
OZ writing to default-table-gcomDs1ChannelConfigTable.m2d
OZ Warning: something's wrong at
OZ /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c line 780,
OZ GEN12 line 9.
OZ /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local
I'm trying to use net-snmp 5.2.2.1 to implement an agent for a MIB module I
recently wrote. mib2c works fine with my module and either the iterate and
array-dataset config files. However, I'm having problems getting the mfd
config file to work with one of my tables.
Here's the command I'm
On Thu, 28 Jul 2005 10:24:09 +0300 Tal (Tal) wrote:
OT I'm using net-snmp 5.1.3
OT I'm trying to to create template with minimal code using mib2c - like the
OT code of snmpTargetAddr.c.
OT
OT i.e. - struct variable2 snmpTargetAddrEntry_variables[] = { ... }
OT
OT but all the options I used
On Tue, 14 Jun 2005 15:24:22 -0700 Brian wrote:
BH Has anyone here been successful in getting 'mib2c' working on Mac OS
BH 10.4?
There appears to be a problem with building perl for 10.4, and it appears to be
something in the OS X environment. Supposedly a fix from Apple is in the
works
Hi,
Has anyone here been successful in getting 'mib2c' working on Mac OS
10.4?
If so, what steps did you take to get it working?
Thanks for any help,
Brian
---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from
On Mon, 11 Apr 2005 21:10:16 +0430 Farazad wrote:
FF I want to generate *.c and *.h with mib2c and execute this command:
FF mib2c mplsLsrMIB . and the is generated two file.
Which output style did you choose? (Hint, look at the comments at the top of
the file.)
FF can you tell me how i generate
Hi all
I want to generate *.c and *.h with mib2c and execute this command:
mib2c mplsLsrMIB . and the is generated two file.
but when i compile these files give me errors ...
can you tell me how i generate these files from MPLS-LSR-MIB.
i use Suse-9 and ucd-snmp..
regards
Farzad
Hi.
I installed net-snmp-5.1.2 and now implementing agent
module.
I got a problem concerned 'mib2c'.
When I run mib2c in command line, I got messages as
belos
"ERROR: You don't have the SNMP perl module installed.
Please obtainthis by getting the latest source re
, initially I was using net-snmp-5.2.1. But
MC whenever I ran mib2c following error occured:
MC
MC ERROR: You don't have the SNMP perl module
installed.
MC [...]
On Wed, 16 Feb 2005 16:47:50 -0800 (PST) manik
wrote:
MC Yes I did the following: (i tried this with
Net-SNMP 5.1.1 too)
MC
On Tue, 15 Feb 2005 22:56:00 -0800 (PST) manik wrote:
MC Also, initially I was using net-snmp-5.2.1. But
MC whenever I ran mib2c following error occured:
MC
MC ERROR: You don't have the SNMP perl module installed.
MC [...]
On Wed, 16 Feb 2005 16:47:50 -0800 (PST) manik wrote:
MC Yes I did
On Tue, 15 Feb 2005 22:56:00 -0800 (PST) manik wrote:
MC Also, initially I was using net-snmp-5.2.1. But
MC whenever I ran mib2c following error occured:
MC
MC ERROR: You don't have the SNMP perl module installed.
MC
MC I installed the perl module but still i get the above
MC error when I run
301 - 400 of 455 matches
Mail list logo