Nagios XI does provide LDAP/AD support from the box, however, it does not integrate with groups or users to LDAP/AD specifically. To circumvent that, we created a script that checks the AD for users and syncs them with Nagios XI.
This repo is supposed to be installed and then work automatically. To install, run the install.sh
. The script takes a couple arguments:
- apikey
- host
- adminFilter
- userFilter
- baseDn
- DC
- ldapServer
From there it creates a cronjob, that runs every hour and creates the configuration file that the python script reads during execution.