I'm thinking how to monitoring LDAP server. For example I'd like to store every hour the situation of LDAP server and I'd like to respond to question like this
- How many users are active on LDAP?
- How many groups are active on LDAP?
- How many users are blocked on LDAP?
I think to use a script python that run every hour extract LDAP information and save the result on the CSV. Than I'd like to use logstash to load the file in elasticsearch.
Do you konw plug-in ot best practice to do this?