I have just reconfigured the Apache settings in Nagios to require authentication based upon Active Directory groups using LDAP to authenticate the users. What I realise I also need to do is update the authorized_for variables accordingly.
What I would like to have is different AD security groups configured for different levels of access so my engineers can perform the required tasks on Nagios as needed but I don’t want to have to add each of them in manually/update as people move within the company.
I reckon I can create the contacts file by using some openldap scripts to produce the individuals that I want but I need to update the cgi.cfg as well. Can this be done by using template contacts or is that not possible?
Help/guidance is much appreciated.