[SNMP4J] How can I find oid(myTable)?

Frank Fock fock at agentpp.com
Fri Nov 21 08:26:03 CET 2008


Hi,

Because the table is empty?

Best regards,
Frank

손인선 wrote:
> Hi, Frank.
> 
> 
> I have a question.
> 
> 
> ============================================================================
>       // Register a table with a string index and a single integer payload
> column
>       // a row status column to
>       DefaultMOTable myTable =
>          new DefaultMOTable(new OID("1.3.6.1.4.1.4976.10.1.1.20.1.2"),
>                             new MOTableIndex(new MOTableSubIndex[] {
>                                              new MOTableSubIndex(new
> OID("1.3.6.1.4.1.4976.10.1.1.20.1.2.1"),
> 
> SMIConstants.SYNTAX_OCTET_STRING, 1, 16) },
>                                              true),
>          new MOMutableColumn[] {
>       new MOMutableColumn(1, SMIConstants.SYNTAX_INTEGER32,
>                           MOAccessImpl.ACCESS_READ_CREATE,
>                           new Integer32(10), true),
>       new RowStatus(2)
>          });
>       server.register(myTable, null);
> ============================================================================
> 
> There is this code in protected void registerMIBs() in SampleAgent.java
> 
> I registered myTable in MIB.
> And then, I tried to find oid(1.3.6.1.4.1.4976.10.1.1.20.1.2) using MIB
> browser.
> But, I could not find oid(1.3.6.1.4.1.4976.10.1.1.20.1.2), why??
> Why cannot I find oid?
> 
> 
> 
> 

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list