[SNMP4J] SMI Enumeration syntax

Frank Fock fock at agentpp.com
Tue Jul 12 23:03:28 CEST 2005


Hi Yuan,

The SMI looks OK. Could you please post the error that you get?
May be the error is caused by something else?

Best regards,
Frank

Wang Yuan-G2362C wrote:

>Hi Frank,
> 
>I see there is a section in the generated code for the Enumerations. What is the mib syntax that the AgenPro will accept for enum?  I had tried following syntax. It won't compile.
> 
>balanceMethod OBJECT-TYPE
>         SYNTAX INTEGER
>                 {
>                 random(0),
>                 roundRobin(1),
>                 leastTime(2)
>                 }
>         MAX-ACCESS read-write
>         STATUS current
>         DESCRIPTION
>                 "Back-end server balancing method"
>         ::= { drpProxyObjects 17 }
>
> 
> 
>Yuan Wang
> 
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>
>  
>





More information about the SNMP4J mailing list