From e082c8d800942cd749a755afa8101641d873e339 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Wed, 12 Feb 2020 17:33:48 -0800 Subject: [PATCH] Add support for MDB database information to openldap input (#6993) --- plugins/inputs/openldap/openldap.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/inputs/openldap/openldap.go b/plugins/inputs/openldap/openldap.go index a92a37371..2bfbc3fac 100644 --- a/plugins/inputs/openldap/openldap.go +++ b/plugins/inputs/openldap/openldap.go @@ -56,6 +56,12 @@ var attrTranslate = map[string]string{ "monitoredInfo": "", "monitorOpInitiated": "_initiated", "monitorOpCompleted": "_completed", + "olmMDBPagesMax": "_mdb_pages_max", + "olmMDBPagesUsed": "_mdb_pages_used", + "olmMDBPagesFree": "_mdb_pages_free", + "olmMDBReadersMax": "_mdb_readers_max", + "olmMDBReadersUsed": "_mdb_readers_used", + "olmMDBEntries": "_mdb_entries", } func (o *Openldap) SampleConfig() string {