Integrating eDirectory SNMP Agent with a Management Framework
Novell Cool Solutions: AppNote
By Mohan Kumar Guruswamy
Digg This -
Posted: 29 Nov 2006
HP's OpenView Network Node Manager (NNM) is the industry's most powerful platform for enterprise-wide IP network management based on SNMP standards. This document describes how to configure HP Openview Network Node Manager (NNM) for managing eDirectory SNMP Agent. The document indicates the location of the MIBs and how to integrate them with HP Openview NNM.
The following sections explain how to integrate the eDirectory SNMP Agent into the HP OpenView management framework.
- Setting Up the MIBs
- Formatting Trap Messages
- Configuring HP Open View NNM to Poll for eDirectory Events
Setting Up the MIBs
1. Load the eDirectory MIB in HP OpenView, in the method shown below. To load the MIBs, select the Options menu and choose Load/Unload MIBs: SNMP.
The SNMP MIB defines the data types and access permissions for the various managed objects that can be accessed through eDirectory SNMP Agent. It also defines the event notifications that can be generated by eDirectory SNMP Agent.
By default, the SNMP MIB file, named edir.mib, is located in the following paths, depending on your system:
Novell eDirectory 8.7.3:
- NetWare: sys:\etc
- Windows: install_directory\NDS\snmp
- Linux and UNIX: /etc/ndssnmp/
Novell eDirectory 8.8:
- NetWare: sys:\etc
- Windows: install_directory\NDS\SNMP
- Linux and UNIX: /etc/opt/novell/eDirectory/conf/ndssnmp/
Figure 1 - Loading SNMP MIB
2. Open the MIB browser and select the Tools menu.
3. From the Tools menu, choose SNMP MIB Browser.
Figure 2 - MIB Browser
4. Under the Name or IP Address option, enter the name or IP address of the eDirectory server already configured and running.
5. Under Community Name option, enter "public".
6. Navigate to the SNMP target address table by clicking
7. Click Start Query.
Figure 3 - SNMP Polling using MIB Browser
Formatting Trap Messages
Although HP OpenView receives the traps from the eDirectory SNMP Agent, it does not automatically interpret them or display them in a useful manner. The trap contains the basic information such as the alarm category, description, and severity. Many trap messages may require more information for troubleshooting; we recommend you refer the log file on the eDirectory SNMP Agent for complete alarm information and determining root causes.
You can, however, configure HP OpenView to format the traps into a more readily understandable format by following the steps given below:
1. Open the Event Configuration window by selecting Options > Event Configuration from the HP OpenView menu.
2. In the Enterprises section, choose Novell-eDirectory (Figure 4).
Figure 4 - Event Configuration, EDirectory Enterprise
3. In Events for Enterprises Novell eDirectory (.22.214.171.124.126.96.36.199.98.0.53), select the object generating the enterprise-specific traps (for example, ndsAddReplica).
Figure 5 - Event Configuration, Modify Events
This causes the Modify Events manager to start. The following items can be edited:
- Sources: Choose the source address of the device which sends the traps to activate this event.
- Event Message: Select where NNM event will be displayed, the severity of the event and the event log messages.
Figure 6 - Event Configuration, Event Message
- Event Actions: Select what actions NNM will execute after the event is received.
- Event Forwarding: Select the management stations to forward the event.
The Alarm Browser displays SNMP traps that are received from the sources that NNM has approved to receive.
Configuring HP Open View NNM to Poll for eDirectory Events
NNM can be configured to periodically poll eDirectory Agents for the status of particular objects. This section discusses the programming of NNM to poll Agents and the configuration of events based on the results of the poll.
1. Choose Options:Data Collection & Thresholds: SNMP
2. Choose Edit > Mib Object > New
3. Select the desired object, say
Figure 7 - Data Collection and Thresholds
This starts the NNM Collection Modification Manager:
Figure 8 - Collection Modification
The following events can be configured:
- Source: the agent to which the poll will be directed.
- Collection Mode: a combination of store or don't store and check threshold ordon?t check threshold.
- Polling interval: the period to poll the agent.
- Instances: for devices reporting multiple instances of an OID, instances can be included or excluded.
- Threshold Parameters: the values that will trigger threshold and rearm events.
- Configure Threshold and Rearm Events: the events executed when threshold and rearm conditions are satisifed.
This document presents an overview of solutions for managing the eDirectory server. Major and minor alarms will result in SNMP trap alarms being dropped from the eDirectory server to the trap destination to which it is configured to send traps.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com