Configuring The Subagent; Subagent Configuration File; Agentx-Master; Agent-Logdir - Red Hat DIRECTORY SERVER 7.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Configuring the Subagent

The SNMP subagent included with Directory Server uses the AgentX protocol to
communicate with the SNMP master agent running on your system. You must
make sure that you enable AgentX support on your master agent. This is typically
done by adding a line containing
in the master agent s
agentx master
snmpd.conf
file. For more details on configuring the master agent for AgentX support, refer to
the Net-SNMP website (
).
http://www.net-snmp.org
Configuring the Subagent
The Directory Server SNMP subagent is located in
server_root
.
/bin/slapd/server/ldap-agent

Subagent Configuration File

To use your subagent, you must first create a subagent configuration file. You can
name this file whatever you like and place it wherever you like. This configuration
file is used to specify how to communicate with your master agent, logfile location,
and which Directory Server instances to monitor.

agentx-master

The
setting tells the subagent how to communicate with the SNMP
agentx-master
master agent. If this setting is not specified, the subagent will try to communicate
the the master agent via the Unix domain socket
. This is also
/var/agentx/master
where the Net-SNMP master agent listens for AgentX communications by default.
If you configured your master agent to listen on a different Unix domain socket,
you must use the agentx-master setting for your subagent to communicate with
your master agent. If your master agent were listening on
, the
/var/snmp/agenx
setting would be
. Make sure
agentx-master
agentx-master /var/snmp/agentx
that the user as whom you are running the subagent has the appropriate
permissions to write to this socket.
If the master agent is listening for AgentX communications on a TCP port, you
would have an
setting of
.
agentx-master
agentx-master localhost:705

agent-logdir

The
setting specifies the directory where you want the subagent to
agent-logdir
write its logfile. For example:
agent-logdir /var/log
Chapter 13
Monitoring Directory Server Using SNMP
471

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents