[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Monitoring openldap (generating statistics)
- To: Kevin Appel <kappel@clunet.edu>
- Subject: Re: Monitoring openldap (generating statistics)
- From: James Wilson <james.wilson77@gmail.com>
- Date: Wed, 8 Dec 2004 11:47:56 +1030
- Cc: openldap-software@OpenLDAP.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=XRp+V2McEoQnjdzzABqgFgbk0lGnNsncxXSTTDHD5nQjUxaOPOJnZdZtJl+yvNJqSnDsg+tpydXAoi5Ruk/XIGmHB+yBCJwNEdumJrDkIlfxSbnBxd19WYu0k5rYjqVOA9NRuS2f/MztFzW7DMgdLEK/OGoXLa68HDQbY/LdWp0=
- In-reply-to: <200412080056.iB80uN6v027295@mscan.clunet.edu>
- References: <7c9bbd3304120716477e6e7c94@mail.gmail.com> <200412080056.iB80uN6v027295@mscan.clunet.edu>
Kevin,
You're right, OpenLDAP doesn't communicate over SNMP (to my knowledge
anyway). But what you can do is in your snmpd.conf file is assign a
command line to an snmp oid (dont know the exact terminology i think
thats close).
Check out this page for more detailed howto
http://www.int-evry.fr/mci/user/procacci/Doc/monitor-snmp-ldap-rrd-en.html
Basically i just adapted this config to fit our environment, although
the monitor-jp.pl script talked about in here needed to be modified
slightly for OpenLDAP 2.2 and our setup.
MRTG sample from our setup is below:
Target[ldapOperations]:
.1.3.6.1.4.1.2021.8.1.101.41&.1.3.6.1.4.1.2021.8.1.101.47:public@localhost
Options[ldapOperations]: growright, nopercent, noinfo
Title[ldapOperations]: LDAP Operations - Total vs Search
PageTop[ldapOperations]: <H1>LDAP Operations - Total vs Search</H1>
MaxBytes[ldapOperations]: 1000000
YLegend[ldapOperations]: # ops
ShortLegend[ldapOperations]: ops
LegendI[ldapOperations]: Total
LegendO[ldapOperations]: Search
Legend1[ldapOperations]: Total
Legend2[ldapOperations]: Search
James
On Tue, 7 Dec 2004 16:56:12 -0800, Kevin Appel <kappel@clunet.edu> wrote:
>
> Hi James,
>
> I am familiar with MRTG and currently use it to monitor various servers such
> as printers and servers. How do you configure the mrtg to be able to
> communicate with the openldap server since the mrtg uses snmp? I wasn't
> under the impression that openldap communicates over snmp. If you have any
> sample mrtg files, it would be greatly appreciated.
>
> Thanks,
>
> Kevin
>
>
>
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of James Wilson
> Sent: Tuesday, December 07, 2004 4:48 PM
> To: Kevin Appel
> Cc: openldap-software@OpenLDAP.org
> Subject: Re: Monitoring openldap (generating statistics)
>
> Hi,
>
> We are using OpenLDAP 2.2.13 and successfully monitor the backend with
> MRTG graphs. There is much more you can do, we just havn't gotten
> around to it. If you need pointers. Let me know!
>
> Cheers,
>
> James
> -----------------------------------------------
> Senior Systems Engineer
> MCP+I, MCSE, RHCE, CCA
> CSM Technology Adelaide
> ph: 08 8418 7804
> fax: 08 8418 7820
> email: james.wilson@csm.com.au
> internet: http://www.csm.com.au
> -----------------------------------------------
>
> On Tue, 7 Dec 2004 16:15:26 -0800, Kevin Appel <kappel@clunet.edu> wrote:
> >
> >
> >
> > Hello Everyone,
> >
> >
> >
> > I am trying to find a good utility to generate statistics for a openldap
> > server. I have been doing some reading and found there is a built-in
> > monitor in openldap, however I have not been able to successfully search
> it.
> > Is there configuration that needs to take place for the monitor or does
> it
> > happen automatically? In addition, how do I query it to generate stats?
> >
> > If anyone is using another utility that gives them excellent results,
> please
> > include that as well
> >
> >
> >
> > Kevin Appel
> >
> > Systems Administrator
> >
> > Information Systems and Services
> >
> > California Lutheran University
> >
> > 60 West Olsen Road
> >
> > Thousand Oaks, Ca 91361
> >
> > Office: (805)493-3431
> >
> > Fax: (805)493-3842
> >
> > kappel@clunet.edu
> >
> >
> >
> >
>
>