Hello, i 'd like to ask a couple of questions for which i haven't been able to find any obvious answers: 1. Is there a way to know the entry cache (slapd.conf cachesize directive) hit ratio? I haven't been able to find any such element in the cn=monitor structure (although the admin can find the current size of the entry and idl cache). 2. Is there a way to aggregate logging and only post operation numbers every 1 minute in the log file? I am not actually interested in each query run on my ldap server (and if i need that i can just set the log-level to Stats in cn=config) but i would like to be able to keep statistics of the server operations. The ideal situation would be for the server to send a sum of the completed operations during a configurable time interval.
Thank you for your time
-- Kostas Kalevras - Network Operations Center National Technical University of Athens http://kkalev.wordpress.com
On Monday 02 February 2009 16:09:49 kkalev wrote:
Hello, i 'd like to ask a couple of questions for which i haven't been able to find any obvious answers:
- Is there a way to know the entry cache (slapd.conf cachesize directive)
hit ratio? I haven't been able to find any such element in the cn=monitor structure (although the admin can find the current size of the entry and idl cache). 2. Is there a way to aggregate logging and only post operation numbers every 1 minute in the log file? I am not actually interested in each query run on my ldap server (and if i need that i can just set the log-level to Stats in cn=config) but i would like to be able to keep statistics of the server operations. The ideal situation would be for the server to send a sum of the completed operations during a configurable time interval.
At least (2) is definitely available in the monitor backend, I think in 2.4, (1) may also ...
For example, I monitor all LDAP server's performance with Hobbit/Xymon and the script avaialble here:
http://staff.telkomsa.net/~bgmilne/hobbit/
Regards, Buchan
--On Monday, February 02, 2009 4:09 PM +0200 kkalev kkalev@gmail.com wrote:
Hello, i 'd like to ask a couple of questions for which i haven't been able to find any obvious answers:
- Is there a way to know the entry cache (slapd.conf cachesize
directive) hit ratio? I haven't been able to find any such element in the cn=monitor structure (although the admin can find the current size of the entry and idl cache). 2. Is there a way to aggregate logging and only post operation numbers every 1 minute in the log file? I am not actually interested in each query run on my ldap server (and if i need that i can just set the log-level to Stats in cn=config) but i would like to be able to keep statistics of the server operations. The ideal situation would be for the server to send a sum of the completed operations during a configurable time interval.
For the second part, why not just query it out of the cn=monitor backend? It keeps track of completed operations.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-software@openldap.org