Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   ldap-agent (http://www.linux-archive.org/fedora-user/712569-ldap-agent.html)

Michael Mercier 10-15-2012 08:00 PM

ldap-agent
 
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@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@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@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@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@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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users


All times are GMT. The time now is 04:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.