[389-users] ldap-agent

Mark Reynolds mareynol at redhat.com
Thu Oct 18 14:04:22 UTC 2012


Hi Michael,

What version of 389 are you using?

This looks like  I known issue:

https://fedorahosted.org/389/ticket/319

This was fixed in 1.2.11

Mark

On 10/15/2012 04:00 PM, Michael Mercier wrote:
> Hello,
>
> I am trying to configure ldap-agent with no luck.  I have followed the instructions at:http://directory.fedoraproject.org/wiki/Howto:SNMPMonitoring
>
> NOTE: This system is running 389 under FreeIPA on CentOS 6.3
>
> [root at ipaserver ~]# rpm -qa|grep net-snmp
> net-snmp-5.5-41.el6_3.1.x86_64
> net-snmp-libs-5.5-41.el6_3.1.x86_64
> [root at ipaserver ~]# rpm -qa|grep 389
> 389-ds-base-libs-1.2.10.2-20.el6_3.x86_64
> 389-ds-base-1.2.10.2-20.el6_3.x86_64
> [root at ipaserver ~]# more /etc/dirsrv/config/ldap-agent.conf
> # The agentx-master setting defines how to communicate
> # with the SNMP master agent using the AgentX protocol.
> # The default is to use a UNIX domain socket.  If your
> # master agent is listening on a tcp port for AgentX
> # subagents, use a line like the following:
> #
> # agentx-master localhost:705
> agentx-master /var/agentx/master
>
> # The agent-logdir settings defines where the subagent
> # will write it's logfile.
> agent-logdir /var/log/dirsrv
>
> # 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. 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,  add
> # an additional server parameter for each instance:
> #
> server slapd-MPLS-LOCAL
> server slapd-PKI-IPA
> # server slapd-phonebook
> # server slapd-example
> # server slapd-directory
>
> [root at ipaserver ~]# ldap-agent /etc/dirsrv/config/ldap-agent.conf
> /usr/sbin/ldap-agent: line 56: 17263 Segmentation fault      ${dir}/${COMMAND} "$@"
>
> NOTE: -D provides the same output
>
> snmpd.conf has been minimally modified...
> [root at ipaserver snmp]# diff snmpd.conf snmpd.conf.orig
> 55,57c55,56
> <  #view    systemview    included   .1.3.6.1.2.1.1
> <  #view    systemview    included   .1.3.6.1.2.1.25.1.1
> <  view	systemview	included .1
> ---
>> view    systemview    included   .1.3.6.1.2.1.1
>> view    systemview    included   .1.3.6.1.2.1.25.1.1
> 97,98d95
> <  ## enable agentx for 389
> <  master agentx
>
> Thanks,
> Mike
>
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

-- 
Mark Reynolds
Red Hat, Inc
mreynolds at redhat.com




More information about the 389-users mailing list