Skip to content

Commit

Permalink
issue#6992 - Add support for MDB database information
Browse files Browse the repository at this point in the history
Update the OpenLDAP plugin to be able to utilize the new information about the database state available in OpenLDAP 2.4.49 and later
  • Loading branch information
quanah committed Feb 7, 2020
1 parent 62ffd71 commit 704abfa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/inputs/openldap/openldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 704abfa

Please sign in to comment.