본문 바로가기

monitoring

Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!

320x100

Service Commands 변경할때


Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!

Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd"!




위와 같이 에러가 나타날경우

# dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw

# dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3

# vi /etc/nagios3/nagios.cfg

check_external_commands=1


해주면


정상적으로 수정이 된다.




320x100