Search in sources :

Example 1 with Collect

use of org.opennms.netmgt.config.datacollection.Collect in project opennms by OpenNMS.

the class SystemDefForm method createBasicSystemDef.

/**
     * Creates the basic system definition.
     *
     * @return the system definition
     */
public SystemDef createBasicSystemDef() {
    SystemDef sysDef = new SystemDef();
    sysDef.setName("New System Definition");
    sysDef.setSysoidMask(".1.3.6.1.4.1.");
    sysDef.setCollect(new Collect());
    return sysDef;
}
Also used : Collect(org.opennms.netmgt.config.datacollection.Collect) SystemDef(org.opennms.netmgt.config.datacollection.SystemDef)

Aggregations

Collect (org.opennms.netmgt.config.datacollection.Collect)1 SystemDef (org.opennms.netmgt.config.datacollection.SystemDef)1