Comments (13)
@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.
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.
The default is 5 and seems a good value.
from nagios-plugins.
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.
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.
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.
hi paul,
i want to check the currentconnexions.
from nagios-plugins.
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.
@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.
thank you @coudot
from nagios-plugins.
hi,
in ldap_time_response , how many threads can i use ?
from nagios-plugins.
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.
Hello @imejri
I close this issue, it seems you got all needed answers.
from nagios-plugins.
Related Issues (14)
- Delta CSN is not correct in Syncrepl plugin
- Add entries count in cn=monitor script
- Fix check of deltacsn in check_ldap_syncrepl_status.pl HOT 1
- Extend check_ldap_monitor.pl to calculate the free(used) pages % maximum number of pages, as check_lmdb_usage.pl does HOT 1
- Clarify why the relative sum of used and free pages is not 100% HOT 4
- Use more path to find Nagios utils.pm module
- The module does not UNBIND when closing connections HOT 2
- release 0.9 version of nagios-plugins HOT 1
- lesser and greater mode are inverted
- Tag please HOT 2
- Add an option to use free pages to check LMDB status HOT 2
- check_ldap_monitor.pl give errors in perl 5.20 on debian strech HOT 3
- when check_lmdb_usage cannot find mdb_stat we get a Illegal division by zero HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nagios-plugins.