[SNMP4J] How to populate a notification PDU with nested objects?
jo at atsresults.com
jo at atsresults.com
Thu Oct 20 15:45:00 CEST 2005
Hey Everyone,
Given the sample MIB below, how would I populate the notification PDU properly?
Do I just add the Objects' OID/values in order or is there something else I have
to do?
Thanks for your help
Cheers
Jason
Object1 OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "Object 1 Description"
::= { Objects 1 }
Object2 OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "Object 2 Description"
::= { Objects 2 }
Objects3 OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..255))
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "Object 3 Description"
::= { Objects 3 }
Notification1 NOTIFICATION-TYPE
OBJECTS {
Object1
Object2
Object3
}
STATUS current
DESCRIPTION
"Notification Description"
::= { Notification 1 }
More information about the SNMP4J
mailing list