Page 1 of 1

How to disable Authentication in NAGIOSXI

Posted: Mon May 27, 2019 2:28 am
by shaheazali
Hi,

I want to integrate Atlassian CROWD with NagiosXI to authenticate the users from CRWOD. As nagios is not providing any support or plugin to integrate nagiosxi with atlassian CROWD. I myself i have create intermediate php app with REST API to CROWD for login by authentication from CROWD. However, Once the user is authenticated successfully, we need to redirect the user to nagios monitoring page. so how can i disable the nagios authentication completely in nagiosXI . In Nagios core it was easy just by changing the configs but in nagiosxi is it not allowing me to disable the authorization/authentication completely.

Re: How to disable Authentication in NAGIOSXI

Posted: Tue May 28, 2019 11:57 am
by scottwilkerson
You can turn on auto-login in XI
Admin -> System Config -> Automatic Login

Please note, this allows anyone to login to the XI system as the user you specify without credentials

Re: How to disable Authentication in NAGIOSXI

Posted: Wed May 29, 2019 12:57 am
by shaheazali
Hi,

I did the same by providing autologin to user but nagiosXI allows me to give autologin only to one user, So how can i give autologin to each user in nagiosXI. I want separate autologin for Admin users and non admin users.

can we have 2 different URL's as shown below.
http://nagiosxi_server/nagiosxi/?autologin=1&useralias=nonadmin&password=rWQCRs0qGrIIu8KlNblablablaW7Ioo84S7LGeL0iakORU6QVYUH3utR5'

http://nagiosxi_server/nagiosxi/?autologin=1&useralias=nagiosadmin&password=BLABLABLAIu8KlNblablablaW7Ioo84S7LGeL0iakORU6QVYUH3utR5'

Re: How to disable Authentication in NAGIOSXI

Posted: Wed May 29, 2019 7:00 am
by scottwilkerson
Ok, that's different. If you go to
Admin -> System Settings -> Backwards Compatibility Tab
check "Allow Insecure Logins:"

Then click username in upper right, check "Enable Insecure Login:" and grab "Insecure Login Ticket:"

Then you can log them in like this

Code: Select all

http://SERVER/nagiosxi/?username=nagiosadmin&ticket=TICKET
each username has a different ticket

Re: How to disable Authentication in NAGIOSXI

Posted: Thu May 30, 2019 2:10 am
by shaheazali
Cool, this is what i was looking for it resolved my issue. Now we can authenticate from CROWD and redirect to this URL.

Re: How to disable Authentication in NAGIOSXI

Posted: Thu May 30, 2019 6:37 am
by scottwilkerson
shaheazali wrote:Cool, this is what i was looking for it resolved my issue. Now we can authenticate from CROWD and redirect to this URL.
Great!

Locking thread