Alternative Nagios Authentication Methods
Posted: Sat Apr 11, 2015 5:48 pm
I would like to use an authentication method other than the native Nagios local authentication or AD/LDAP. I have examined the AD/LDAP code but was wondering if there were any documents related to how one might do this.
My concern is that the AD/LDAP component, having been written by Nagios, takes advantage of integration that only Nagios can provide within the encrypted PHP code. In other words, if I were to simply use the AD/LDAP component structure, but insert an alternative authentication method that would operate in the same manner as the active_directory_component_check_authentication function, would it even work?
For example, if my code's logic during a successful authentication sets would Nagios XI accept that and let the user in?
My concern is that the AD/LDAP component, having been written by Nagios, takes advantage of integration that only Nagios can provide within the encrypted PHP code. In other words, if I were to simply use the AD/LDAP component structure, but insert an alternative authentication method that would operate in the same manner as the active_directory_component_check_authentication function, would it even work?
For example, if my code's logic during a successful authentication sets
Code: Select all
$cbargs["login_ok"]=1;