Could someone with the knowledge please reply?
Thanks!
On 20 October 2014 17:35, Ali Azar wrote:
> I have a mib file which has many tables.
>
> I have used mib2c to generate code for each of the tables separately in
> the following fashion
>
> mib2c -c someconfigFile tablename1
> mib2c -c somec
I have a mib file which has many tables.
I have used mib2c to generate code for each of the tables separately in the
following fashion
mib2c -c someconfigFile tablename1
mib2c -c someconfigFile tablename2
mib2c -c someconfigFile tablename3
... etc
I am not aware if there is a way that I could sp
Hi,
I am trying to use mib2c-update tool for updating scalar objects. Even though
.orig and .new generate files are different, but mib2c-update is not providing
the diff for these ?
Any known issues related to this ? If not, any idea on how to use mib2c-update
on scalars.
-Dheeraj
--
On 10 November 2011 15:41, Simon Chamlian wrote:
> I think what he means (or what I mean) is to have one config file that
> converts the whole MIB file (which contains any possible object) into C.
If the MIB contains scalar objects, then the command I gave will do
exactly that.
If the MIB contai
ject to c/h file using mib2c at once
>
> What do you mean by "converting the MIB object"?
> What sort of MIB object(s) do you have in mind.
>
> If these are scalar objects, then try
>
>mib2c -c mib2c.scalar.conf MY-MIB::myTopLevelObject
>
> If
On 9 November 2011 18:11, Suresh kumar wrote:
> i want convert entire MIB object to c/h file using mib2c at once
What do you mean by "converting the MIB object"?
What sort of MIB object(s) do you have in mind.
If these are scalar objects, then try
mib2c -c mib2c.scalar
Any feedback on this? I am also interested in such a script.
Thanks,
Simon
On Wed, Nov 9, 2011 at 1:11 PM, Suresh kumar wrote:
> Hello all
> i want convert entire MIB object to c/h file using mib2c at once
> can any once do this before please let me know .
> if not what i ne
Hello all
i want convert entire MIB object to c/h file using mib2c at once
can any once do this before please let me know .
if not what i need change in mib2c script.
Thanks in advance.
~suresh
On 11 January 2011 13:31, sanjay kumar wrote:
> I have problem to generate the code using mib2c:
>
> snmptranslate 1.3.6.1.4.1.388.11.2.2.11.10
> SYMBOL-CC-WS2000-MIB::auditLoggingCfgTable
>
> sym...@debian-build01:~/Sanjay$ mib2c -c mib2c.iterate.conf
>
>
> snmptranslate 1.3.6.1.4.1.388.11.2.2.11.10
> SYMBOL-CC-WS2000-MIB::auditLoggingCfgTable
>
> sym...@debian-build01:~/Sanjay$ mib2c -c mib2c.iterate.conf
> SYMBOL-CC-WS2000-MIB::auditLoggingCfgTable
> *you didn't give me a valid OID to start with at /usr/local/bin/mib2c line
> 115.*
>
Out of c
I have problem to generate the code using mib2c:
snmptranslate 1.3.6.1.4.1.388.11.2.2.11.10
SYMBOL-CC-WS2000-MIB::auditLoggingCfgTable
sym...@debian-build01:~/Sanjay$ mib2c -c mib2c.iterate.conf
SYMBOL-CC-WS2000-MIB::auditLoggingCfgTable
*you didn't give me a valid OID to start with at
On 13 December 2010 11:24, MAS . wrote:
> I want to generate c implementation file and header file for the MIB-NODE
> file containing both scalars and table.
Please see the FAQ entry
How can I have mib2c generate code for both scalars and tables?
This states the following:
This uses
Very simple,
using CLI, run mib2c -c
On Mon, Dec 13, 2010 at 4:54 PM, MAS . wrote:
> 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
> a
generate scalar and a table source file, club all together while compiling
On Mon, Dec 13, 2010 at 4:54 PM, MAS . wrote:
> 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 f
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
Hi All,
i am new to net-snmp and assigned a task of writting MIB module for embedded
device.
so i started with implementing/Adding a single scalar variable to Agent. (on a
intel based PC)
my MIB file and skeleton file(output of mib2c -c mob2c.scalar.conf) are
attached here.
m struck at how to
Dear Sir
Can I have the complete procedure to create netsnmp subagent with agent x
protocol
With regards
purushotham rao
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event
Dear Sir,
Can I have the complete procedure to create netsnmp subagent with agent x
protocol
With Regards
U.Purushotham Rao
ITI Limited
Bangalore
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
i
2009/5/27 Jaikar Nalthooru :
> I am following bellow steps to generate .c and .h files from
> the SIP MIB file.
> 1. I installed net-snmp on redhat 5 system and copied SIP MIB file to
> /usr/local/share/snmp/mibs folder.
> (MIB file from
> http://www.icir.org/fenner/mibs/extracted/SIP-TC-MIB-sip-1
Hi All,
I am new to net-snmp mib2c complier. I need to compile the SIP MIB using mib2c
complier. I am following bellow steps to generate .c and .h files from the SIP
MIB file.
1. I installed net-snmp on redhat 5 system and copied SIP MIB file to
/usr/local/share/snmp/mibs folder.
(MIB file
On 11/03/2008, Raghavendra Prasad <[EMAIL PROTECTED]> wrote:
> I am talking about writing source code generation configuration
> script files like mib2c.scalar.conf- I am writing a script file to
> generate source-code-framework, I need to find size of the string from
> MIB file.
OK - got you.
> What do you mean by that?
> The size of an arbitrary string value that your MIB module should
> report back? Or the size of a new string value that is being SET?
> Or what?
I am talking about writing source code generation configuration
script files like mib2c.scalar.conf- I am writing a s
> What do you mean by that?
> The size of an arbitrary string value that your MIB module should
> report back? Or the size of a new string value that is being SET?
> Or what?
I am talking about writing source code generation configuration
script files like mib2c.scalar.conf- I am writing a s
> What do you mean by that?
> The size of an arbitrary string value that your MIB module should
> report back? Or the size of a new string value that is being SET?
> Or what?
I am talking about writing source code generation configuration
script files like mib2c.scalar.conf- I am writing a s
On 10/03/2008, Raghavendra Prasad <[EMAIL PROTECTED]> wrote:
>I have a requirement to find out the
> size of string-type MIB variables - unfortunately I could not figure
> out how to find the size of string variable,
What do you mean by that?
The size of an arbitrary
Hi everybody,
I am writing mib2c configuration file, we intend to create a code
framework for agent from this. I have a requirement to find out the
size of string-type MIB variables - unfortunately I could not figure
out how to find the size of string variable, I need this for malloc
memory al
, [Sharad Chandra wrote:]
| Hi ,
|
| OB1
|
| |---OB2
| | ---Table1
| |--- Table2
| |-OB3
| |
| | |---OB4
| | |
| | | |-Table3
| |
Hi ,
I saw
http://net-snmp.sourceforge.net/tutorial/tutorial-5/toolkit/mfd/if-mib/ifTable/index.html
link
Can you suggest me some other mfd to generate code using mib2c from top
level of table?
my mib is like
OB1
|---OB2
| ---Table1
On 21/06/07, Karthikeyan Ramasubramanian <[EMAIL PROTECTED]> wrote:
> How can i have the code
> generated for both scalars and tables in the same file?
Please see the FAQ entry:
How can I have mib2c generate code for both scalars and tables?
http://www.net-snmp.org/wiki/index.php/FAQ:C
Hi,
I have a mib where scalars and tables are present together. When i try
to generate a ".c" & ".h" file using mib2c tool for the Net-SNMP style code
then it first detects that i have scalars and asking me whether to generate
the code for scalars. I gave the opti
try "MIBS=+IEEE802dot11-MIB mib2c
ieee802dot11".
The result is fail for 5.3.1.
BR,
Bowman Chen
- Original Message -
From: "Dave Shield" <[EMAIL PROTECTED]>
To: "bowmanchen" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, May 10, 2007 4:34
On 10/05/07, bowmanchen <[EMAIL PROTECTED]> wrote:
> Step7: $> mib2c IEEE802dot11-MIB::ieee802dot11
> For 5.4 is OK.
> For 5.3.1 is Fail
Do you get the same results when running
MIBS=+IEEE802dot11-MIB
gt;
To: "bowmanchen" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, May 09, 2007 9:15 PM
Subject: Re: [mib2c, IEEE802dot110MIB] Using mib2c to generate code with
IEEE802dot-MIB
On 08/05/07, bowmanchen <[EMAIL PROTECTED]> wrote:
I want to use IEEE802dot-MIB.txt. I have put it
On 08/05/07, bowmanchen <[EMAIL PROTECTED]> wrote:
>I want to use IEEE802dot-MIB.txt. I have put it in
> /usr/local/share/snmp/mibs .
>
> My problem is
> Using mib2c to generate code by NET-SNMP 5.4 is OK.
> Using mib2c to generate code by
Dear all:
I encounter some problem. Please give me some advasie. I had search
net-snnmp mail archive that can't found relate same issue with my problem.
I want to use IEEE802dot-MIB.txt. I have put it in
/usr/local/share/snmp/mibs .
My problem is
Using mib2c to gen
: net-snmp-users@lists.sourceforge.net
Subject: problem using mib2c
Hello all,
I tried using mib2c for code generation. I get the following error
ERROR: You don't have the SNMP perl module installed. Please obtain
this by getting the latest source release of the net-snmp toolkit from
Hello all,
I tried using mib2c for code generation. I get the following error
ERROR: You don't have the SNMP perl module installed. Please obtain
this by getting the latest source release of the net-snmp toolkit from
http://www.net-snmp.org/download/ . Once you download the source and
u
Hi All,
I am new to the Net-SNMP, i am using NetSNMP version 5.0.1. I am writing
an SNMP agent to support one MIB which has
few scalar and tables. The number of rows and the indices value in the
table is fix (hardcoded)
but the non-index column are dynamic and i need to get the value of this
fr
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
l Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of raul
> serrano
> Sent: Tuesday, September 28, 2004 7:28 PM
> To: [EMAIL PROTECTED]
> Subject: using mib2c
>
>
>
> Hello,
>
> I'm newby in this. I'm trying to use mib2c to
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, looked in
c:/usr/share/snmp
41 matches
Mail list logo