LDAP / OpenLDAP scripts for response time and operations

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

Moderators: Developers, Moderators

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

LDAP / OpenLDAP scripts for response time and operations

Post by clement.oudot »

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 graph example
OpenLDAP operations graph example
openldap_operations.png (16.34 KiB) Viewed 31299 times
OpenLDAP response time graph example
OpenLDAP response time graph example
openldap_response_time.png (6.7 KiB) Viewed 31299 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: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

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:

Post by enelson »

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

Post by GeerLei »

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

Post by Shoikan »

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

Post by aleto »

Does anyone still have access to these templates? the site is dead..
lozzd
Posts: 30
Joined: Thu Dec 08, 2005 7:13 pm
Contact:

Post by lozzd »

aleto, did you ever find them?
lozzd
Posts: 30
Joined: Thu Dec 08, 2005 7:13 pm
Contact:

Post by lozzd »

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:

Post by clement.oudot »

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

Clément.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests