Red Hat Directory Server 8.0 Administrator's Guide
agentx-master localhost:705
3.1.2. agent-logdir
The agent-logdir setting specifies the directory where the subagent will write its logfile. For
example:
agent-logdir /var/log
If this parameter is not specified, the agent will write its logfile to the same location as your
subagent configuration file. The logfile will be named ldap-agent.log.
Make sure that the user as whom your subagent is running has write permission to this
directory.
3.1.3. server
The server setting specifies a Directory Server instance that you want to monitor. You must use
one server setting for each Directory Server instance. The subagent requires at least one server
setting to be specified in its configuration file. The server setting should be set to the name of
the Directory Server instance you would like to monitor. For example:
server slapd-phonebook
To monitor multiple Directory Server instances, an additional server parameter in the subagent
configuration file for each instance.
server slapd-phonebook
server slapd-example
server slapd-directory
3.2. Starting the Subagent
Once your master agent is running and you have created your subagent configuration file, start
the subagent. To start your subagent, run the ldap-agent program, specifying the absolute
path to the subagent configuration file as an argument. For example:
ldap-agent /etc/dirsrv/config/ldap-agent.conf
To enable extra debug logging, specify the -D option during startup:
ldap-agent -D /etc/dirsrv/config/ldap-agent.conf
Starting the Subagent
455