Foundry router example

This example shows how to create the SNMP computer system template for a Foundry router.

Procedure

  1. In the Discovery Management Console, click Discovery > Computer Systems.
  2. In the Computer Systems view, click Add.
    The Computer System Details window opens.
  3. In the Name field, type Foundry Router.
  4. In the Action field, select Discover.
  5. Select Enabled.
  6. 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.)
  7. Select MIB.
  8. In the Identifying Criteria field, select Any Criteria.
  9. For the first criterion, specify the following values:
    Sys OID is .1.3.6.1.4.1.1991.1.3.34.2.1.1.2
    Then click Add Criterion.
  10. For the second criterion, specify the following values:
    Sys OID starts-with .1.3.6.1.4.1.1991.1.3.44
    Then click Add Criterion.
  11. Click OK.
    The new template is added to the end of the list.
  12. 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:
    <?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>
    This XML file specifies that all discovered SNMP computer system devices matching the Foundry Router template use the com.collation.platform.model.topology.sys.UnitaryComputerSystem model class, have the type attribute set to Router and the manufacturer attribute set to Foundry Networks.
    Note: The name of the action class file (without the .xml extension) must match the name of the SNMP computer system template.

What to do next

The new template can be used immediately (you do not need to restart the Agile Service Manager server).