<html>
<head>
</head>
<body>
You don't want to set nagios.cmd permissions to 666.  660 is the right setting.
 To be able to use commans in the CGI's, you need to add the user that your
web server runs as to your nagios group.  That way you can have only the
nagios user and group have write permission to the command pipe and no one
else.  It's more secure that way.<br>
<br>
-Russell<br>
<br>
Jan-Hendrik Palic wrote:<br>
<blockquote type="cite" cite="mid:20021030125454.GP27140@billgotchy.de">
  <pre wrap="">On Tue, Oct 29, 2002 at 09:06:59AM -0600, Nolan Martin wrote:<br></pre>
  <blockquote type="cite">
    <pre wrap="">The check_external_commands parameter (in nagios.cfg) must be set to 1<br>(enabled).  It is set to 0 (disabled) by default.<br><br>Additionally, you will need to enable and use CGI authentication (if<br>not already), otherwise Nagios will warn you that what you are trying to<br>do is a bad idea, and will not (by default) let you actually run the<br>commands.  <br></pre>
    </blockquote>
    <pre wrap=""><!----><br>yepp that was that .. and setting the right of<br>$NAGIOSPATH/var/rw/nagios.cmd from 660 to 666 .....     <br><br>    thnx<br><br>                        Jan<br><br><br>-------------------------------------------------------<br>This sf.net email is sponsored by:ThinkGeek<br>Welcome to geek heaven.<br><a class="moz-txt-link-freetext" href="http://thinkgeek.com/sf">http://thinkgeek.com/sf</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/lists/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>