Looks like I told you the old directory: https://help.ubuntu.com/14.04/serverguide/httpd.htmlshaunie1975 wrote:I ran the ./configure aswhich didnt work...Code: Select all
./configure --with-command-group=nagcmd --with-httpd-conf=/etc/apache2/conf.d
Sorry about that. So in the future we should be able to do it automatically with:conf-available: this directory contains available configuration files. All files that were previously in /etc/apache2/conf.d should be moved to /etc/apache2/conf-available.
Code: Select all
./configure --with-command-group=nagcmd --with-httpd-conf=/etc/apache2/conf-availableThis probably means the Nagios server isn't running. We can check that with:shaunie1975 wrote:Now when I login I see the nagios core and the logo then below that i see a red X and not running next to it.
Code: Select all
[root@core]# service nagios status
No lock file found in /usr/local/nagios/var/nagios.lock
Code: Select all
[root@core]# service nagios start
Starting nagios: done.
[root@core]# service nagios status
nagios (pid 6224) is running...Code: Select all
[root@core]# chkconfig --list nagios
nagios 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Code: Select all
chkconfig --add nagios