Univention Bugzilla – Bug 49291
Improve MDB size check by subtracting the "Free pages" number from the used pages
Last modified: 2021-12-08 17:34:59 CET
Via Ticket#2018081521001625 a customer proposed to improve the calculation for the Nagios MDB size check by subtracting the "Free pages" number from the used pages number output by mdb_stat.
What is the "Free pages" number? I don't see it: # /usr/bin/mdb_stat -e /var/lib/univention-ldap/translog/ Environment Info Map address: (nil) Map size: 2147483648 Page size: 4096 Max pages: 524288 Number of pages used: 2610 Last transaction ID: 10448 Max readers: 126 Number of readers used: 6 Status of Main DB Tree depth: 1 Branch pages: 0 Leaf pages: 1 Overflow pages: 0 Entries: 3
mdb_stat -f /var/lib/univention-ldap/ldap/
Created attachment 10612 [details] Bug49291.patch Here you go
https://git.knut.univention.de/univention/ucs/-/merge_requests/194
univention-nagios.yaml 4df27e453bf0 | Bug #49291: update YAML for univention-nagios 31f6af392457 | Bug #49291: free pages subtracted from used pages univention-nagios (12.0.1-14) 31f6af392457 | Bug #49291: free pages subtracted from used pages
Verified: * Code review * Package update * Functional test * Advisory Minor Advisory fix: 9a00a54815 | Fix trailing whitespace
<https://errata.software-univention.de/#/?erratum=4.4x1123>