Archived community.zenoss.org | full text search
Skip navigation
Currently Being Moderated

8.2 Classes

VERSION 5  Click to view document history
Created on: Jul 14, 2010 1:27 PM by Zenoss API - Last Modified:  Jul 14, 2010 1:47 PM by Zenoss API

 2. Classes

The most important organizers are classes, which comprise:

  • Device classes

  • Event classes

  • Service classes

  • Product classes

     

Templates and configuration properties can be inherited based on class. These attributes can be overwritten further down the class hierarchy, all the way down to the individual component level. The class hierarchy includes all defined and standard classes and sub-classes.

The following procedures are illustrated using device classes and sub-classes, but the same concepts apply to event classes, service classes, and product classes. When you add a device to the system, you should (after providing the network name or IP address) specify its device class. Templates and configuration properties can be set at any level in the device class hierarchy.

 2.1. Viewing Device Classes

To view device classes and the devices they contain, select Infrastructure from the navigation bar.

The device list appears. The top of the devices hierarchy lists device classes. Click a class name to view devices in that class, or expand it to show sub-classes.

 

Figure 8.2. Devices Hierarchy

Devices Hierarchy

An indicator appears next to each listed class to show whether there are events associated with any devices in that class.

 2.2. Adding Classes

To create a device class:

  1. Select Infrastructure from the navigation bar.

    The device list appears.

  2. Select the location in the device class hierarchy where you want to add a new class.

  3. Click (Add).

    The Add Device Class dialog appears.

  4. Enter a name and description for the new device class, and then click Submit.

    The new device class appears in the hierarchy. You can now move devices into this class. Select one or more devices in the device list, and then drag them to the new class.

 2.2.1. Moving a Class

To move a class in the hierarchy:

  1. Select the class in the hierarchy.

  2. Drag the class to its new location.

    The Move Organizer confirmation dialog appears.

  3. Click OK to confirm the action.

    The class appears at its new location in the hierarchy.

 2.3. Setting Configuration Properties at the Class Level

To set configuration properties at the device class level:

  1. Select a device class in the devices hierarchy.

  2. Click Details, and then click Configuration Properties.

    The Configuration Properties page for the selected device class appears.

     

    Figure 8.3. Device Class Configuration Properties

    Device Class Configuration Properties

  3. Edit configuration properties definitions as desired, and then click Save.

    Definitions are applied to all devices currently in, and added to, this class (unless overridden at a lower level in the hierarchy).

Comments (0)