Nagios GUI defaulted back to older version.
Nagios GUI defaulted back to older version.
Hi,
My Nagios web interface defaulted back to older version automatically. How can i upgrade it back to the new version without having to re-install the Nagisoxi. Please help!
Thanks!
My Nagios web interface defaulted back to older version automatically. How can i upgrade it back to the new version without having to re-install the Nagisoxi. Please help!
Thanks!
You do not have the required permissions to view the files attached to this post.
Re: Nagios GUI defaulted back to older version.
The XI interface can be reached by going to http(s)://nagios_ip/nagiosxi but the old interface is still reachable at http(s)://nagios_ip/nagios. Make sure you're browser is pointing to the correct location.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios GUI defaulted back to older version.
I am using the nagiosxi URL http://NagiosServer/nagiosxi/index.php?
Re: Nagios GUI defaulted back to older version.
Is the URL in the address bar getting redirected? Are you hitting a XI login page at all?
Check /etc/httpd/conf.d/nagiosxi.conf which should contain:
Check /etc/httpd/conf.d/nagiosxi.conf which should contain:
Code: Select all
<Directory "/usr/local/nagiosxi/html">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios XI"
AuthType Basic
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
Require valid-user
Require all granted
</Directory>
Alias /nagiosxi "/usr/local/nagiosxi/html"
# Special configuration to allow .htaccess in custom includes
<Directory "/usr/local/nagiosxi/html/includes/components/custom-includes">
AllowOverride All
Options None
Require all granted
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1 [QSA,NC,L]
</IfModule>As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios GUI defaulted back to older version.
nagiosxi.conf file has similar settings as specified in the example above.
I tried hitting both the URLs
http://NagiosServer/nagiosxi/index.php?
http://NagiosServer/nagios/
you were right about the URL with just nagios pointing to the older version, but in my case nagiosxi is also pointing to the older version.
The only difference i saw in the file you posted above vs what i have on my server is
AuthName "Nagios XI"
AuthType Basic
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
I had the above lines commented in my file.
I tried hitting both the URLs
http://NagiosServer/nagiosxi/index.php?
http://NagiosServer/nagios/
you were right about the URL with just nagios pointing to the older version, but in my case nagiosxi is also pointing to the older version.
The only difference i saw in the file you posted above vs what i have on my server is
AuthName "Nagios XI"
AuthType Basic
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
I had the above lines commented in my file.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios GUI defaulted back to older version.
the Alias line was the same too?
If so, I would recommend you tar up the contents of /etc/httpd/conf.d and send them in for us to have a look at
Code: Select all
Alias /nagiosxi "/usr/local/nagiosxi/html"Re: Nagios GUI defaulted back to older version.
Upload the files that @scottwilkerson asked for as well as this file from the server.
Code: Select all
/etc/httpd/conf/httpd.confBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios GUI defaulted back to older version.
Attaching the conf.d tar ball and the httpd.conf file as requested.
You do not have the required permissions to view the files attached to this post.
Re: Nagios GUI defaulted back to older version.
What version of Nagios XI is installed on the server?
What OS and release is the server running.
Try this, edit the /etc/httpd/conf.d/nagiosxi.conf file and comment out these lines.
Save the settings and restart Apache by running
Then try and login to the XI GUI and let us know what happens.
What OS and release is the server running.
Try this, edit the /etc/httpd/conf.d/nagiosxi.conf file and comment out these lines.
Code: Select all
AuthName "Nagios XI"
AuthType Basic
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
Require valid-user
Require all granted
Require all granted
Require all granted
Require all granted
Require all grantedSave the settings and restart Apache by running
Code: Select all
service httpd restartBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios GUI defaulted back to older version.
Nagios XI 5.2.3
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Tried commenting the lines mentioned, after the httpd restart i started seeing the following message Reverted back the changes to access the gui again. Still seeing the same issue.
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Tried commenting the lines mentioned, after the httpd restart i started seeing the following message Reverted back the changes to access the gui again. Still seeing the same issue.
You do not have the required permissions to view the files attached to this post.