So I tried to submit a manual result, via "Submit passive check result" option in XI interface. And I got this error:
I checked the folder and the file '/usr/local/nagios/var/rw/nagios.cmd' didn't exist. So Following advice found in other topics, I restarted nagios service after a while the passive checks are back working again. However the 'Submit passive check' option still gives the same message. How can I fix this?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.