Bug 45685

Summary: No Nagios checks for mdb limit / effective size
Product: UCS Reporter: Michel Smidt <michelsmidt>
Component: LDAPAssignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Arvid Requate <requate>
Severity: normal    
Priority: P5 CC: botner, requate
Version: UCS 4.2   
Target Milestone: UCS 4.2-3-errata   
Hardware: Other   
OS: Mac OS X 10.1   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=39167
What kind of report is it?: Bug Report What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046 Enterprise Customer affected?:
School Customer affected?: Yes ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: 2017110221000521 Bug group (optional): Large environments
Max CVSS v3 score:

Description Michel Smidt 2017-11-09 22:51:24 CET
To monitor larger environments it is necessary to check for the remaining capacity of the mdb database. The customer had several support cases where especially the database maxsize (ldap/database/mdb/maxsize) and listener cache size (listener/cache/mdb/maxsize) were exceeded.
So, it would be very helpful to get Nagios checks for this mdb limits.
E.g. The customer MDB LDAP limit: 12884901888, effective size: 6442450944, full: 50%
Comment 1 Felix Botner univentionstaff 2017-12-18 15:53:54 CET
univention-nagios
 * added new nagios plugin check_univention_slapd_mdb_maxsize 
   (check_univention_slapd_mdb_maxsize_suidwrapper), checks the total and free
   pages of the mdb ldap database (lmdb-utils) and returns warning if 75%
   or critical if 90% of the total pages are in use
 * 26univention-nagios-common.inst
   add new nagios service UNIVENTION_SLAPD_MDB_MAXSIZE
 * 30univention-nagios-client.inst
   add host to UNIVENTION_SLAPD_MDB_MAXSIZE (only dc)
 * not increased join script version, instead added to yaml how to enable the
   plugin for updates

univention-nagios.yaml

merged to 4.3-0
Comment 2 Arvid Requate univentionstaff 2018-02-13 15:12:33 CET
Ok, check and instructions in Advisory work.
Changes are merged to UCS 4.3 too.
Comment 3 Arvid Requate univentionstaff 2018-02-14 13:31:44 CET
<http://errata.software-univention.de/ucs/4.2/289.html>
Comment 4 Felix Botner univentionstaff 2018-03-09 12:15:19 CET
*** Bug 35422 has been marked as a duplicate of this bug. ***