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 wit
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
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.
_
Hi,
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 my-root” command.
The
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
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 s
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 around, but I hav
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 de
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
[mailto:[EMAIL 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
ne tools ("net-snmp-utils"). We don't - our
"net-snmp" RPM covers both.
> 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
> directly from the binary downloaded on the same
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
Eugen wrote:
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
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
sour
;
- I've installed the net package with "rpm -i net-snmp*" and it
installed 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 erro
Mib2c seems to be working now.
At first, I was having problems with some of the snmp libraries because
Fedora Core 3 had been installed with its own version of Net-SNMP on my
machine. Apparently, there were conflicts between the installed 5.1.2-11
version and the 5.2.1.2 version that I had
Original Message
Subject: Re: mib2c/perl "make test" errors
From:[EMAIL PROTECTED]
Date:Fri, October 14, 2005 10:51 am
To: "Thomas Anders&quo
[EMAIL PROTECTED] wrote:
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.
Can you retry with 5.2.2.pre4 and report back, please?
+Thomas
--
Th
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 mib
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 importe
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
yo
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]&
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
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 informatio
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
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 c
On Wed, 31 Aug 2005 06:23:52 -0500 Paul wrote:
HP> My experience with Mib2c is that you can use it one more then one table,
HP> but you'll end up with several very similar c files. The "secret" is to
HP> run mib2c multiple times. For instance, if your mib defines 3 tables
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=
==>
[EMAIL 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 containe
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> line 9.
OZ> /data/gcom/gcom/porting/common/snmp/ne
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 de
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 cons
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
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
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
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>
Title: question regarding mib2c
I'm using net-snmp 5.1.3
I'm trying to to create template with minimal code using mib2c - like the code of snmpTargetAddr.c.
i.e. - struct variable2 snmpTargetAddrEntry_variables[] = { ... }
but all the options I used with mib2c didn't c
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
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 Strat
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> ca
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..
rega
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 late
gt; wrote:
> 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 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
o, 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
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 t
ult search path for the MIBS. Now when I do
> MC>
> MC> >>mib2c mib2c.int_watch.conf
> nstAgentModuleObject
> MC>
> MC> following error occurs:
> MC> ---
> MC> you didn't give me a valid OID to start with at
> MC> /usr/local/bin/mib2c line
Hello Robert,
Yes 'snmptranslate -IR nstAgentModuleObject' does
work.
But still i get the same error with mib2c.
Also, initially I was using net-snmp-5.2.1. But
whenever I ran mib2c following error occured:
--
ERROR: You don't have the SNMP perl module installed.
Please
On Tue, 15 Feb 2005 05:57:35 -0800 (PST) manik wrote:
MC> I have got a directory in which
MC> "NET-SNMP-TUTORIAL-MIB" is saved. Also it is in the
MC> default search path for the MIBS. Now when I do
MC>
MC> >>mib2c mib2c.int_watch.conf nstAgentModuleObject
MC&g
Hi all,
I have problems using mib2c functionality of NET-SNMP.
I have got a directory in which
"NET-SNMP-TUTORIAL-MIB" is saved. Also it is in the
default search path for the MIBS. Now when I do
>>mib2c mib2c.int_watch.conf nstAgentModuleObject
following error occurs:
---
On Fri, 4 Feb 2005 14:39:06 +0100 [EMAIL PROTECTED] wrote:
KSDC> I have followed following steps:
KSDC> export MIBS=ADSL-LINE-MIB
That will only load one MIB. You probably need more than that. Try 'export
MIBS=+ADSL-LINE-MIB', so the default mibs are loaded as well.
KS
On Tue, 8 Feb 2005 11:59:15 +0200 Kodel wrote:
KO> I have problem using mib2c utility for the NET-SNMP-EXAMPLES-MIB
KO>
KO> When I trying mib2c -c ... someOidFromExamples, I got the error :
KO> "You didn't give me a valid OID .".
KO>
KO> The mib2c do
I have problem using mib2c utility for the NET-SNMP-EXAMPLES-MIB
When I trying mib2c -c ... someOidFromExamples, I got the error :
"You didn't give me a valid OID .....".
The mib2c doesn't known ALL OIDs from netSnmp (including netSnmp itself).
When I try other MIBS OID'
.
( 5.2.1 source [show only this release]
2005-01-25 10:14
net-snmp-5.2.1.tar.gz 3971320 Any
Source .gz )
I have tried to use MIB2c Tool without installing the package.
I have started using MIB2c tool under net-snmp-5.2.1/local
folder
Hello
I am trying to install mib2c on debian machine, my requirement is i have to use
ucd-snmp-4.1.2 which i coied from sourceforge.net, the ucd-snmp installed
successfully as well as mib2c installed in /usr/local/bin . when i tried
mib2c ip i got the error message "perl SNMP shou
On Tue, 18 Jan 2005 20:36:18 -0800 [EMAIL PROTECTED] wrote:
WC> I noticed an interesting error. String constants that have
WC> some length are broken across multiple lines, with double
WC> quotes surrounding the substring of each line. Please, correct
WC> me if I am wrong but, as I recall, string
While working on the code generated by the MFD helper script,
I noticed an interesting error. String constants that have
some length are broken across multiple lines, with double
quotes surrounding the substring of each line. Please, correct
me if I am wrong but, as I recall, strings are broken a
Title: Using mib2c on Linux 2.6.9-1.667
Hi all, I have the following system:
[EMAIL PROTECTED] perl]# uname -a
Linux eng172214 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686 i386 GNU/Linux
I managed to build the Net SNMP 5.2 agent using:
./configure --enable-shared --with-perl
Subodh Bansal wrote:
Why 'mib2c' does not work with SuSE Linux?
It should work fine. Are you getting an error when you run it? A
(text) screen shot of the command you ran and the output would help.
Alex
Thanks in advance
Subodh
-
Why 'mib2c' does not work with SuSE
Linux?
Thanks in advance
Subodh
> Is the mib2c tool capable of creating the skeleton code for a
> NOTIFICATION-TYPE object?
Try
mib2c -c mib2c.notify.conf myTrap
Dave
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on h
On Mon, 20 Dec 2004 19:42:20 +0900 (JST) HORIUCHI wrote:
HT> I'm trying to implement a SNMP agent using mib2c generated code.
HT> But mib2c doesn't seem to be able to handle more than 2 tables.
HT> (I'm using net-SNMP 5.2)
HT>
HT> Anyone can help me?
Mike:
Your question is not urgent, and is easily answered by running the
mib2c compiler and answering the prompts as they are presented.
Of course, you could also read the relevant documentation to learn
that mib2c in Net-SNMP version 5 does generate skeleton code for
notifications. Actually
Takahiko:
I had noticed this problem with using the MIBs for Dummies helper
with mib2c. I think what happens is that a name is corrupted in the
helper, so that mib2c thinks it is now looking for a helper that has
as part of its name the name of the table. Notice that this motif
does not appear
Hi,
I'm trying to implement a SNMP agent using mib2c generated code.
But mib2c doesn't seem to be able to handle more than 2 tables.
(I'm using net-SNMP 5.2)
Anyone can help me?
mib2c output
--
[EMAIL PROTECTED]
Hi all,
Is the mib2c tool capable of creating the skeleton code for a
NOTIFICATION-TYPE object? Or I have to write it myself from the beginning?
Thanks,
Mike
---
SF email is sponsored by - The IT Product Guide
Read honest & candid review
--- Begin Message ---
Hi,
I installed net-snmp 5.1. And now trying to use mib2c script. For that perl module has to be installed. I followed the steps given in perl/SNMP/README file. But i installed it in my own directory by changing the installation prefix. I got the following error
> I had noticed a lack of DS around -- thought maybe he was on vacation...
Not exactly - I did have a brief break to visit family ("being a
dutiful grandson and doting uncle"), but that was only for a few
days. The reason you haven't heard much from me recently is that
I've deliberately taken a s
On Fri, 19 Nov 2004 11:43:05 -0800 [EMAIL PROTECTED] wrote:
WC> The means to include the ieee802dot11 module is
WC>
WC> ./configure --with-mib-modules="dot11/ieee802dot11"
WC>
WC> Original message
WC> >From: Robert Story (Users) <[EMAIL PROTECTED]>
WC> >
WC> >Generally configure will
Robert:
The version of Net-SNMP is 5.1.2, and I am using the UCD api (v4) as
produced by the mib2c script supplied with that version of Net-SNMP.
The means to include the ieee802dot11 module is
./configure --with-mib-modules="dot11/ieee802dot11"
Now, I surmised the process for placi
On Fri, 19 Nov 2004 01:54:13 -0800 [EMAIL PROTECTED] wrote:
WC> during linking, I obtained an error regarding an undefined reference
WC> to a routine, named *shutdown_ieee802dot11()* and it was not defined in
WC> the source code generated for the MIB.
What version of the agent are you using? How
iday, November 19, 2004 8:57 AM
Subject: Re: WRB - mib2c anomaly.
> On Fri, 19 Nov 2004 10:24:09 + Dave wrote:
> DS> Yes - this is the difference between the old (v4) and new (v5) MIB
APIs.
>
> All right now young man. What are you doing out of your room? Have you
finished
>
hee,hee.
- Original Message -
From: "Robert Story (Users)" <[EMAIL PROTECTED]>
To: "Dave Shield" <[EMAIL PROTECTED]>
Cc: "NetSNMPUsers" <[EMAIL PROTECTED]>
Sent: Friday, November 19, 2004 8:57 AM
Subject: Re: WRB - mib2c anomaly.
>
On Fri, 19 Nov 2004 10:24:09 + Dave wrote:
DS> Yes - this is the difference between the old (v4) and new (v5) MIB APIs.
All right now young man. What are you doing out of your room? Have you finished
your homewor - err, book, yet? No? Ok then, march right back into your room.
And no feeding th
> I am always generating for UCD format (or the v4 api, as you
> call it - I will try to adopt this naming convention).
In which case, I *STRONGLY* advise you to use the 'mib2c' script
from one of the 4.2.x distributions.
The 'old-api' config is really only t
> As for my (clight) crack about regression testing, this is really
> my way of asking the core developers to seek my assistance for
> such activities prior to a full release.
We do - every time.
Wes has sent out three messages in the last month asking people
to try out the release candidates, a
you
call it - I will try to adopt this naming convention). So,
why should I see differences in this case? Is it owing to
the specifics of the configuration file used to guide operation
of mib2c? That would seem likely. Perhaps I will use the
v5.0.8 configuration with the 5.1.2 mib2c, and
Dave:
Actually, I am using the prompt feature, so I am not really sure
of which configuration file is used. Asyou know, mib2c now asks
several higher-level questions, and clearly the configuration file
used is selected based upon the answers given by the user for each
of those questions. In the
You say that the correction did not
> make it into v5.1.2 owing to a code freeze, so if you would be
> so kind, remind me of the version in which the corrected mib2c
> is found.
It's in all of the CVS code lines (see http://www.net-snmp.org/cvs)
and also in the 5.2.rc4 code.
>
> I am working with RH9, Net-SNMP 5.1.2, and the 802.11 MIB. I notice
> that the output of mib2c is different, depending on use of the UCD
> versus NET formats.
Yes - this is the difference between the old (v4) and new (v5) MIB APIs.
> Specifically, UCD generates nam
the correction did not
make it into v5.1.2 owing to a code freeze, so if you would be
so kind, remind me of the version in which the corrected mib2c
is found.
In the mean time, I will review the archives for the posting you
mention.
BTW - what about the differences in the number of generated
For my last such posting of the evening (though it has turned to
morning, at 2AM), I want to point out that the mib2c delivered
with Net-SNMP 5.0.8 (this is the version included with the Kenati
OS - and notice how the name Kenati has a pejorative sound, as
in CANNOT - in this sense, I think the
> Well, now I have found more problems with mib2c in Net-SNMP 5.1.2
> . The output from MIB compilation yields source code that
> does not include the *case* component of a switch statement. How
> could such an error go unnoticed?
Because we're human, and make mistakes.
Y
Well, I found another problem. As a good programmer should, I cleaned
up the problems found with the mib2c generated code for the 802dot11
MIB, and compiled to the point of generating the daemon, snmpd. At that
point, during linking, I obtained an error regarding an undefined reference
to a
Of course, the problem with mib2c in Net-SNMP 5.1.2 occurs only
in the *var-* routines, not in the *write-* routines.
William R. Buckley
President
SoftNerd, A California Corporation
Director Emeritus,
International Core Wars Society
[EMAIL PROTECTED]
415-240-6107
Well, now I have found more problems with mib2c in Net-SNMP 5.1.2,
and this is a big one, at least from the point of view of code
quality. The output from MIB compilation yields source code that
does not include the *case* component of a switch statement. How
could such an error go unnoticed
I am working with RH9, Net-SNMP 5.1.2, and the 802.11 MIB. I notice
that the output of mib2c is different, depending on use of the UCD
versus NET formats. Specifically, UCD generates names and OID's that
are not generated for NET. The particular case I find concerns the
OID named in the M
> My complaint is that the AGENT.txt
> file has several blank lines where that directive ought to be shown.
> That is, the *figure* in the documentation is missing - it is blank.
This problem has been addressed in the CVS tree, so should be fixed
with the 5.2 relea
several blank lines where that directive ought to be shown.
That is, the *figure* in the documentation is missing - it is blank.
WRB
Original message
>Date: Wed, 17 Nov 2004 11:54:45 -0500
>From: Robert Story (Users) <[EMAIL PROTECTED]>
>Subject: Re: WRB: A seeming failure
e of a
WC> directive, yet the place where the directive ought appear in the file is
WC> blank.
WC> [...]
WC> My prompt for this review was more than the missing text in the file
WC> AGENT.txt, for I had also noted no directive in the header file
WC> produced by mib2c for the attached 8
> OK, OK, I think I now see the problem correctly. It is
> not with mib2c but with AGENT.txt, as the text file is
> out of date.
Correct.
That particular document was written describe the old v4 MIB
API, which has now been deprecated in favour of the newer v5
"handler-based&qu
OK, OK, I think I now see the problem correctly. It is
not with mib2c but with AGENT.txt, as the text file is
out of date. If I can get commentary on a rewrite, I
offer to provide same.
Are the core developers game?
William R. Buckley
President
SoftNerd, A California Corporation
Director
It occurs to me that readers of my recent postings (one
is pending moderator approval, since the MIB is about
113Kbytes in size) will desire to know the module format
for my implementation of the 802.11 MIB. I am using the
old UCD format at the present time, and so the output of
mib2c is in the
took time to review the suggested file
*mibII/route_write.h* for an example of the
directive, which is
config_require(mibII/ip)
My prompt for this review was more than the
missing text in the file AGENT.txt, for I had
also noted no directive in the header file
produced by mib2c for the attached
> Today,i generate rmon mib from RMON-MIB.txt under "/usr/local/share/snmp/mibs"
> by mib2c .After complie and run on my pc ,i find i can get nodes like
> etherstatsDatasource.
> So i think my SMI file may be error. What are you think?
I think you're trying to run b
hi :
i use mib browser designed by adventnet corp. .i can get other nodes like
sysDescr,so the tool should be right.
Today,i generate rmon mib from RMON-MIB.txt under "/usr/local/share/snmp/mibs" by
mib2c .After complie and run
on my pc ,i find i can get
s[] = {
> {SSNAME, ASN_OCTET_STR, RONLY, var_abc, 2, {1,1}},
> }
You're quite correct - the code generated by mib2c is wrong.
> struct variable7 via_variables[] = {
> {SSNAME, ASN_OCTET_STR, RONLY, var_abc, 3, {2356, 1,1}},
> }
That looks correct.
(You should be ab
Title: a question about files generated by mib2c..
Dear all:
I use mib2c tool to generate one C code with ucd-snmp old api ,the smi file as follow:
{ABC-SMI DEFINITIONS ::= BEGIN
IMPORTS
enterprises
FROM RFC1155-SMI;
abc OBJECT IDENTIFIER
Go to Start > Search... > Files or Folders and look for mib2c.scalar.conf on your
local hard disk.
It should be at the net-snmp sources local directory, the same directory where mib2c
perl script is stored.
The configuration file mib2c.scalar.conf says mib2c to generate code for scal
Hello,
I'm newby in this. I'm trying to use mib2c to compile an MIB module, but I
don't know what the config file is for? or where can i get it from?
I'm trying to do this on Win32: mib2c -c mib2c.scalar.conf ...
It tells me that the configuration file can't be found
Hello All,
I have a problem executing
mib2c export
MIBDIRS=/opt/iexpress/net-snmp/share/snmp/mibs export
MIBS=ALL mib2c -c mib2c.old-api.conf UCD-SNMP-MIB::ucdavis -f
outputfile
I get the following error
No log handling enabled - turning on
stderr loggingUCD-SNMP-MIB: Module not
401 - 500 of 531 matches
Mail list logo