<html>
<head>
</head>
<body>
I caught the tail end of this discussion, so I'm just going to offer up a
set of items to double check:<br>
<br>
cgi.cfg:<br>
- use_authenticaion is turned on<br>
- the user that you log into Nagios as (say, nagiosadmin) is given on the
authorized_for_host and authorized_for_service_commands lines<br>
- make sure the main_config_file line is pointed to the right nagios.cfg<br>
<br>
nagios.cmd:<br>
- Set the owner/group for the rw directory and nagios.cmd to whoever owns
the Nagios process (in my case, its owner nagios, group nagios, although
some people have a separate nagioscmd user for the pipe).<br>
- Set the permission to 660 (the command pipe should NEVER be 777 - you don't
want anyone writing arbitrary commands to nagios)<br>
- double checks the perms<br>
<br>
/etc/group:<br>
- Whatever group the command pipe is set to (say nagios), make sure that
the apache user is added to that group<br>
<br>
nagios.cfg:<br>
- Check the path for the command_file line to make sure it goes to the right
place<br>
<br>
Now stop nagios, make sure there are no nagios processes running, and restart
nagios.  Double check to make sure nagios.cmd was created in the right place
and with the right permission (the one's I gave above should be the default).
 I believe I covered everything that needs to be set for this to work.  If
I think of anything else, I'll send another email.<br>
<br>
Sorry if this is all repetitive, just trying to cover all bases.<br>
<br>
Russell Scibetti<br>
Quadrix Solutions<br>
<br>
Olivier Beauchemin (Accolade Group) wrote:<br>
<blockquote type="cite" cite="mid:001601c2b869$ca9aba90$0401a8c0@moscow">
  <pre wrap="">* doesn't work either. I get the same thing.<br><br>... unfortunately, I don't know how to deal with the .c file. If you could<br>point me in the right direction, I'd like to try that route though.<br><br>Thanks,<br>Olivier<br><br>----- Original Message -----<br>From: "Jon Lyons" <a class="moz-txt-link-rfc2396E" href="mailto:jlyons30@yahoo.com"><jlyons30@yahoo.com></a><br><br></pre>
  <blockquote type="cite">
    <pre wrap="">Nope, I'm on the older version!<br>I know there's been a lot of problems with red hat 8.0 lately, not sure if<br></pre>
    </blockquote>
    <pre wrap=""><!---->this is one of them. I think you've got everything setup correctly, I don't<br>have access to my setup so I can't help more. I was just suggesting that you<br>get the lastest version of the cmd.c source fromt the CVS archive(website),<br>maybe there's been a change since 1.0...What happends if you replace<br>nagiosadmin with *  in the cgi.cfg?<br><br><br><br>-------------------------------------------------------<br>This SF.NET email is sponsored by:<br>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!<br><a class="moz-txt-link-freetext" href="http://www.vasoftware.com">http://www.vasoftware.com</a><br>_______________________________________________<br>Nagios-users mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/li
 
sts/listinfo/nagios-users</a><br><br><br></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="$mailwrapcol">-- 
Russell Scibetti
Quadrix Solutions, Inc.
<a class="moz-txt-link-freetext" href="http://www.quadrix.com">http://www.quadrix.com</a>
(732) 235-2335, ext. 7038
</pre>
    <br>
    </body>
    </html>