/usr/local/nagios/var/rw/nagios.cmd

 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.

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. 
nagios

意思是运行用户要有对文件写的权限. 权限应该设置在目录/usr/local/nagios/var/rw/上,因为每次文件的内容被处理后文件就会被删掉. 处理方法如下

修改权限和组,查看能不能进行解决.在设置755时,好像不行.最后 直接777

你可能感兴趣的:(linux,nagios,nagios)