You need to check in dot3StatsTable_interface.c
There is no element for id = 12 you need to clean the code to go from 11 to 13.
/*
dot3StatsCarrierSenseErrors(11)/COUNTER/ASN_COUNTER/u_long(u_long)//l/A/w/e/r/d/h
*/
case COLUMN_DOT3STATSCARRIERSENSEERRORS:
var->val_len = sizeof(u_l
I think, before create a new row you need to get a valid index with:
dot1qNextFreeLocalVlanIndex
--- On Tue, 12/20/11, Dave Shield wrote:
> From: Dave Shield
> Subject: Re: noCreation Error when trying to set VLAN on a switch
> To: basil.jos...@wipro.com
> Cc: net-snmp-coders@lists.sourceforg
Hi,
I Try to optimize my cache handling by following the step found in a man page:
{{{
Cached File: If your table is based on a file that may periodically change, you
can test the modification date to see if the file has changed since the last
cache load. To get the cache helper to call the loa
A god book for this is "Understanding SNMP MIBs" ISBN 0-13-437708-7
I personally found a lot of explanations and the nested table example.
--- On Mon, 3/8/10, Prakash wrote:
> From: Prakash
> Subject: RE: Defining MIB
> To: "'Robert Story'"
> Cc: net-snmp-coders@lists.sourceforge.net
> Rec
to down and
I saw a trap generate by netSNMP.
Dominique Bastien
__
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot
with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail
toda
Solved by changing #define in the _oids.h file from
0x1 to 0x1LL, change de type of column_set_flags in
the _rowreq_ctx_s structure and save_flags ( from int
to unsigned long long).
--- Dominique bastien <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> my table contain more than 32
Hi,
my table contain more than 32 column and in the
generated commit function I receive this following
warning at compile time:
warning: left shift count >= width of type
Do I need to change something in the file creation or
I need to change something manualy in the code.
Thanks,
Dominique
Use smilint before compiling your MIB. mib2c is not a
tool to verifing synthax error in MIB.
http://www.ibr.cs.tu-bs.de/projects/libsmi/tools/?lang=de
--- Dave Shield <[EMAIL PROTECTED]> wrote:
> On 09/04/2008, Johns Victor
> <[EMAIL PROTECTED]> wrote:
> > I am trying to extend the net-snmp age
snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
Dominique Bastien
Accedian Networks, Inc.
4878 Levy suite #202
Saint-Laurent
H4R 2P1
Tel: 514-331-6181 ext:602
Fax:
Hex it's the standard way to display IPv6 address.
--- Maneesh Agarwal <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'm using ASN_OCTET_STR for ipv6 address. But MIB
> browser displays the IPv6 address in hex format.
>
> For IPv4 address, ASN_IPADDRESS is used, the output
> is displayed is A.B.C.D form
Hi,
I curently updating a MIB to add the functionality of
row creation. I add to the table definition the
RowStatus with the ACCESS set to read-create. But I
want to know if I have to change the other read-write
entries pf the table to read-create.
Thanks,
Dominique
Be smarter than spam.
It seem that the override directive doesn't work with
the warm boot. I try some test last nigth and found
error on each line after a -HUP.
Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.conf:
line 44: Error:
oid registration failed within the agent
Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.
Hi,
I face a little problem here with the DF bit in IP. If
I send a request base on a Perl script to my netSNMP
agent my get-response is break in three IP packets
with the DF flag set and somewhere in a private
network the PDUs are drops. Can I disable this default
setting by configuration or I n
I saw a similar problem in MAU-MIB due to hole in the allocation of the id for
the table element. Maybe is the same problem.
- Original Message
From: Dave Shield <[EMAIL PROTECTED]>
To: "Tu, Don" <[EMAIL PROTECTED]>
Cc: net-snmp-coders@lists.sourceforge.net
Sent: Wednesday, October 11, 2
Yes,
the ifAdminStatus and the ifOperStatus are down.
Dominique
--- Wes Hardaker <[EMAIL PROTECTED]>
wrote:
> >>>>> "Db" == Dominique bastien
> <[EMAIL PROTECTED]> writes:
>
> Db> With Linux I create multiple VLAN interfaces on
> a
> D
With Linux I create multiple VLAN interfaces on a
specific port. At this moment I saw the new interface
in the ifTable name eth7.100, eth7.200 and so on. But
when I delete these interface they still visible in
the MIB.
Dominique
__
Do You Yahoo!?
T
I perform some tests yesterday with the SIGHUP feature
and I notice that the lines in snmpd.conf containing
the "override" keyword are not process at the
warm-boot.
What is missing to make this thing work properly?
Do we have to register a callback or add something in
update_config() function?
Hi,
I try to generate code for the HC-RMON MIB (RFC3273)
with the command "env MIBS="+HC-RMON-MIB" mib2c
mib2c.mfd.conf etherHistoryHighCapacityTable" but the
perl script stop in the middle of the generation with
the following error:
writing to
defaults/table-etherHistoryHighCapacityTable.m2d
S
:
return MFD_SKIP;
and now the walk is fine. But why the mib2c doesn't
generate these entries?
Dominique
--- Dominique bastien <[EMAIL PROTECTED]> wrote:
>
> I used the version 5.3.0.1
>
> The log are:
>
> Jan 14 03:57:09 P002-0004 snmpd[109]: registered
>
I used the version 5.3.0.1
The log are:
Jan 14 03:57:09 P002-0004 snmpd[109]: registered debug
token internal:dot3Stats$
Jan 14 03:57:09 P002-0004 snmpd[109]: registered debug
token verbose:dot3StatsT$
Jan 14 03:57:09 P002-0004 snmpd[109]: registered
debug token 9:dot3StatsTable, $
Jan 14 03:59:
Hi,
I currently try tp implement the EtherLike MIB but I
had some difficulty due to unassigned values in the
table. I reponse yes to the following question from
mib2c.
<>
I also add code at the end of the data_access
(dot3StatsTable_container_load) fonction to set the
column_exists_flags.
row
Yes, I used MFD code. The command is:
env MIBS="+MAU-MIB" mib2c mib2c.mfd.conf ifMauTable
The error message is:
** ACK! I cannot handle BITS longer than 4 bytes!
In file "details-enums.m2i"
I'm working on a 32-bits machine. I going to stay with
my workaround for this first pass.
Dominique
--
Hi,
I currently work on an implementation of the
EtherLike-MIB and the MAU-MIB inside netSNMP. When I
generate the code for the ifMauTable the mib2c stop
with the error about the limitation of BITS to 32
bits. the object ifMauTypeListBits is now 41 bits long
to support 10G interfaces.
I remove
I need some clues about wahat happen, First on one PC
I install 5.3.0.1 and compile the package, I ran mib2c
on one table of my private MIB and obtain:
the following files:
xxx.c/.h
xxx_data_access.c/.h
xxx_data_get.c/.h
xxx_data_set.c/.h
xxx_enums.h
xxx_interface.c/.h
and two readme files:
xxx-
Hi,
I want to implement the dot3 MIB (RFC3635) and MAU-MIB
(RFC3636) inside netSNMP, but I current face the
problem of using mib2c. I found some tutorial page but
they always talking about one node at the time. I try
this:
env MIBS="+EtherLike-MIB" mib2c -c mib2c.scalar.conf
dot3StatsIndex
But
coder to don't forget to be in v2c
or v3.
Thanks,
Dominique
--- Dave Shield <[EMAIL PROTECTED]> wrote:
> On Tue, 2006-02-21 at 18:22 -0500, Dominique bastien
> wrote:
> > I try to implement the HC counters in the RMON
> code.
> > But I'm not able to receive my
I try to implement the HC counters in the RMON code.
But I'm not able to receive my 64 bits counter with my
MIB browser. I need help, it seem that my return code
is not correct.
Here is the file that I try to debug but I'm not very
fluent with the netSNMP code. If somebody can point me
my mistake
27 matches
Mail list logo