How can I access dashboard without authentication? 4.4.3

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
pc2c
Posts: 5
Joined: Sun Jan 20, 2019 11:33 am

How can I access dashboard without authentication? 4.4.3

Post by pc2c »

I want to show the monitor results to a number of (trusted) people.
How is that possible without giving them all a username and password?
I know: it is not really safe.
Nagios Core 4.4.3

Thank you.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: How can I access dashboard without authentication? 4.4.3

Post by benjaminsmith »

Hello @pc2c,

Nagios Core is doesn't support multi tenancy like Nagios XI. However, take a look a this page for adding authenticated contacts:

Authentication And Authorization In The CGIs
https://assets.nagios.com/downloads/nag ... iauth.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
pc2c
Posts: 5
Joined: Sun Jan 20, 2019 11:33 am

Re: How can I access "dashboard" without authentication? 4.4

Post by pc2c »

Thank you. I think I have not been completely clear. (English is not my native language) and maybe the word "dashboard" was a wrong choice. :oops:

The intention is to make the webpage public so that everyone can view the page (/ nagios) without authentication.
No authentication screen is shown.
I know it is possible in Ver3.x.x, but how they did that is not clear to me.

Grz. Rene
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: How can I access dashboard without authentication? 4.4.3

Post by benjaminsmith »

Hi @pc2c,

The reports in Nagios and generated by CGI's and require authentication to view. However, there's an option do to define a default username for access.
If your web server is located in a secure domain (i.e., behind a firewall) or if you are using SSL, you can define a default username that can be used to access the CGIs. This is done by defining the default_user_name option in the CGI configuration file. By defining a default username that can access the CGIs, you can allow users to access the CGIs without necessarily having to authenticate to the web server. You may want to use this to avoid having to use basic web authentication, as basic authentication transmits passwords in clear text over the Internet.
Authentication And Authorization In The CGIs
https://assets.nagios.com/downloads/nag ... iauth.html

Information About The CGIs
https://assets.nagios.com/downloads/nag ... ml#cmd_cgi
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
pc2c
Posts: 5
Joined: Sun Jan 20, 2019 11:33 am

Re: How can I access dashboard without authentication? 4.4.3

Post by pc2c »

It is clear to me now. Thank you very much.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How can I access dashboard without authentication? 4.4.3

Post by scottwilkerson »

pc2c wrote:It is clear to me now. Thank you very much.
Great

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked