On Tue, 17 Apr 2012 09:39:50 -0700 (PDT) Dominique wrote:
DB> You need to check in dot3StatsTable_interface.c
DB>
DB> There is no element for id = 12 you need to clean the code to go from 11
DB> to 13.
DB>
DB> /*
DB>
dot3StatsCarrierSenseErrors(11)/COUNTER/ASN_COUNTER/u_long(u_long)//l/A/w/
ng);
var->type = ASN_COUNTER;
rc = dot3StatsFrameTooLongs_get(rowreq_ctx, (u_long *)var->val.string );
break;
--- On Tue, 4/17/12, Robert Story wrote:
> From: Robert Story
> Subject: Re: Error OID not increasing...
> To: "Jes"
> Cc: net-snmp-coders@l
olumn ok(via
J> netsnmp_extract_table_info) and the appropriate oid, I lookup my value and
J> return it via snmp_set_var_value .. but my snmpwalk
J> command gets the value but then says "Error: OID not increasing: ..."
Ok, when you send a snmpgetnext request, the agent may (or ma
value and return it via snmp_set_var_value
.. but my snmpwalk
command gets the value but then says "Error: OID not increasing: ..."
1.) In the case of the EtherLike-MIB it seems like there should be some
common code
that I could tap into and simply return my values ...should I u
times. There are 2 problems comming. First
is SIGPIPE signal because probably time out occur of snmpwalk (well
resolved using signal(SIGPIPE, SIG_IGN);) and socket closed to write.
and second is sometime snmpwalk did not travel whole table and says
Error: OID not increasing:
and used -Cc to
On Thu, 2 Jun 2005 12:46:36 -0500 [EMAIL PROTECTED] wrote:
EYC> Thanks for the accurate diagnostics.
EYC> I found that NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD cache flag was on. After
EYC> I removed this flag, the problem disappeared.
Ah, the dangers of cut-n-paste of code you don't understand. Been t
To
[EMAIL PROTECTED]
cc
[email protected]
Subject
Re: after the second cache_load, got "Error: OID not increasing"
On Fri, 27 May 2005 11:16:56 -0500 [EMAIL PROTECTED] wrote:
EYC> I implemented EtherLike-MIB AgentX subagent after generating template by
EYC&
k only and
EYC> always walk to column=1, and got "Error: OID not increasing:
EYC> EtherLike-MIB::dot3StatsIndex.2" error because of that;(debug message from
EYC> the subagent below)_mfd_dot3StatsTable_get_column: column=1, Index=1
EYC> _mfd_dot3StatsTable_get_column: column=1, I
occurs after the second cache_load, then snmpwalk only and always walk to column=1, and got "Error: OID not increasing: EtherLike-MIB::dot3StatsIndex.2" error because of that;
(debug message from the subagent below)
_mfd_dot3StatsTable_get_column: column=1, Index=1
_mfd_dot3StatsTable_