Upgrade not workign
Upgrade not workign
Trying to upgrade to XI5 2.0 and it says all is good, but version is still 1.0. I tried it manually as well with same result.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Upgrade not workign
Via UI and as I said manually. I tried both.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Upgrade not workign
All right, was just checking to make sure both methods are showing this. My command line one worked right away. I'll see if I can replicate via GUI.
Former Nagios Employee.
me.
me.
Re: Upgrade not workign
Just to show you:
Code: Select all
[root@iss-chi-nag01 tmp]# wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
--2015-10-08 15:38:26-- http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
Resolving assets.nagios.com... 72.14.181.71
Connecting to assets.nagios.com|72.14.181.71|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz [following]
--2015-10-08 15:38:26-- https://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48440875 (46M) [application/x-gzip]
Saving to: “xi-latest.tar.gz”
100%[==================================================================================================================>] 48,440,875 10.8M/s in 4.5s
2015-10-08 15:38:31 (10.4 MB/s) - “xi-latest.tar.gz” saved [48440875/48440875]
[root@iss-chi-nag01 tmp]# tar xzf xi-latest.tar.gz
[root@iss-chi-nag01 tmp]# cd nagiosxi/
[root@iss-chi-nag01 nagiosxi]# ./upgrade
Checking required prereqs...
Please wait...
OLD VERSION: 510
Saving old crontab to /tmp/nagios.crontab.orig.4...
Removing XI cron jobs...
Saving old crontab to /tmp/root.crontab.orig.4...
Removing XI cron jobs...
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Copying over new XI directory...
Updating NagiosQL...
NAGIOSQL-POST
Patching NDOUtils...
NDOUtils already patched at level 103
Updating sequences...
Could not open input file: /tmp/nagiosxi/nagiosxi/basedir/tools/import_xiconfig.php
Nagios XI Postgres Database Sequence Information
OLD VALUES
--------------
xi_commands_command_id_seq = 433
xi_events_event_id_seq = 9992
xi_meta_meta_id_seq = 9971
xi_options_option_id_seq = 204
xi_sysstat_sysstat_id_seq = 101
xi_usermeta_usermeta_id_seq = 603
xi_users_user_id_seq = 53
NEW VALUES
--------------
xi_commands_command_id_seq = 433
xi_events_event_id_seq = 9992
xi_meta_meta_id_seq = 9971
xi_options_option_id_seq = 204
xi_sysstat_sysstat_id_seq = 101
xi_usermeta_usermeta_id_seq = 603
xi_users_user_id_seq = 53
Installing new PNP templates...
Updating init script...
Enabling large install tweaks...
Fixing config file permissions...
Fixing htpasswd permissions...
Checking group memberships...
Installing new XI templates...
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=2s2cno' -O nagiosql.login--2015-10-08 15:38:49-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”
[ <=> ] 38,054 --.-K/s in 0.04s
2015-10-08 15:38:50 (1.03 MB/s) - “nagiosql.login” saved [38054]
LOGIN SUCCESSFUL!
IMPORTING CONFIG FILES...URL: http://localhost/nagiosxi/includes/components/ccm/
Array
(
[0] => xi_timeperiod_24x7.cfg
)
IMPORTING /usr/local/nagios/etc/import/xi_timeperiod_24x7.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=admin&type=import&importsubmitted=true&chbOverwrite=1&subForm=Import&selImportFile[]=/usr/local/nagios/etc/import/xi_timeperiod_24x7.cfg' -O nagiosql.import.monitoring
--2015-10-08 15:38:50-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.import.monitoring”
[ <=> ] 17,485 48.1K/s in 0.4s
2015-10-08 15:38:51 (48.1 KB/s) - “nagiosql.import.monitoring” saved [17485]
RESETTING PERMS
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=2s2cno' -O nagiosql.login--2015-10-08 15:38:51-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”
[ <=> ] 38,054 --.-K/s in 0.03s
2015-10-08 15:38:52 (1.21 MB/s) - “nagiosql.login” saved [38054]
LOGIN SUCCESSFUL!
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=apply&type=writeConfig' -O nagiosql.export.monitoring
--2015-10-08 15:38:52-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.export.monitoring”
[ <=> ] 15,201 23.5K/s in 0.6s
2015-10-08 15:38:53 (23.5 KB/s) - “nagiosql.export.monitoring” saved [15201]
WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Warning: Service 'Oracle Test' on host 'finqa.j2global.com' has no default contacts or contactgroups defined!
Warning: Service 'Web Transaction' on host 'www.bandits-home-on-the-web.com' has no default contacts or contactgroups defined!
Checked 13 services.
Warning: Host 'finqa.j2global.com' has no default contacts or contactgroups defined!
Warning: Host 'www.bandits-home-on-the-web.com' has no default contacts or contactgroups defined!
Checked 5 hosts.
Checked 2 host groups.
Checked 0 service groups.
Checked 13 contacts.
Checked 3 contact groups.
Checked 282 commands.
Checked 13 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 5 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 13 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 4
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...
Stopping nagios: done.
Starting nagios: done.
Fixing php-mcrypt bug...
Starting httpd:
==================
UPGRADE COMPLETED!
==================
You can access the Nagios XI web interface by visiting:
http://10.160.0.113/nagiosxi/
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Upgrade not workign
Try this link, Bandit: http://assets.nagios.com/downloads/nagi ... 2.0.tar.gz
Former Nagios Employee.
me.
me.
Re: Upgrade not workign
Worked with no problems. xi-latest is still dated Sep 24 when I download it, just noticed that.hsmith wrote:Try this link, Bandit: http://assets.nagios.com/downloads/nagi ... 2.0.tar.gz
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Upgrade not workign
Getting replaced here in a couple minutes 
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Upgrade not workign
This is what I like to hearBanditBBS wrote:Worked with no problems. xi-latest is still dated Sep 24 when I download it, just noticed that.hsmith wrote:Try this link, Bandit: http://assets.nagios.com/downloads/nagi ... 2.0.tar.gz
Former Nagios Employee.
me.
me.