I started with 2 completely new and cleanly installed CentOS 7.3.1611 servers. I downloaded and ran the Nagios XI latest installer, then the mod gearman installer both following the PDF installation guides. I then followed the guide for setting up SSL. I followed the 'Authenticating-and-Importing-Users-with-Active-Directory-in-Nagios-XI' guide for the AD/LDAP import:
Login to Nagios XI with the nagiosadmin account.
Select Admin > Manage Users > Add users from LDAP/AD.
Authenticate with the AD Service Account.
Select the users to be imported, then click 'Add Selected Users'.
- Users are located in Accounts > Provisioned > LOCALE > US Citizens
Toggle ALL to select all users, then edit their preferences:
- Change the Date Format to: MM/DD/YYYY HH:MM:SS
Next edit their Security Settings:
Default for regular users should be to check:
- Can (re)configure hosts and services
- Can control all hosts and services
- Can access advanced features
Finally click 'Import'
That brought in the 3 users seen in the screenshot. We're connecting to an AD domain controller - here are the connection settings I entered into XI:
Application Config:
Connection Method: Active Directory
Base DN: DC=hq,DC=corp,DC=viasat,DC=com
Account Suffix: @hq.corp.viasat.com
Domain Controllers: domain controller FQDN removed
Security: SSL
It's a Windows Server domain controller - if you need exact version numbers I can get them from my Windows team.
Code: Select all
[pdevin@wdc1xit01 ~]$ ll /usr/local/nagios/var/objects.cache
-rw-r--r-- 1 nagios nagios 33429 Aug 16 14:44 /usr/local/nagios/var/objects.cache
[pdevin@wdc1xit01 ~]$ ll /usr/local/nagios/etc
total 192
-rw-rw-r-- 1 apache nagios 886 Sep 1 16:51 cgi.cfg
-rw-rw-r-- 1 apache nagios 25913 Sep 6 18:09 commands.cfg
-rw-rw-r-- 1 apache nagios 1316 Sep 6 18:09 contactgroups.cfg
-rw-rw-r-- 1 apache nagios 2951 Sep 6 18:09 contacts.cfg
-rw-rw-r-- 1 apache nagios 1675 Sep 6 18:09 contacttemplates.cfg
-rw-rw-r-- 1 apache nagios 817 Sep 6 18:09 hostdependencies.cfg
-rw-rw-r-- 1 apache nagios 819 Sep 6 18:09 hostescalations.cfg
-rw-rw-r-- 1 apache nagios 837 Sep 6 18:09 hostextinfo.cfg
-rw-rw-r-- 1 apache nagios 1256 Sep 6 18:09 hostgroups.cfg
drwsrwsr-x 2 apache nagios 4096 Sep 6 18:09 hosts
-rw-rw-r-- 1 apache nagios 16082 Sep 6 18:09 hosttemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Sep 6 18:09 import
-rwxrwxr-x 1 apache nagios 5778 Aug 14 15:46 nagios.cfg
-rw-rw-r-- 1 apache nagios 2229 Aug 14 15:40 ndo2db.cfg
-rw-rw-r-- 1 apache nagios 4827 Aug 14 15:40 ndomod.cfg
-rw-rw-r-- 1 apache nagios 7988 Aug 14 15:40 nrpe.cfg
-rw-rw-r-- 1 apache nagios 5345 Aug 14 15:40 nsca.cfg
drwxrwsr-x 4 apache nagios 4096 Aug 15 17:08 pnp
-rwxrwxr-x 1 apache nagios 210 Aug 14 15:37 resource.cfg
-rw-rw-r-- 1 apache nagios 1627 Aug 14 15:40 send_nsca.cfg
-rw-rw-r-- 1 apache nagios 823 Sep 6 18:09 servicedependencies.cfg
-rw-rw-r-- 1 apache nagios 825 Sep 6 18:09 serviceescalations.cfg
-rw-rw-r-- 1 apache nagios 843 Sep 6 18:09 serviceextinfo.cfg
-rw-rw-r-- 1 apache nagios 813 Sep 6 18:09 servicegroups.cfg
drwsrwsr-x 2 apache nagios 4096 Sep 6 18:09 services
-rw-rw-r-- 1 apache nagios 24852 Sep 6 18:09 servicetemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Aug 15 17:08 static
-rw-rw-r-- 1 apache nagios 4943 Sep 6 18:09 timeperiods.cfg
[pdevin@wdc1xit01 ~]$
After importing the users, I created a contact group and a host group both called 'GlobalSolutions'. I added the user account 'jalfaro' to the GlobalSolutions contact group, and when I did not see the GS host group during the host add process I logged into the 'nagiosadmin' account and added the newly defined host to the 'GlobalSolutions' host group thinking that should make it visible to the 'jalfaro' user, however when I logged in as 'jalfaro' again I could not see the new host as I expected.
I'm curious about the 'oddities' - can you expand on that? These are completely new servers that had only an operating system on top of which I ran through the installer documentation so I'm not sure what sort of oddities you would be seeing or what might have caused them. Thanks very much for trying to help!