Problems on Core 4.3.0
- pelicanmedia
- Posts: 22
- Joined: Wed Feb 22, 2017 5:32 am
- Location: Colchester, Essex, UK
- Contact:
Problems on Core 4.3.0
Hi,
I am having the same issue, as described here. I have just updated following the instructions for upgrading Nagios Core 4 here https://assets.nagios.com/downloads/nag ... ading.html
Main home page shows: URL to any of the Current Status pages shows: Location of status.cgi shows: Running Nagios on CentOS release 6.8 (Final).
Thanks
Moderator's Note: Topic was split/modified.
I am having the same issue, as described here. I have just updated following the instructions for upgrading Nagios Core 4 here https://assets.nagios.com/downloads/nag ... ading.html
Main home page shows: URL to any of the Current Status pages shows: Location of status.cgi shows: Running Nagios on CentOS release 6.8 (Final).
Thanks
Moderator's Note: Topic was split/modified.
- pelicanmedia
- Posts: 22
- Joined: Wed Feb 22, 2017 5:32 am
- Location: Colchester, Essex, UK
- Contact:
Re: Problems on Core 4.3.0
The same issue as in this post https://support.nagios.com/forum/viewto ... =7&t=42587
Moderator decided to split 2 topics with identical issues
Moderator decided to split 2 topics with identical issues
Re: Problems on Core 4.3.0
It looks like we forgot to update that https://assets.nagios.com/downloads/nag ... ading.html page. See the UPGRADING file in the tar ball. I'll see about getting the web page updated.
Re: Problems on Core 4.3.0
Hi jfrickson,
I don´t undestand what you mean. I red an Upgrade file and there are these 2 things.
1st about "corewindow". It is not relevant to this issue.
2nd is about Login and Logout function, but I don´t want to use this function. It this relevant to my issue? Changing of nagios.conf solve the issue described below?
Thanks, Petr
I don´t undestand what you mean. I red an Upgrade file and there are these 2 things.
1st about "corewindow". It is not relevant to this issue.
2nd is about Login and Logout function, but I don´t want to use this function. It this relevant to my issue? Changing of nagios.conf solve the issue described below?
Thanks, Petr
Re: Problems on Core 4.3.0
Yes, it's related to #2. If you really don't want login/logout just add a ScriptAlias /nagios/cgibin "/usr/local/nagios/sbin" to the nagios.conf file.Petr M. wrote:Hi jfrickson,
I don´t undestand what you mean. I red an Upgrade file and there are these 2 things.
1st about "corewindow". It is not relevant to this issue.
2nd is about Login and Logout function, but I don´t want to use this function. It this relevant to my issue? Changing of nagios.conf solve the issue described below?
Re: Problems on Core 4.3.0
Just out of curiosity, is there any particular reason you don't want these?Petr M. wrote:2nd is about Login and Logout function, but I don´t want to use this function.
Re: Problems on Core 4.3.0
Hi jfrickson,
All nagios users in our company are logged in to Nagios 24/7. Due to the fact there is no reason to use logout function.
Can you share step by step manual how to fix both issues in the screenshots from 1st post please?
I'm not sure if I good understood what must be changed after I make an upgrade to 4.3.0.
Thanks ,Petr
All nagios users in our company are logged in to Nagios 24/7. Due to the fact there is no reason to use logout function.
Can you share step by step manual how to fix both issues in the screenshots from 1st post please?
I'm not sure if I good understood what must be changed after I make an upgrade to 4.3.0.
Thanks ,Petr
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Problems on Core 4.3.0
It depends on what OS you are running, but some (potentially modified) version of the below. It's apache2 instead of httpd for Debian, for example. There's also no conf.d on Debian.
https://support.nagios.com/kb/article.php?id=96 hasn't been rewritten for 4.3.0, but it may help give you some clues depending on your OS. If you aren't comfortable with the apache configs on your OS, it might be wise to wait until we upgrade the documentation.
Of course, we generally assume apache, but Core will run on other web servers. We just don't proviced instructions for those.
https://support.nagios.com/kb/article.php?id=96 hasn't been rewritten for 4.3.0, but it may help give you some clues depending on your OS. If you aren't comfortable with the apache configs on your OS, it might be wise to wait until we upgrade the documentation.
Code: Select all
cd /etc/httpd/conf.d;
cp nagios.conf nagios.conf.bak
cd /<the nagios build directory>
make install-webconf
service restart httpd
Re: Problems on Core 4.3.0
On a stock ubuntu 16.04 install, those instructions produce the following upon execution:
#service apache2 restart
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
apache2[22876]: AH00526: Syntax error on line 23 of /etc/apache2/sites-enabled/nagios.conf:
apache2[22876]: Invalid command 'AuthFormLoginRequiredLocation', perhaps misspelled or defined by a module not included in the server configuration
apache2[22876]: Action 'configtest' failed.
apache2[22876]: The Apache error log may have more information.
So... what module/package does 4.3 now require to be installed to make this work?
--C
#service apache2 restart
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
apache2[22876]: AH00526: Syntax error on line 23 of /etc/apache2/sites-enabled/nagios.conf:
apache2[22876]: Invalid command 'AuthFormLoginRequiredLocation', perhaps misspelled or defined by a module not included in the server configuration
apache2[22876]: Action 'configtest' failed.
apache2[22876]: The Apache error log may have more information.
So... what module/package does 4.3 now require to be installed to make this work?
--C
Re: Problems on Core 4.3.0
Centos 7 here, same problem
I have installed mod_session and now I get an error message about something else
AH00526: Syntax error on line 28 of /etc/httpd/conf.d/nagios.conf:
Feb 23 09:56:46 nagios httpd[945]: Invalid command 'SessionCryptoPassphrase', perhaps misspelled or defined by a module not included in the ...iguration
Feb 23 09:56:46 nagios systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Maps are not working for me either anymore:
Last Updated: {{lastUpdate | date:'EEE MMM dd HH:mm:ss yyyy'}}
Nagios® Core™ {{json.data.programstatus.version}} - www.nagios.org
Updated every {{updateInterval}} seconds
Logged in as {{json.result.user}}
Warning: Monitoring process may not be running!
Click here for more info.
- Notifications are disabled
- Service checks are disabled
I have installed mod_session and now I get an error message about something else
AH00526: Syntax error on line 28 of /etc/httpd/conf.d/nagios.conf:
Feb 23 09:56:46 nagios httpd[945]: Invalid command 'SessionCryptoPassphrase', perhaps misspelled or defined by a module not included in the ...iguration
Feb 23 09:56:46 nagios systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Maps are not working for me either anymore:
Last Updated: {{lastUpdate | date:'EEE MMM dd HH:mm:ss yyyy'}}
Nagios® Core™ {{json.data.programstatus.version}} - www.nagios.org
Updated every {{updateInterval}} seconds
Logged in as {{json.result.user}}
Warning: Monitoring process may not be running!
Click here for more info.
- Notifications are disabled
- Service checks are disabled