XML Structure for Request, Response and Event Notification

Example of XML structure of a Request from the Management Client to Management Server

 

  <?xml version="1.0" encoding="ISO-8859-1"?>

<RequestDescriptor>

<attributeDescriptors>

<protocolMap name="SNMP"/>

<mcReqIDMap mcReqID="1"/>

<attribute AuthProtocol="" VarBindCount="" NonRepeaters="" PrivPassword="" AttemptComplete="" OperationType="0" WriteCommunity="" LocalPort="" GenericType="" SpecificType="" PollInterval="1000" ContextName="" Enterprise="" Index="" Community="" URL="" ObjectIDListArray="1.1.0" TargetHost="kps" MibToBeUnLoaded="" ContextID="" InterPacketDelay="" DriverName="" DBUserName="" ResultType="2" DBPassword="" MaxRepetitions="" AuthPassword="" Timeout="1000" MibsToBeLoaded="" ObjectID="1.1.0" UserName="" Version="" TableOID="" V3DatabaseFlag="" PartialSet="false" TargetPort="" RemoteHost=""/>

</attributeDescriptors>

</RequestDescriptor>

 

Example Of  XML structure of a Response from the Management Server to Management Client

  

<?xml version="1.0" encoding="ISO-8859-1"?>

<ResponseDescriptor>

<attributeDescriptors>

<protocolMap name="SNMP"/>

<mcReqIDMap mcReqID="1"/>

<ResultValue length="1">

<Value>Linux kps 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686</Value>

</ResultValue>

</attributeDescriptors>

</ResponseDescriptor>

 

Example Of  XML structure of a Event Notification from the Management Server to Management Client

 

<?xml version="1.0" encoding="ISO-8859-1"?>

<EventDescriptor>

<attributeDescriptors>

<protocolMap name="com.adventnet.management.snmp.SnmpEvent"/>

<mcReqIDMap mcReqID="1"/>

<attribute GenericType="1" Category="" SpecificType="0" Node="venkat.india.adventnet.com" Enterprise=".1.3.6.1.4.1.2021.250.10" Severity="0" Domain="" AgentAddress="venkat.india.adventnet.com" Network="" Time="996913108069" Entity="venkat.india.adventnet.com"/>

</attributeDescriptors>

</EventDescriptor>