Configuring the External Command Interface
Volker.Aust at premiere.de
Volker.Aust at premiere.de
Wed Sep 25 09:58:29 CEST 2002
Hi Andrew,
the CGI runs with the user:group of the webserver and this user/group needs
write access to the command file. You can ./configure your Nagios with
--with-command-grp=nagioscmd, create this group and add the webserver user
and user nagios to this group. Then do a make install-commandmode.
-vol
> -----Original Message-----
> From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG]
> Sent: Tuesday, September 24, 2002 6:19 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Configuring the External Command Interface
>
>
> Hi,
>
> I am attempting to configure the External Command Interface
> in order to enable
> checks of all services on a particular host. I clicked on the
> appropriate link
> on the webpage and made sure to check the Enable For Host Too
> option on the next
> page. When I clicked on Commit the following message appeared:
>
> ERROR: COULD NOT OPEN COMMAND FILE
> '/USR/LOCAL/NAGIOS/VAR/RW/NAGIOS.CMD' FOR
> UPDATE!
> THE PERMISSIONS ON THE EXTERNAL COMMAND FILE AND/OR DIRECTORY
> MAY BE INCORRECT.
>
> I checked the rw directory and the permissions are
> drwxrwsr-x 2
> nagios:nagios
> while those for the file itself are
> prw-rw--- 1
> nagios:nagios
>
> The size of the file is 0 bytes.
>
> What permissions are necessary for me to continue? Thanks.
>
>
> -------------------------------------------------------
> 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
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list