After installing and configuring hosts manually and starting nagios.
I checked localhost/nagios and it worked after authentication
but when I choose a host and click on disabling check for the host and click on commit on next page
it gives me this error,
Error: Could not open command file ‘/var/nagios/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.
Please let me know what could be the issue