Nagios web portal not working after upgrading Xubuntu
Posted: Thu Sep 04, 2014 1:14 pm
I had an issue with the Nagios Web Interface not coming up after I upgraded my Xubuntu for 14.04 LTS.
Nagios was working in the background as I was still getting updates via email alerts about my infrastructure.
It seems that that after Xubuntu was upgraded to 14.04, my apache2.conf was reset to default.
So my reference to my nagios.conf was missing.
All I had to do was include my nagios.conf in my apache2.conf and all is working now.
To include your nagios.conf file, edit your apache2.conf file and attach to the bottom (you may need sudo access)
Include /etc/apache2/conf.d/nagios.conf
(your nagios.conf file might be in a different place)
(my apache2.conf file was in /etc/apache2)
I could have added the configs in the nagios.conf in my apache2.conf but it was easier for me just to make reference to the nagios.conf file.
Hopefully this helps someone as it took me a couple of days to figure this one out.
Nagios was working in the background as I was still getting updates via email alerts about my infrastructure.
It seems that that after Xubuntu was upgraded to 14.04, my apache2.conf was reset to default.
So my reference to my nagios.conf was missing.
All I had to do was include my nagios.conf in my apache2.conf and all is working now.
To include your nagios.conf file, edit your apache2.conf file and attach to the bottom (you may need sudo access)
Include /etc/apache2/conf.d/nagios.conf
(your nagios.conf file might be in a different place)
(my apache2.conf file was in /etc/apache2)
I could have added the configs in the nagios.conf in my apache2.conf but it was easier for me just to make reference to the nagios.conf file.
Hopefully this helps someone as it took me a couple of days to figure this one out.