snmpslapd

The Sun Directory Server SNMP agent, snmpslapd, monitors the following processes:

Directory server daemon  

slapd  

Replication server daemon  

slurpd  

The Sun Directory Server SNMP agent collects statistics from these processes, for example, for the number of search requests received.

The kind of statistics an SNMP agent can collect is determined by the Management Information Bases and information objects that it supports. The snmpslapd agent supports the Management Information Bases (MIBs) that are part of the Messaging And Directory MANagement (MADMAN) standard. It also supports an extension to this standard.

The snmpslapd agent supports the Network Services Monitoring MIB (RFC 1565) that applies to all messaging and directory applications. The Network Services Monitoring MIB is composed of two sets of related objects that are organized in two tables:

An application table (applTable)
An association table (assocTable)

The snmpslapd agent returns the values of the objects (also called MIB variables) defined in these MIBs upon request from a management station. As an extension to the MADMAN standard, the snmpslapd agent also provides support for unsolicited event reports, called SNMP traps. When the agent detects an abnormal condition or an operating status change, it sends out a trap.

The possible values for the operating status of LDAP are: up, down, congested, restarting. Traps caused by changes in operating status contain the application name (applName), in this case slapd or slurpd, and the application's operating status (applOperStatus).


Syntax

 
snmpslapd [ -h ] [ -c config-file ] [ -i poll-interval ] [ -l log-file ]\
[ -p port ] [ -s log-size ] [ -T trace-level ]
 

The parameters for this command are:

-h  

Use this option to list all available options.  

-c config-file  

This option allows you to specify the name of the configuration file you want to use instead of the default. You must use the full pathname. The default value for config-file is
/var/opt/SUNWconn/ldap/current/snmpslapd.conf.  

-i poll-interval  

This option allows you to specify the frequency at which the SNMP agent daemon, snmpslapd, checks that the processes it monitors are actually running. The default value for poll-interval is 30 (seconds).  

-l log-file  

This option allows you to specify the name of the log file you want to use instead of the default. You must use the full pathname of the file. The default value for log-file is
/var/opt/SUNWconn/ldap/log/snmpslapd.log.  

-p port  

This option allows you to specify the number of the UDP port that the agent resides on. The default value for port is 161.  

-s log-size  

This option allows you to limit the size of the log file for the agent. The default value for log-size is 10000 (bytes).  

-T trace-level  

This option allows you to specify a trace level between 0 and 4. The value 0 disables the trace facility. The values 1 to 4 included enable the trace facility and the output is sent to standard output. The default value for trace-level is 0.  




Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.