LDAP / OpenLDAP scripts for response time and operations

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
clement.oudot
Posts: 3
Joined: Wed Jul 06, 2005 9:24 am
Contact:

LDAP / OpenLDAP scripts for response time and operations

#1 Post by clement.oudot » Tue Aug 16, 2005 8:11 am

Hello,

I work a lot with LDAP directories, and for most of the time with OpenLDAP. I wrote two perl scripts for montoring these directories in Cacti.

UPDATE: The scripts are available at LTB project:
http://www.ltb-project.org

You can download them from: http://tools.ltb-project.org/projects/list_files/ltb
Attachments
openldap_operations.png
OpenLDAP operations graph example
openldap_operations.png (16.34 KiB) Viewed 29310 times
openldap_response_time.png
OpenLDAP response time graph example
openldap_response_time.png (6.7 KiB) Viewed 29310 times
Last edited by clement.oudot on Tue Aug 25, 2009 9:04 am, edited 2 times in total.

User avatar
rony
Developer/Forum Admin
Posts: 6016
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

#2 Post by rony » Thu Aug 18, 2005 1:16 pm

Cool, thanks for posting.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]

enelson
Posts: 2
Joined: Thu Aug 04, 2005 5:00 pm
Location: Sacto
Contact:

#3 Post by enelson » Wed Sep 21, 2005 11:35 am

We use this alot here at the ISP I work for to monitor ldap for our mail servers. I had to make a change to the script however in order to allow monitoring of both older and newer versions of openldap that we are running. Seems they display values differently so I've attached the changed version here:

Feel free to remove my cvs tags and comments. We have to have that stuff here internally and I don't wish to take any credit.. it can probably be cleaned up better anyway ;)

Eric

GeerLei
Posts: 3
Joined: Wed Oct 12, 2005 5:36 am

#4 Post by GeerLei » Thu Oct 13, 2005 6:04 am

Hi all. I was trying to use this template to query Active Directory, but without success. I do not get data. Do you have any idea, what could be possibly wrong?

Shoikan
Posts: 2
Joined: Wed Apr 11, 2007 1:15 am

#5 Post by Shoikan » Wed Apr 11, 2007 1:18 am

Folks, these templates can also be used for OpenLDAP > v2.2. See here: http://www.highlandsun.com/hyc/ldapguid ... slapd.html on how to set up slapd to include the monitoring stuff. Obviously, the responsetime template works regardless...

aleto
Posts: 39
Joined: Wed May 25, 2005 3:57 am

#6 Post by aleto » Sat Jun 06, 2009 4:20 pm

Does anyone still have access to these templates? the site is dead..

lozzd
Posts: 30
Joined: Thu Dec 08, 2005 7:13 pm
Contact:

#7 Post by lozzd » Tue Aug 18, 2009 4:46 am

aleto, did you ever find them?

lozzd
Posts: 30
Joined: Thu Dec 08, 2005 7:13 pm
Contact:

#8 Post by lozzd » Tue Aug 18, 2009 9:38 am

I found it!

http://tools.ltb-project.org/projects/list_files/ltb

Available there under "cacti"

clement.oudot
Posts: 3
Joined: Wed Jul 06, 2005 9:24 am
Contact:

#9 Post by clement.oudot » Tue Aug 25, 2009 8:10 am

Thanks for your comments. I've updated the post.

Clément.

Post Reply