On Fri, 2006-02-17 at 01:13 +0800, Joe Shen wrote:
> >
> > What is the structure of this MIB subtree?
> > In particular, what is the definition of the
> > object(s) that hold)s( the numeric value?
>
> Reading the code of that script
No - I asked you about the *MIB* definitions.
Which MIB objects are you wanting to implement?
> I found following:
>
> # .1.3.6.1.4.1.2021.55.1.1 = INTEGER: 1
The OID .1.3.6.1.4.1.2021.55 is not defined
in any of our MIB files.
It is part of the subtree assigned to the University
of California, Davis (and administered by the Net-SNMP
project). It is not appropriate to simply start using
arbitrary subsets of this OID space. Either register
your own private subtree, or use the
NET-SNMP-MIB.txt::netSnmpPlaypen
area which is explicitly provided for such experimentation.
> # .1.3.6.1.4.1.2021.55.2.1 = STRING: GLOBAL
> # .1.3.6.1.4.1.2021.55.3.1 = INTEGER: 0
> # .1.3.6.1.4.1.2021.55.4.1 = INTEGER: 0
> # .1.3.6.1.4.1.2021.55.5.1 = INTEGER: 0
> # .1.3.6.1.4.1.2021.55.6.1 = INTEGER: 0
> # .1.3.6.1.4.1.2021.55.7.1 = INTEGER: 0
> # .1.3.6.1.4.1.2021.55.8.1 = INTEGER: 0
This output does not form a valid MIB structure.
You need to redesign your MIB (as well as relocating
it to a more appropriate root OID)
> .1.3.6.1.4.1.2021.55.3.1 hold the value
> bigger than 2** 32.
But what is the MIB definition of this object?
> The script is written in perl, but I'm sorry I'm not
> familiar with perl and SNMP programing.
How are you invoking the script?
If you are using the "pass" (or "pass_persist")
mechanism, then this does not support 64-bit values.
You are restricted to 32-bit values only.
If you're using an embedded perl MIB module, then this
*might* support Counter64, I'm not sure - I've no
real experience of this approach. You'll have to hope
one of the experts chips in.
But I think you've got some tidying up to do with
your existing setup anyway. It doesn't appear
to be valid SNMP at the moment.
Dave
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users