Skip to content

Commit

Permalink
Add support for MDB database information to openldap input (influxdat…
Browse files Browse the repository at this point in the history
  • Loading branch information
quanah authored and idohalevi committed Sep 23, 2020
1 parent 457119b commit f853858
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 f853858

Please sign in to comment.