https://bugs.openldap.org/show_bug.cgi?id=9661
Issue ID: 9661 Summary: How to monitor an LDMB file for being pretty full Product: LMDB Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: liblmdb Assignee: bugs@openldap.org Reporter: dpa-openldap@aegee.org Target Milestone: ---
https://ltb-project.org/documentation/nagios-plugins/check_lmdb_usage provides a Nagios plugin, to check how full/free a LMDB database is. It calls mbd_stat -ef, and parses from the output the numbers in the “Max pages:”, “Number of pages used:”, and “Free pages:” lines.
With these numbers it calculates “the percent of used pages” or “the percent of free pages” and signals the status with return values 0 -OK, 1 - warning, or 2 - critical . The disadvantage of check_lmdb_usage is, that it requires perl.
Do you recommend to monitor the absolute number of free pages, the relative number of free pages, the absolute number of used pager, or the relative number of used pages?
Please extend mdb_stat to be suitable for monitoring the fullness of a LMDB directory - accept parameters of for a warning and critical threshold, and a parameter on how to calculate the criterion (A - based on absolute number of free pages, B - relative number of free pages, C - absolute number of used pages, or D - relative number of used pages).
https://bugs.openldap.org/show_bug.cgi?id=9661
--- Comment #1 from Michael Ströder michael@stroeder.com --- This is rather a usage question and not a bug.
Usage questions should be asked on openldap-technical mailing list.
https://www.openldap.org/lists/
https://bugs.openldap.org/show_bug.cgi?id=9661
--- Comment #2 from Michael Ströder michael@stroeder.com --- Just for the records: - ITS#7770 was implemented in release 2.4.48 - ITS#9154 was implemented in release 2.4.49
https://bugs.openldap.org/show_bug.cgi?id=9661
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
https://bugs.openldap.org/show_bug.cgi?id=9661
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED