eDirectory has a MIB (Management Information Base) that can help you monitor events. eDirectory events can be published as SNMP traps, which can be configured dynamically. The standard SNMP format is used and as many as 119 traps are supported.
The SNMP traps provide the following statistics:
The MIB can be used with any third-party monitoring console.
You need to use a supported SNMP package for eDirectory On Linux, that would be ncd-snmp-4.2.1-7.rpm or later. Be sure to install the package using YaST or rpm tools.
There are three basic parts to the configuration:
ndsconfig add m <modulename> -a <userFDN> For example: ndsconfig add m snmp a admin.novell
/etc/init.d/snmpd start
/etc/init.d/snmpd stop
/etc/init.d/snmpd status
ndssnmpconfig h [hostname[:port]] p <password> a <userFDN> c <command>
With dynamic configuration, you can:
The subagent module is "NOVLsubag". It is installed as part of eDirectory installation, and it is configured using /etc/ndssnmp/ndssnmp.cfg. You must include the path of the trusted root certificate file SSLKEY.
The sub-agent monitors only the server on same machine. It limits additional network traffic, and it works with the master agent that is available with OS. Note that the SNMP version is subject to the supported version of the OS. The sub-agent also requires user credentials.
The trap module is "NOVLsnmp". It can:
To set up the trap module, use iManager or the ndssnmpcfg utility. The configuration can be shared by multiple servers.
Here is an example:
Trap number 51 ndsChangePassword TRAP-TYPE ENTERPRISE ndsMIB VARIABLES { ndsTrapTime, ndsEventType, ndsResult, ndsPerpetratorName, ndsTransportAddress, ndsProcessID, ndsVerbNumber, ndsEntryName, ndsServerName2 } DESCRIPTION "Changing Password" ::= 51
In addtion, iManager can be used ot set the SNMP Traps.
From a terminal session, enter:
/opt/novell/eDirectory/bin/ndssnmp -l
From a terminal session, enter:
/opt/novell/eDirectory/bin/ndssnmp -u
/var/opt/novell/eDirectory/log/ndssnmpsa.log
You can also see the loading of the module in:
/var/opt/novell/eDirectory/log/ndsd.log Jan 05 11:56:04 Information: SNMP Trap Server for Novell eDirectory 8.8.3 v20212.87 stopped. Jan 05 11:56:08 Information: SNMP Trap Server for Novell eDirectory 8.8.3 v20212.87 started.
/var/log/message
SNMP support in eDirectory 8.7 for Solaris and Linux - Frequently Asked Questions
Sourceforge snmp command-line tool