LDAP / OpenLDAP scripts for response time and operations
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Wed Jul 06, 2005 9:24 am
- Contact:
LDAP / OpenLDAP scripts for response time and operations
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
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.png (16.34 KiB) Viewed 31298 times
-
- OpenLDAP response time graph example
- openldap_response_time.png (6.7 KiB) Viewed 31298 times
Last edited by clement.oudot on Tue Aug 25, 2009 9:04 am, edited 2 times in total.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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]
[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]
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
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
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...
-
- Posts: 3
- Joined: Wed Jul 06, 2005 9:24 am
- Contact:
Who is online
Users browsing this forum: No registered users and 2 guests