Ad Widget

Collapse

Monitoring of LDAP Search Response time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • awlee
    Junior Member
    • Nov 2009
    • 1

    #1

    Monitoring of LDAP Search Response time

    I would like to have Zabbix monitor and track the response time of our ldap servers by submitting a ldapsearch request and time how long the correct response takes to return.

    The command to submit is
    ldapsearch -h 127.0.0.1 -b dc=cpmpany,dc=com -D uid=TestID,ou=accounts,ou=administration,dc=compan y,dc=com -w TestIDPassword uid=TestID dn

    Is this done via a custom script. If it is, what is the Zabbix command to time how long it took the script to execute.

    Thanks in Advance for any hints or advice.
  • zabbix_zen
    Senior Member
    • Jul 2009
    • 426

    #2
    Not Zabbix builtin but you could use,

    ldapExecTime=`/usr/bin/time -f "%U" your_command`

    Comment

    • chliu
      Junior Member
      • Jul 2010
      • 6

      #3
      how about the script

      Comment

      Working...