, Dave Shield [EMAIL PROTECTED] wrote:
On Fri, 2005-05-20 at 18:37, Fabio Margarido wrote:
Just an update, I ran mib2c on a multi-indexed table for testing
purposes and guess my guesses were right... :-)
They certainly looked correct to me.
But if mib2c automatically generates
by the handler-based
mechanism.
Is there a more up to date documentation available? If not, please
help me guys cause I'm really lost here... :-)
Thanks.
Fabio
On 5/20/05, Dave Shield [EMAIL PROTECTED] wrote:
On Fri, 2005-05-20 at 14:33, Fabio Margarido wrote:
Simply put: how
Hi there everyone,
We've recently had the need to change our private MIB and extend it
with a table with two indices. But now we're having some problems with
how to implement the get and getnext requests, i. e., how to walk
through that table. Simply put: how should we modify the stubs
generated
the registration part, will mib2c generate the
'netsnmp_table_helper_add_indexes' call with the correct parameter
count or will it take only one and I have to insert the other(s) by
hand?
Thanks again.
Fabio
On 5/20/05, Dave Shield [EMAIL PROTECTED] wrote:
On Fri, 2005-05-20 at 15:16, Fabio Margarido wrote
that. hope it works then. :-)
But if mib2c automatically generates the
netsnmp_table_helper_add_indexes call with all the indices, I don't
see what I have to modify in this part.
Thanks
Fabio
On 5/20/05, Fabio Margarido [EMAIL PROTECTED] wrote:
Ok, thanks for the pointers. I get the big picture now
read_config:initmib: using mibs: +VIA-PE-MIB:VIA-PE-MIB
SNMPv2-MIB::sysContact
Wasn't /home/fabio/.snmp/mibs supposed to be in there too?
Thanks
On 4/25/05, Fabio Margarido [EMAIL PROTECTED] wrote:
Is VIA-PE-MIB you're mib?or is it referenced by your mib?
Yeah, VIA-PE-MIB is my MIB
Is VIA-PE-MIB you're mib?or is it referenced by your mib?
Yeah, VIA-PE-MIB is my MIB.
On 4/25/05, Wes Hardaker [EMAIL PROTECTED] wrote:
On Mon, 25 Apr 2005 09:17:52 -0300, Fabio Margarido [EMAIL PROTECTED]
said:
Fabio $ export MIBS=+MY-MIB
Fabio As far as I know, that would
Ok, tried deleting .index from /usr/local/share/snmp/mibs and it
didn't change anything. When I run that command you said, I get the
following:
snmptranslate -IR -Dread_config: sysContact
read_config:initmib: using mibdirs: /usr/local/share/snmp/mibs
read_config:initmib: using mibs: +VIA-PE-MIB
Ok, let me explain in detail the problem I am experiencing:
I deleted my MIB file from the /usr/local/share/snmp/mibs/ and put it
on $HOME/.snmp/mibs/. Then I added my MIB to the MIBS variable so that
mib2c could find it, as well as the default mibs, with the command:
$ export MIBS=+MY-MIB
As
already put the home mib dir.
Thanks
On 4/21/05, Dave Shield [EMAIL PROTECTED] wrote:
On Wed, 2005-04-20 at 20:32, Fabio Margarido wrote:
I've set MIBDIRS and it worked... only problem is that I still have to
put the default mib dir in the path cause if I don't net-snmp doesn't
find
Hey there,
I'm developing a tool that automatically inserts the custom code from
my company's applications into the stubs generated by net-snmp. This
tool has to be really generic, so that it runs on any machine,
regardless of the path where net-snmp was installed. When I'm parsing
a private MIB,
, 20 Apr 2005 16:05:29 -0300, Fabio Margarido [EMAIL PROTECTED]
said:
Fabio Thanks for the explanation. But I still don't get how it has to
Fabio be done. The documentation on loading local MIBs
Fabio (http://www.net-snmp.org/tutorial/tutorial-5/commands/mib-options.html)
Fabio doesn't say
Hey there everyone,
I'm new to this mailing list, and quicly browsed the archives to see
if I could find someone with a similar issue. Couldn't find anyone, so
sorry If this has been addressed already.
We're currently using Net-SNMP 5.1.2 in an embedded system, and snmpd
is showing strange
Hey there, thanks for the response.
I can't reproduce the fail right now to get the backtrace and send ito
to you, cause there's only two machines available and they're
currenlty being used for testing, so maybe tomorrow I can do it. Then
I'll post it here.
About the other question, the traps
Hey there everyone,
I'm new to this mailing list, and quicly browsed the archives to see
if I could find someone with a similar issue. Couldn't find anyone, so
sorry If this has been addressed already.
We're currently using Net-SNMP 5.1.2 in an embedded system, and snmpd
is showing strange
15 matches
Mail list logo