Nagios: Difference between revisions

Line 391:
}
</pre>
 
= Troubleshooting =
 
== Nagios.cmd Erros ==
 
If you are getting this error when using service commands:
Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!
 
Run below commands to fix the permissions:
sudo service nagios3 stop
sudo dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw
sudo dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3
sudo service nagios3 start
 
 
<br />