Foundry router example
This example shows how to create the SNMP computer system template for a Foundry router.
Procedure
- In the Discovery Management Console, click Discovery > Computer Systems.
- In the Computer Systems view, click Add.
The Computer System Details window opens.
- In the Name field, type Foundry Router.
- In the Action field, select Discover.
- Select Enabled.
- Optional: In the Icon field,
click Browse to choose an icon for the device.
This icon is used to distinguish the template in the Computer Systems view. (The icon is not used during or after discovery.)
- Select MIB.
- In the Identifying Criteria field, select Any Criteria.
- For the first criterion, specify the following values:
Then click Add Criterion.
Sys OID is .1.3.6.1.4.1.1991.1.3.34.2.1.1.2 - For the second criterion, specify the following values:
Then click Add Criterion.
Sys OID starts-with .1.3.6.1.4.1.1991.1.3.44 - Click OK. The new template is added to the end of the list.
- To add an action class file for the template, create a
file named Foundry Router.xml in the $COLLATION_HOME/etc/templates/action directory.
Add the following content to the file:
This XML file specifies that all discovered SNMP computer system devices matching the<?xml version="1.0" encoding="UTF-8"?> <results xmlns="urn:www-collation-com:1.0" xmlns:coll="urn:www-collation-com:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:www-collation-com:1.0 urn:www-collation-com:1.0/results.xsd"> <UnitaryComputerSystem array="1" xsi:type= "coll:com.collation.platform.model.topology.sys.UnitaryComputerSystem"> <type>Router</type> <manufacturer>Foundry Networks</manufacturer> </UnitaryComputerSystem> </results>
Foundry Router
template use the com.collation.platform.model.topology.sys.UnitaryComputerSystem model class, have the type attribute set toRouter
and the manufacturer attribute set toFoundry Networks
.Note: The name of the action class file (without the .xml extension) must match the name of the SNMP computer system template.