On Jan 9, 2006, at 8:27 AM, Rafael Bandeira da Costa wrote:

Hello

Your webserver user must have write access on /usr/local/nagios/var/rw directory.
Have you set up the nagios command group, and added the webserver user to that group?

Then you would chown nagios.nagcmd /usr/local/nagios/var/rw and chmod g+x /usr/local/nagios/var/rw.

Just take a close look to adapt it to your needs (nagios homedir, nagios user and nagios command group).

--
Cheers,
Rafael Costa
[EMAIL PROTECTED]
Curitiba / PR / Brasil

I'm also unable to do downtime, but I just get "an error occurred processing your command".  the rw directory is writeable by apache, which is what my server runs as, and the pipe is group writable by apache.  I can't find an error either in the apache logs, nor the nagios logs.


Nelson Serafica escreveu:
Wheneve i tried to schedule downtime, it shows:

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. Read the FAQs on how to setup proper permissions.
An error occurred while attempting to commit your command for processing.


i run "chown -R nagios.nagios <dir-nagios>" just to make sure everything is under nagios user.

i check cgi and put "noc" (coz this is the user that gets in to my web interface)
to have access in all external cgi.

What might be the coz of the problem???

What might be the cause of these problems??


Yahoo! DSL Something to write home about. Just $16.99/mo. or less

Reply via email to