nagios.cmd ... "Sorry, you are not authorized ..." -- Argh!

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Fri Jan 10 16:42:01 CET 2003


Not sure this helps you, but make sure your cgi.cfg has these values set
correctly (or as appropriate; these values work for me):
 
authorized_for_system_information=*
authorized_for_configuration_information=*
authorized_for_system_commands=nagiosadmin
authorized_for_all_services=nagiosadmin,guest
authorized_for_all_hosts=nagiosadmin,guest
authorized_for_all_service_commands=nagiosadmin
authorized_for_all_host_commands=nagiosadmin

jc

-----Original Message-----
From: Olivier Beauchemin (Accolade Group) [mailto:olivier at accoladegroup.net]
Sent: Thursday, January 09, 2003 9:55 PM
To: Jon Lyons; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] nagios.cmd ... "Sorry, you are not
authorized..." -- Argh!


Nope, I don't think that's it. The .htaccess files are already there and
working fine.
 
If I login as X, I see Y and Z hosts/services. If I login as A, I see B and
C hosts/services. That tells me that the basic auth is working. If I login
as a user who does not have privs to see process info, it works: I don't get
access to the process info. The reverse is true if I login with a user that
has privs. So, I'm making the assumption that I've got things configured
properly.
 
As far as I can tell, I've got the privs for the users to hosts/services
config'd properly. I also went line-by-line on the External Command File
Permissions doc, and the privs match the doc, and nagios creates the right
file on a restart. I also restarted httpd, which runs as apache.
 
So, it seems like something I'm seriously missing, or something out of my
control?
 
Olivier

----- Original Message ----- 
From: Jon Lyons <mailto:jlyons30 at yahoo.com>  
To: Olivier Beauchemin (Accolade  <mailto:olivier at accoladegroup.net> Group)
; nagios-users at lists.sourceforge.net
<mailto:nagios-users at lists.sourceforge.net>  
Sent: Thursday, January 09, 2003 10:21 PM
Subject: Re: [Nagios-users] nagios.cmd ... "Sorry, you are not
authorized..." -- Argh!


Probably need to re-read the web interface setup, try coping your .htaccess
file to the cgi-bin directory... 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030110/dd76ac03/attachment.html>


More information about the Users mailing list