Comments in Nagios

Russell Scibetti russell at quadrix.com
Wed Oct 30 16:12:06 CET 2002


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.

-Russell

Jan-Hendrik Palic wrote:

>On Tue, Oct 29, 2002 at 09:06:59AM -0600, Nolan Martin wrote:
>
>>The check_external_commands parameter (in nagios.cfg) must be set to 1
>>(enabled).  It is set to 0 (disabled) by default.
>>
>>Additionally, you will need to enable and use CGI authentication (if
>>not already), otherwise Nagios will warn you that what you are trying to
>>do is a bad idea, and will not (by default) let you actually run the
>>commands.  
>>
>
>yepp that was that .. and setting the right of
>$NAGIOSPATH/var/rw/nagios.cmd from 660 to 666 .....	
>
>	thnx
>
>			Jan
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>

-- 
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038


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


More information about the Users mailing list