Bug 48617 - Nagios mdb maxsize check to LDAP translog database on amd64
Nagios mdb maxsize check to LDAP translog database on amd64
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Monitoring (Prometheus or Nagios)
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.4-0-errata
Assigned To: Florian Best
Arvid Requate
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-05 16:54 CET by Felix Botner
Modified: 2019-10-08 19:10 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
qa.patch (2.12 KB, patch)
2019-04-10 16:35 CEST, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2019-02-05 16:54:28 CET
We should add a nagios check for the LDAP translog database. 

Maybe just add the test to the existing check_univention_slapd_mdb_maxsize (mdb_stat -e  /var/lib/univention-ldap/translog/)

And while we are at it, just add a test for /var/lib/univention-directory-listener/cache too.
Comment 1 Florian Best univentionstaff 2019-04-05 16:54:36 CEST
univention-nagios (12.0.1-5)
f8abb2c8e5b6 | Bug #48422: Bug #48617: add mdb check for UDL and translog database

univention-nagios.yaml
f8abb2c8e5b6 | Bug #48422: Bug #48617: add mdb check for UDL and translog database
Comment 2 Arvid Requate univentionstaff 2019-04-10 16:35:09 CEST
Created attachment 9963 [details]
qa.patch

Small suggestions from QA attached.

Note: The Nagios overview only shows the first line of the plugin output, but
I guess that's ok, because it outputs errors first. Also, the "Status Information" secion of the details page of the plugin shows all output lines.
Comment 3 Florian Best univentionstaff 2019-04-12 12:55:42 CEST
Thanks, patch applied in:
fe848f867b00 | Bug #48617: enhance output / error handling
Comment 4 Arvid Requate univentionstaff 2019-04-15 16:46:27 CEST
See Bug #48422 Comment 6:

On my updated system UNIVENTION_SLAPD_MDB_MAXSIZE is neither created as nagios/service in udm, nor is the master configured for this check. I think we should do this.
Comment 5 Florian Best univentionstaff 2019-04-15 21:54:12 CEST
OK, added and assign it.

univention-nagios (12.0.1-9)
43767b4c2b55 | Bug #48422: add slapd mdb nagios check in postinst
Comment 6 Arvid Requate univentionstaff 2019-04-15 22:08:22 CEST
Ok, works. I've updated the binary package version in the advisory:

54720cdaf7 | Advisory package version update
Comment 7 Erik Damrose univentionstaff 2019-04-17 14:08:41 CEST
<http://errata.software-univention.de/ucs/4.4/51.html>