Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » LDAP query statistics from the server?
LDAP query statistics from the server? [message #397980] Tue, 23 February 2010 06:54 Go to next message
hume.spamfilter  is currently offline hume.spamfilter
Messages: 25
Registered: November 2009
Junior Member
OpenLDAP has an optional "monitor" backend, which exports server performance
stats as a separate tree. ie: cn=Searches,cn=Statistics,cn=monitor has
an attribute containing the number of completed searches done against the
server as a steadily increasing number, and another attribute for the
number currently executing, and so on. It's very handy as a rough monitor
of the usage.

Does AD have anything similar, preferably accessible via plain LDAP calls?
I've read about the STATS control, but that seems to be geared toward
getting stats only about the query it's attached to.

If not via LDAP, perhaps the W2008 R2 SNMP daemon might have something?

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
Re: LDAP query statistics from the server? [message #398040 is a reply to message #397980] Tue, 23 February 2010 07:54 Go to previous messageGo to next message
florian  is currently offline florian  United States
Messages: 484
Registered: July 2009
Senior Member
Howdie!

hume.spamfilter@bofh.ca wrote:
> OpenLDAP has an optional "monitor" backend, which exports server performance
> stats as a separate tree. ie: cn=Searches,cn=Statistics,cn=monitor has
> an attribute containing the number of completed searches done against the
> server as a steadily increasing number, and another attribute for the
> number currently executing, and so on. It's very handy as a rough monitor
> of the usage.
>
> Does AD have anything similar, preferably accessible via plain LDAP calls?
> I've read about the STATS control, but that seems to be geared toward
> getting stats only about the query it's attached to.

You can turn on logging which results in periodically written event log
entries on the domain controller. The stats show inefficient and
expensive search queries only.

You'd probably want to check the Performance Counters on the domain
controller and see what you find there.

Cheers,
Florian
Re: LDAP query statistics from the server? [message #398090 is a reply to message #397980] Tue, 23 February 2010 09:00 Go to previous messageGo to next message
pbbergs  is currently offline pbbergs  United States
Messages: 1024
Registered: July 2009
Senior Member
You need to examine the performance counters, via PerfMon

http://technet.microsoft.com/en-us/library/cc961942.aspx



--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4
Microsoft's Thrive IT Pro of the Month - June 2009

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.

<hume.spamfilter@bofh.ca> wrote in message
news:hm0mmp$f81$1@Kil-nws-1.UCIS.Dal.Ca...
> OpenLDAP has an optional "monitor" backend, which exports server
> performance
> stats as a separate tree. ie: cn=Searches,cn=Statistics,cn=monitor has
> an attribute containing the number of completed searches done against the
> server as a steadily increasing number, and another attribute for the
> number currently executing, and so on. It's very handy as a rough monitor
> of the usage.
>
> Does AD have anything similar, preferably accessible via plain LDAP calls?
> I've read about the STATS control, but that seems to be geared toward
> getting stats only about the query it's attached to.
>
> If not via LDAP, perhaps the W2008 R2 SNMP daemon might have something?
>
> --
> Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
Re: LDAP query statistics from the server? [message #398105 is a reply to message #398040] Tue, 23 February 2010 09:14 Go to previous message
hume.spamfilter  is currently offline hume.spamfilter
Messages: 25
Registered: November 2009
Junior Member
Florian Frommherz [MVP] <florian@frickelsoft.net> wrote:
> You'd probably want to check the Performance Counters on the domain
> controller and see what you find there.

That has exactly what I was after (Directory Services -> LDAP Searches/etc),
thanks!

Now to figure out how to make it accessible.

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
Previous Topic:Can I change the SID for users in 2008 R2?
Next Topic:msi packages of flash, adobe reader and java runtime?
Goto Forum:
  


Current Time: Tue Jan 23 16:43:45 MST 2018

Total time taken to generate the page: 0.04535 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software