Bug 56515 - Add monitoring for Samba/AD with mdb backend (free pages)
Add monitoring for Samba/AD with mdb backend (free pages)
Status: NEW
Product: UCS
Classification: Unclassified
Component: Monitoring (Prometheus or Nagios)
UCS 5.0
Other Linux
: P3 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-09-01 15:15 CEST by Andreas Peichert
Modified: 2023-09-01 19:32 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
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?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Peichert univentionstaff 2023-09-01 15:15:42 CEST
Currently Samba4 has by default "backend = tdb" configured, and optionally one could migrate to "lmdb" with a help article and a script
https://help.univention.com/t/pre-update-checks-for-ucs-5-0-0-aborts-warning-about-a-very-large-samba-tdb-database/18014

For newly planned very large environments of our enterprise customers, we should consider to have an option for new rollouts to start direct with lmdb, i.e. by setting some UCRv in front of the installation of the samba4 app. This way tdb could still be the default.

- configure backend TDB to LMDB (in front of the setup)
- configure maximum LMDB database size
- monitoring for LMDB (Nagios / prometheus)

https://wiki.samba.org/index.php/Using_the_lmdb_database_backend
Comment 1 Arvid Requate univentionstaff 2023-09-01 19:31:51 CEST
> - configure backend TDB to LMDB (in front of the setup)
> - configure maximum LMDB database size

Done via Bug #56401

- monitoring for LMDB (Nagios / prometheus)

TODO, I'll adjusted the subject of the bug accordingly.

I guess it could be similar to this check:

/usr/lib/nagios/plugins/check_univention_slapd_mdb_maxsize