Nagios Core logins with XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Nagios Core logins with XI

Post by uidaho »

I am having trouble where some users are not able to use their XI username/passwords to login into Nagios Core web interface.

Nagios core still has some very useful functionality that is not in Nagios XI. In particular, the ability to view the resultant configurations for all hosts and services (http://nagios01/nagios -> Configuration -> Services). We heavily use templates and hostgroups. It is very useful for us to expose the resultant configs to all of the systems administrators. It is a great tool for troubleshooting a broken monitor.

However, some of the users are not able to log into core. Their username/password works fine in the XI web interface, but not through with the core web interface.

How can I troubleshoot this? How does Core use the XI accounts to authenticate? Does XI drop the accounts/passwords to a .htaccess file somewhere?

Any tips would be greatly appreciated.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Nagios Core logins with XI

Post by BanditBBS »

I think when creating the XI user you need to make sure and check the box "Create as monitoring contact" also. Without that, they'd have no access to Core.

I never tested this though, so don't believe anything I just said, it's just a thought.

EDIT: See the next post for a proper answer as apparently I was wrong...so basically, ignore me :)
Last edited by BanditBBS on Fri Oct 11, 2013 1:21 pm, edited 1 time in total.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Core logins with XI

Post by slansing »

You can create new users without specifying a monitoring contact. Are these users normal users or admins? Have you logged out of the xi interface and back in as one of those users prior to trying to log into core with it? I was not able to reproduce your problem after doing the previous step.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios Core logins with XI

Post by lmiltchev »

slansing is correct - you don't have to create a XI user that is also a monitoring contact. However, you need to log in at least once into the Nagios XI web interface as this new user and accept the license agreement. After this the user will be able to log into the Nagios Core web interface as well.
Be sure to check out our Knowledgebase for helpful articles and solutions!
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: Nagios Core logins with XI

Post by uidaho »

These users were non-admins. I actually did try switching them to admin accounts, but I didn't think to make them log out/back in again.

Solution found - the users must be admins to have access to core. (and must log out/back in to apply the changes to their account).

Thanks!
Locked