[SOLVED]Remove safeguard

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
User avatar
ruffsense
Posts: 140
Joined: Thu Apr 11, 2013 12:40 am

[SOLVED]Remove safeguard

Post by ruffsense »

How can i remove this safeguard. I use NTLM authentication. So i had to disable cgi authentication.

use_authentication=0

But when i try to Re-schedule the next check of this service (i get this error below). How can i remove are disable it.
______________________________________________________________________________________________________
Sorry Dave, I can't let you do that...


It seems that you have chosen to not use the authentication functionality of the CGIs.

I don't want to be personally responsible for what may happen as a result of allowing unauthorized users to issue commands to Nagios,so you'll have to disable this safeguard if you are really stubborn and want to invite trouble.

Read the section on CGI authentication in the HTML documentation to learn how you can enable authentication and why you should want to.
Last edited by ruffsense on Thu Apr 18, 2013 2:22 am, edited 1 time in total.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Remove safeguard

Post by abrist »

You will have to define a default username with access to the cgis.

From: http://nagios.sourceforge.net/docs/3_0/cgiauth.html
Authentication On Secured Web Servers

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.

Important: Do not define a default username unless you are running a secure web server and are sure that everyone who has access to the CGIs has been authenticated in some manner. If you define this variable, anyone who has not authenticated to the web server will inherit all rights you assign to this user!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
ruffsense
Posts: 140
Joined: Thu Apr 11, 2013 12:40 am

Re: Remove safeguard

Post by ruffsense »

Thnx for pointing me to the wright direction. :)
Locked