fix log file location for ubuntu
fix nagios3 directory permission issue