Administrator Handbook | Table of contents |
The Template_List.xml file is used to store the setting of the tree in the snmp configuration wizard. The wizard helps the user to select a set of snmp object ID to graph in the RRD Collector plugin. The file can be extended at will and provide a fast way for selecting new set of snmp objets in few clicks.
The XML schema definition file is given below:
Structure of the wizard template file
The wizard template file is built with nodes that create the tre structure. A node <node> contains a node name <node_name> and either another node or a leaf object.
<Node>
<Node_Name>Spanning Tree protocol - IEEE
802.1d</Node_Name>
<Leaf>
....
</Leaf>
<Leaf>
....
</Leaf>
</Node>
<Node>
<Node_Name></Node_Name>
<Node>
<Node_Name></Node_Name>
<Node>
<Node_Name></Node_Name>
</Node>
</Node>
</Node>
Structure of the leaf node
<Leaf> | Tag tha enclose the settings of a leaf node | ||||||
<Leaf_Name> | the leaf node name | ||||||
<Tpl_Description> | A description for that leaf entry | ||||||
<MIB_File> | the MIB file required for displaying this snmp object correctly | ||||||
<Y_Legend> | The legend used for this template and later on into the RRD graph | ||||||
<Leaf_Type> | The snmp object type
|
||||||
<OID name="name "> | A snmp object in a LoriotPro short format (example: ifinoctets) or reduced format (example of reduced format: mib_description:object_name). The attribut storing the object description use in the graph legend Name="Network Interface" |
||||||
Example of node in the template file
<Node>
<Node_Name>Network layer</Node_Name>
<Leaf>
<Leaf_Name>Network
Interface Table</Leaf_Name>
<Tpl_Description>Full
table of the Network Interface SNMP object</Tpl_Description>
<Y_Legend></Y_Legend>
<Leaf_Type>TABLE</Leaf_Type>
<OID>iftable</OID>
</Leaf>
<Leaf>
<Leaf_Name>Network
Interface Traffic in Bytes/second</Leaf_Name>
<Tpl_Description>none</Tpl_Description>
<MIB_File>RFC1213-MIB</MIB_File>
<Y_Legend>Bytes/s</Y_Legend>
<Leaf_Type>COLUMNS</Leaf_Type>
<OID Name="Network Interface">ifdescr</OID>
<OID Name="Incoming
octets">ifinoctets</OID>
<OID Name="Outgoing
octets">ifoutoctets</OID>
</Leaf>
....
The same noued displayed in the wizard
www.loriotpro.com |
|