<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=529372916-12092003><FONT face=Arial color=#0000ff size=2>Did 
you check out your cgi.cfg in /whereever nagios is/etc/?  Make sure you 
have the user you are logged in as on the Web GUI specified for access or a '*' 
meaning all users.</FONT></SPAN></DIV>
<DIV><SPAN class=529372916-12092003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=529372916-12092003><FONT face=Arial color=#0000ff 
size=2>-Keith</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  Rick_Blair@fws.gov [mailto:Rick_Blair@fws.gov] <BR><B>Sent:</B> Friday, 
  September 12, 2003 11:20 AM<BR><B>To:</B> 
  nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] CGI 
  permissions make me mad also! HELP!!!!<BR><BR></FONT></DIV><BR><FONT 
  face=sans-serif size=2>When I try to access the CGI from the link on the 
  nagios web page I am getting the error:</FONT> <BR><BR><FONT 
  face="Times New Roman" size=3>              
                        
      It appears as though you do not have permission to view 
  information for any of the hosts you requested...</FONT> 
  <DIV align=center><BR><FONT face="Times New Roman" size=3>If you believe this 
  is an error, check the HTTP server authentication requirements for accessing 
  this CGI<BR>and check the authorization options in your CGI configuration 
  file.</FONT></DIV><BR><BR><BR><FONT face=sans-serif size=2>I have been running 
  nagios 1.0 for 5 months on Red Hat 7.3.  I built rpms from the tar 
  balls.</FONT> <BR><BR><FONT face=sans-serif size=2>Everything was working 
  fine.........       Then I upgraded to nagios 1.1, again 
  building the rpms from the tar balls.</FONT> <BR><BR><FONT face=sans-serif 
  size=2>Now I get the    "It appears as though you do not have 
  permission to view information for any of the hosts you requested... "</FONT> 
  <BR><BR><FONT face=sans-serif size=2>Then I down-graded back to nagios 1.0 and 
  I still get the above error!   Even though I am using the <B>same configs 
  from the server that operated for 5 months</B> without any problem!</FONT> 
  <BR><BR><FONT face=sans-serif size=2>I then went to my lab where I now realize 
  I should have started.</FONT> <BR><BR><FONT face=sans-serif size=2>I installed 
  nagios 1.0 on one server and 1.1 on another and moved over all of my configs. 
      Same results!!!</FONT> <BR><BR><FONT face=sans-serif size=2>Here 
  are the possibe problems I have investigate:</FONT> <BR><BR><FONT 
  face=sans-serif size=2>1.  .htaccess works on the main web page so I have 
  to assume it also works for the CGI directory since I see no error messages 
  for httpd.  I have had our web developer look at my Apache configs to 
  make sure I am not crazy!!  He says my Apache configs are fine.</FONT> 
  <BR><BR><FONT face=sans-serif size=2>2.  If I run the CGI scripts from 
  the command line using <B>my username</B>,  they generate <B>html source 
  that can be loaded into a browser and successfully viewed</B> with all the 
  ouput and no error.   So I assume that my cgi.cfg file, <B>which I 
  haven't touched!</B>  is <B>still </B>correct.</FONT> <BR><BR><FONT 
  face=sans-serif size=2>3. I have toyed around with the permisions for the 
  directory which contains the nagios.cmd file.  I have followed the on 
  line documentation step by step in this regaurd and I still get the same 
  results.</FONT> <BR><BR><FONT face=sans-serif size=2>4. The only conclusion I 
  can come to is a file permission somewhere.  I have made all of my CGIs 
  755 and everything is owned by nagios:apache.  In my lab environment I 
  have experimented with every possible combination of permissions, turning off 
  authentication, using the nagiocmd group with apache and nagios as members as 
  suggested by the documentation etc. etc. etc. etc..</FONT> <BR><BR><FONT 
  face=sans-serif size=2>Meanwhile <B>nagios is running and collecting its 
  data</B> though I can not access it via CGI.</FONT> <BR><BR><FONT 
  face=sans-serif size=2><B>Help, Help Help!!!!!!!!</B></FONT> 
  <BR><BR><BR><BR><BR><FONT face=sans-serif size=2>Rick Blair<BR>Network 
  Engineer<BR>USFW<BR>303.202.2687</FONT></BLOCKQUOTE></BODY></HTML>