XML template for importing SNMP device properties into SNMP Manager - SNMP Manager 4.1

SNMP Manager Plugin Guide 4.1

series
SNMP Manager 4.1
revised_modified
2019-08-08

If the properties related to the SNMP device that you want to add are not listed on the SNMP Manager Device templates page, you must add them using an XML mapping file. This reference topic describes the XML tags to use and provides an example.

An XML template named TemplateExtension.xml.Temp is in $\Program Files (x86)\Security Center Plugins\SNMP\Extensions.
The following table list the mandatory and optional fields to include in the XML mapping file.
NOTE: The device information required to create the XML file is provided by the device manufacturer.
XML tag Requirement Description
Manufacturer Mandatory The manufacturer of the device.
TypeName Mandatory The type of device. For example: Camera_Axis_201

This value must be unique.

Description Optional A description of the device type so you can identify it.
Properties Mandatory A section in the XML document that defines the properties of the device.
Property Mandatory A section of XML that defines the properties of a single input on the device. If a device type includes multiple inputs, create one <Property> section per input.
PropertyID Mandatory The SNMP Object ID (OID) of the property. PropertyIds must be unique for a given type.
DisplayName Optional The name of the property that will be displayed in Security Center.
Type Mandatory Defines the .NET framework type of the property used by the SNMP Manager. For more information, see Identifying .NET framework types for SNMP in the SNMP Manager plugin.

Example XML

The following sample XML imports some of the properties of an Axis camera that you can monitor in Security Center. The values to enter are highlighted in yellow. Descriptions of the values appear in the table above.

<?xml version="1.0" encoding="utf-8"?>
<TypeDescriptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <Version>1</Version>
 <EntityTypes>
    <EntityType>
		<TypeName>extension_Axis_201</TypeName>
              <Manufacturer>AXIS</Manufacturer>
              <Description>Axis camera xx.xxx.x.xxx</Description>
              <Properties>
                <Property>
                  <PropertyId>1.3.6.1.2.1.1.1.0</PropertyId>
                  <Type>System.String</Type>
                  <DisplayName>System description</DisplayName>
                </Property>
                <Property>
                  <PropertyId>1.3.6.1.2.1.1.2.0</PropertyId>
                  <Type>System.String</Type>
                  <DisplayName>Vendor's authoritative id (ObjectId)</DisplayName>
                </Property>
                  <Property>
                  <PropertyId>1.3.6.1.2.1.1.3.0</PropertyId>
                  <Type>System.UInt64</Type>
                  <DisplayName>System up time (TimeTicks)</DisplayName>
                </Property>
		</Properties>
    </EntityType>
  </EntityTypes>
</TypeDescriptions>