Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:nagios-plugins:check_ldap_monitor_389ds [2019/04/18 11:44]
pcurie created
documentation:nagios-plugins:check_ldap_monitor_389ds [2019/04/21 20:45] (current)
pcurie
Line 6: Line 6:
   * Current connections   * Current connections
   * Total connections   * Total connections
-  * Performance ​information+  * Performance ​informations
  
 With performance data, it allows to create graph to follow evolution of these indicators. With performance data, it allows to create graph to follow evolution of these indicators.
Line 25: Line 25:
 ==== Mandatory Options ==== ==== Mandatory Options ====
   * **-H**: LDAP server hostname or IP, or LDAP URI   * **-H**: LDAP server hostname or IP, or LDAP URI
-  * **-w**: Warning threshold (except for version, currenttime,​ starttime, nbackends types) +  * **-w**: Warning threshold (except for version, currenttime,​ starttime, nbackends, readonly, maxentrycachesize,​ maxdncachesize ​types) 
-  * **-c**: Critical threshold (except for version, currenttime,​ starttime, nbackends types)+  * **-c**: Critical threshold (except for version, currenttime,​ starttime, nbackends, readonly, maxentrycachesize,​ maxdncachesize ​types)
   * **-T**: Type of information to check:   * **-T**: Type of information to check:
     * version: current version of the ldap server     * version: current version of the ldap server
Line 41: Line 41:
     * starttime: time when the server started. The time is displayed in Greenwich Mean Time (GMT) in UTC format.     * starttime: time when the server started. The time is displayed in Greenwich Mean Time (GMT) in UTC format.
     * nbackends: current number of back ends (databases) the server services.     * nbackends: current number of back ends (databases) the server services.
 +  * LMBD cache specific checks, theses needs Directory Manager user (don't do this) or specific ACL for your monitoring user.
 +    * readonly: Indicates whether the database is in read-only mode; 0 means that the server is not in read-only mode, 1 means that it is in read-only mode.
 +    * entrycachehits:​ The total number of successful entry cache lookups. That is, the total number of times the server could process a search request by obtaining data from the cache rather than by going to disk.
 +    * entrycachetries:​ The total number of entry cache lookups since the directory was last started. That is, the total number of search operations performed against the server since server startup.
 +    * entrycachehitratio:​ Ratio that indicates the number of entry cache tries to successful entry cache lookups. This number is based on the total lookups and hits since the directory was last started. The closer this value is to 100%, the better.
 +    * currententrycachecount:​ The number of entries currently present in the entry cache.
 +    * currententrycachesize:​ The total size, in bytes, of directory entries currently present in the entry cache.
 +    * maxentrycachesize:​ The maximum size, in bytes, of directory entries that can be maintained in the entry cache.
 +    * dncachehitratio:​ Ratio that indicates the number of DN cache tries to successful DN cache lookups. This number is based on the total lookups and hits since the directory was last started. The closer this value is to 100%, the better.
 +    * dncachehits:​ The total number of successful DN cache lookups. That is, the total number of times the server could process a search request by obtaining data from the cache rather than by going to disk.
 +    * dncachetries:​ The total number of DNs cache lookups since the directory was last started. That is, the total number of search operations performed against the server since server startup.
 +    * currentdncachecount:​ The number of entries currently present in the DN cache.
 +    * currentdncachesize:​ The total size, in bytes, of directory entries currently present in the DN cache.
 +    * maxdncachesize:​ The maximum size, in bytes, of directory entries that can be maintained in the DN cache.
 +
  
 ==== Other options ==== ==== Other options ====