How to disable Authentication in NAGIOSXI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
shaheazali
Posts: 7
Joined: Sun May 12, 2019 4:01 am

How to disable Authentication in NAGIOSXI

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to disable Authentication in NAGIOSXI

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
shaheazali
Posts: 7
Joined: Sun May 12, 2019 4:01 am

Re: How to disable Authentication in NAGIOSXI

Post 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'
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to disable Authentication in NAGIOSXI

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
shaheazali
Posts: 7
Joined: Sun May 12, 2019 4:01 am

Re: How to disable Authentication in NAGIOSXI

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to disable Authentication in NAGIOSXI

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked