Giter VIP home page Giter VIP logo

Comments (13)

coudot avatar coudot commented on June 11, 2024 2

@imejri as told by Paul, limits depend on your system settings (RAM/CPU/Network bandwith/...)

For current connections, I suggest to put a warning at 500 and a critical at 800. OpenLDAP could handle more than 1000 established connections but this can impact performances.

from nagios-plugins.

coudot avatar coudot commented on June 11, 2024 1

You can indeed have a lot of connections referenced in cn=monitor, that are alive but non used. But if only LL::NG connects to your LDAP, it is not normal, you need to see which applications are opening connections and not closing them.

On the other side, if you don't experience any performance problem, you can adapt your monitoring thresholds.

from nagios-plugins.

coudot avatar coudot commented on June 11, 2024 1

The default is 5 and seems a good value.

from nagios-plugins.

sophieqc avatar sophieqc commented on June 11, 2024

Hello,

Are you talking about "check_ldap_monitor.pl" ? If so, this script can check multiple things with different thresholds, also thresholds depends on your specific architecture and its limits and what level of service you want to achieve.

Please check the documentation : https://ltb-project.org/documentation/nagios-plugins/check_ldap_monitor

from nagios-plugins.

imejri avatar imejri commented on June 11, 2024

thank you pcurie,
for an ldap directory with 50000 entry , with an mdb backend. what is the best choice of this thresholds?
you now a benchmark the ca i help me please?
thx very much

from nagios-plugins.

sophieqc avatar sophieqc commented on June 11, 2024

You didn't specify witch check you want to use in this script ?

For benchmarking I would recommend "ldclt", this tool comes with 389DS directory but can be used against any LDAP directory.

from nagios-plugins.

imejri avatar imejri commented on June 11, 2024

hi paul,
i want to check the currentconnexions.

from nagios-plugins.

sophieqc avatar sophieqc commented on June 11, 2024

Okay so the ideal values for that would depend on your configuration/resources, i can't give you a number even if you told me, you need to run a benchmark to see how much your machine/vm can handle.

Hope that helps

from nagios-plugins.

imejri avatar imejri commented on June 11, 2024

@coudot in my case i have more the 1500 connections !!! i have a database with 50000 users/applications that connect with a web sso LemonLdap ! i don't now if this is a normal behavior ??

from nagios-plugins.

imejri avatar imejri commented on June 11, 2024

thank you @coudot

from nagios-plugins.

imejri avatar imejri commented on June 11, 2024

hi,
in ldap_time_response , how many threads can i use ?

from nagios-plugins.

imejri avatar imejri commented on June 11, 2024

this command gives me:
ps -axH |grep slapd|wc -l
19
does mean that i have 19 threads for my slapd daemon ?

and an ldapsearch on the monitor database gives me: cn=max,cn=threads,cn=monitor

cn: max
monitoredInfo: 16

from nagios-plugins.

coudot avatar coudot commented on June 11, 2024

Hello @imejri

I close this issue, it seems you got all needed answers.

from nagios-plugins.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.