Page 2 of 3

Re: NagiosXI offline upgrade script issues

Posted: Fri Jul 23, 2021 5:09 pm
by brandondash
gsmith wrote:Secondly, you mention you don't download/run the upgrade from /tmp. Where do you run it from
and what user are you running it as?
Thanks
Last post until Monday morning...

I run it from /data and as root. I'll get your the output you asked for next week.

Re: NagiosXI offline upgrade script issues

Posted: Mon Jul 26, 2021 10:04 am
by gsmith
Sounds good.

Thanks!

Re: NagiosXI offline upgrade script issues

Posted: Mon Jul 26, 2021 10:10 am
by brandondash
Looks like Nagios core is going fine. Probably exists elsewhere it seems.
Nagios Core 4.4.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2020-04-28
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Check_Monitor_2003' on host 'CONF2' (config file '/usr/local/nagios/etc/services/ncpa_service.cfg', starting on line 16)
Warning: Duplicate definition found for service 'Check_Monitor_2003' on host 'CONF1' (config file '/usr/local/nagios/etc/services/CONF.cfg', starting on line 16)
Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
Warning: Service 'Check_Chat_Running_Processes' on host 'CHAT1' has no check time period defined!
Warning: Service 'Check_Chat_Running_Processes' on host 'CHAT2' has no check time period defined!
Warning: Service 'Service Status - bbb-record-core.timer' on host 'CONF1' has no check time period defined!
Warning: Service 'Check_Chat_Usage_Total' on host 'NAGIOS1' has no check time period defined!
Warning: Service 'Check_Chat_Usage_Total' on host 'NAGIOS2' has no check time period defined!
Checked 410 services.
Checked 34 hosts.
Checked 19 host groups.
Checked 1 service groups.
Checked 1 contacts.
Checked 2 contact groups.
Checked 166 commands.
Checked 8 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 34 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 8 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 5
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check

Re: NagiosXI offline upgrade script issues

Posted: Mon Jul 26, 2021 10:33 am
by gsmith
Hi

So coming back to this:
The configuration files in /usr/local/nagios/etc/ can have errors preventing the upgrade or the upgrade can complete successfully and cause problems afterwards. Sometimes the error message will explicitly tell you which files or directories to examine but if not or the upgrade completed, the configuration can be checked and detailed output returned with:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Can you cleanup:

Warning: Duplicate definition found for service 'Check_Monitor_2003' on host 'CONF2' (config file '/usr/local/nagios/etc/services/ncpa_service.cfg', starting on line 16)
Warning: Duplicate definition found for service 'Check_Monitor_2003' on host 'CONF1' (config file '/usr/local/nagios/etc/services/CONF.cfg', starting on line 16)
Warning: Service 'Check_Chat_Running_Processes' on host 'CHAT1' has no check time period defined!
Warning: Service 'Check_Chat_Running_Processes' on host 'CHAT2' has no check time period defined!
Warning: Service 'Service Status - bbb-record-core.timer' on host 'CONF1' has no check time period defined!
Warning: Service 'Check_Chat_Usage_Total' on host 'NAGIOS1' has no check time period defined!
Warning: Service 'Check_Chat_Usage_Total' on host 'NAGIOS2' has no check time period defined!

And then run

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Once that comes back with no errors or warnings try running the upgrade again.

Thanks

Re: NagiosXI offline upgrade script issues

Posted: Mon Aug 02, 2021 1:40 pm
by brandondash
OK, errors removed, then upgrade. Here are the results:

Code: Select all

nagiosxi-shellinabox-5.7.3-2.el7.x86_64
nagiosxi-nxti-5.7.3-2.el7.x86_64
perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch
Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Examining fping-3.10-4.el7.x86_64.rpm: fping-3.10-4.el7.x86_64
fping-3.10-4.el7.x86_64.rpm: does not update installed package.
Examining freetds-0.95.81-1.el7.x86_64.rpm: freetds-0.95.81-1.el7.x86_64
freetds-0.95.81-1.el7.x86_64.rpm: does not update installed package.
Examining jwhois-4.0-38.el7.x86_64.rpm: jwhois-4.0-38.el7.x86_64
jwhois-4.0-38.el7.x86_64.rpm: does not update installed package.
Examining libc-client-2007f-16.el7.x86_64.rpm: libc-client-2007f-16.el7.x86_64
libc-client-2007f-16.el7.x86_64.rpm: does not update installed package.
Examining libidn2-2.0.4-4.el7.x86_64.rpm: libidn2-2.0.4-4.el7.x86_64
libidn2-2.0.4-4.el7.x86_64.rpm: does not update installed package.
Examining libmcrypt-2.5.8-13.el7.x86_64.rpm: libmcrypt-2.5.8-13.el7.x86_64
libmcrypt-2.5.8-13.el7.x86_64.rpm: does not update installed package.
Examining nagiosxi-5.8.4-1.el7.x86_64.rpm: nagiosxi-5.8.4-1.el7.x86_64
Package nagiosxi not installed, cannot update it. Run yum install to install it instead.
Examining nagiosxi-mrtg-5.8.4-1.el7.x86_64.rpm: nagiosxi-mrtg-5.8.4-1.el7.x86_64
Marking nagiosxi-mrtg-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-mrtg-5.7.3-2.el7.x86_64
Examining nagiosxi-nagioscore-5.8.4-1.el7.x86_64.rpm: nagiosxi-nagioscore-5.8.4-1.el7.x86_64
Marking nagiosxi-nagioscore-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-nagioscore-5.7.3-2.el7.x86_64
Examining nagiosxi-nagiosplugins-5.8.4-1.el7.x86_64.rpm: nagiosxi-nagiosplugins-5.8.4-1.el7.x86_64
Marking nagiosxi-nagiosplugins-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-nagiosplugins-5.7.3-2.el7.x86_64
Examining nagiosxi-nagvis-5.8.4-1.el7.x86_64.rpm: nagiosxi-nagvis-5.8.4-1.el7.x86_64
Marking nagiosxi-nagvis-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-nagvis-5.7.3-2.el7.x86_64
Examining nagiosxi-ndoutils-5.8.4-1.el7.x86_64.rpm: nagiosxi-ndoutils-5.8.4-1.el7.x86_64
Marking nagiosxi-ndoutils-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-ndoutils-5.7.3-2.el7.x86_64
Examining nagiosxi-nrds-5.8.4-1.el7.x86_64.rpm: nagiosxi-nrds-5.8.4-1.el7.x86_64
Marking nagiosxi-nrds-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-nrds-5.7.3-2.el7.x86_64
Examining nagiosxi-nrpe-5.8.4-1.el7.x86_64.rpm: nagiosxi-nrpe-5.8.4-1.el7.x86_64
Marking nagiosxi-nrpe-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-nrpe-5.7.3-2.el7.x86_64
Examining nagiosxi-nsca-5.8.4-1.el7.x86_64.rpm: nagiosxi-nsca-5.8.4-1.el7.x86_64
Marking nagiosxi-nsca-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-nsca-5.7.3-2.el7.x86_64
Examining nagiosxi-nxti-5.8.4-1.el7.x86_64.rpm: nagiosxi-nxti-5.8.4-1.el7.x86_64
Marking nagiosxi-nxti-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-nxti-5.7.3-2.el7.x86_64
Examining nagiosxi-pnp-5.8.4-1.el7.x86_64.rpm: nagiosxi-pnp-5.8.4-1.el7.x86_64
Marking nagiosxi-pnp-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-pnp-5.7.3-2.el7.x86_64
Examining nagiosxi-shellinabox-5.8.4-1.el7.x86_64.rpm: nagiosxi-shellinabox-5.8.4-1.el7.x86_64
Marking nagiosxi-shellinabox-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-shellinabox-5.7.3-2.el7.x86_64
Examining nagiosxi-wkhtmltox-5.8.4-1.el7.x86_64.rpm: nagiosxi-wkhtmltox-5.8.4-1.el7.x86_64
Marking nagiosxi-wkhtmltox-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-wkhtmltox-5.7.3-2.el7.x86_64
Examining nagiosxi-wmic-5.8.4-1.el7.x86_64.rpm: nagiosxi-wmic-5.8.4-1.el7.x86_64
Marking nagiosxi-wmic-5.8.4-1.el7.x86_64.rpm as an update to nagiosxi-wmic-5.7.3-2.el7.x86_64
Examining nmap-6.47-2.x86_64.rpm: 2:nmap-6.47-2.x86_64
Marking nmap-6.47-2.x86_64.rpm as an update to 2:nmap-6.47-1.x86_64
Examining perl-Class-Accessor-0.34-12.el7.noarch.rpm: perl-Class-Accessor-0.34-12.el7.noarch
perl-Class-Accessor-0.34-12.el7.noarch.rpm: does not update installed package.
Examining perl-Config-IniFiles-2.79-1.el7.noarch.rpm: perl-Config-IniFiles-2.79-1.el7.noarch
perl-Config-IniFiles-2.79-1.el7.noarch.rpm: does not update installed package.
Examining perl-Crypt-Rijndael-1.12-1.el7.x86_64.rpm: perl-Crypt-Rijndael-1.12-1.el7.x86_64
perl-Crypt-Rijndael-1.12-1.el7.x86_64.rpm: does not update installed package.
Examining perl-Mail-IMAPClient-3.37-1.el7.noarch.rpm: perl-Mail-IMAPClient-3.37-1.el7.noarch
perl-Mail-IMAPClient-3.37-1.el7.noarch.rpm: does not update installed package.
Examining perl-Mail-POP3Client-2.19-5.el7.noarch.rpm: perl-Mail-POP3Client-2.19-5.el7.noarch
perl-Mail-POP3Client-2.19-5.el7.noarch.rpm: does not update installed package.
Examining perl-Math-Calc-Units-1.07-9.el7.noarch.rpm: perl-Math-Calc-Units-1.07-9.el7.noarch
perl-Math-Calc-Units-1.07-9.el7.noarch.rpm: does not update installed package.
Examining perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch
perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: does not update installed package.
Examining perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm: perl-Net-SMTP-TLS-0.12-1.of.el7.noarch
perl-Net-SMTP-TLS-0.12-1.el7.noarch.rpm: does not update installed package.
Examining perl-Net-SNMP-6.0.1-7.el7.noarch.rpm: perl-Net-SNMP-6.0.1-7.el7.noarch
perl-Net-SNMP-6.0.1-7.el7.noarch.rpm: does not update installed package.
Examining perl-Number-Format-1.73-14.el7.noarch.rpm: perl-Number-Format-1.73-14.el7.noarch
perl-Number-Format-1.73-14.el7.noarch.rpm: does not update installed package.
Examining php-imap-5.4.16-7.el7.x86_64.rpm: php-imap-5.4.16-7.el7.x86_64
php-imap-5.4.16-7.el7.x86_64.rpm: does not update installed package.
Examining php-mcrypt-5.4.16-7.el7.x86_64.rpm: php-mcrypt-5.4.16-7.el7.x86_64
php-mcrypt-5.4.16-7.el7.x86_64.rpm: does not update installed package.
Examining php-mssql-5.4.16-7.el7.x86_64.rpm: php-mssql-5.4.16-7.el7.x86_64
php-mssql-5.4.16-7.el7.x86_64.rpm: does not update installed package.
Examining php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
Examining php-pecl-ssh2-0.12-1.el7.x86_64.rpm: php-pecl-ssh2-0.12-1.el7.x86_64
php-pecl-ssh2-0.12-1.el7.x86_64.rpm: does not update installed package.
Examining python-bson-2.5.2-4.el7.x86_64.rpm: python-bson-2.5.2-4.el7.x86_64
python-bson-2.5.2-4.el7.x86_64.rpm: does not update installed package.
Examining python-pymongo-2.5.2-4.el7.x86_64.rpm: python-pymongo-2.5.2-4.el7.x86_64
python-pymongo-2.5.2-4.el7.x86_64.rpm: does not update installed package.
Examining python-pymssql-2.1.1-1.el7.x86_64.rpm: python-pymssql-2.1.1-1.el7.x86_64
python-pymssql-2.1.1-1.el7.x86_64.rpm: does not update installed package.
Examining python-simplejson-3.3.3-1.el7.x86_64.rpm: python-simplejson-3.3.3-1.el7.x86_64
python-simplejson-3.3.3-1.el7.x86_64.rpm: does not update installed package.
Examining rrdtool-1.4.9-1.el7.x86_64.rpm: rrdtool-1.4.9-1.el7.x86_64
rrdtool-1.4.9-1.el7.x86_64.rpm: does not update installed package.
Examining rrdtool-devel-1.4.9-1.el7.x86_64.rpm: rrdtool-devel-1.4.9-1.el7.x86_64
rrdtool-devel-1.4.9-1.el7.x86_64.rpm: does not update installed package.
Examining rrdtool-perl-1.4.9-1.el7.x86_64.rpm: rrdtool-perl-1.4.9-1.el7.x86_64
rrdtool-perl-1.4.9-1.el7.x86_64.rpm: does not update installed package.
Examining rrdtool-python-1.4.9-1.el7.x86_64.rpm: rrdtool-python-1.4.9-1.el7.x86_64
rrdtool-python-1.4.9-1.el7.x86_64.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-mrtg.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-mrtg.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-nagioscore.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-nagioscore.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-nagiosplugins.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-nagiosplugins.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-nagvis.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-nagvis.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-ndoutils.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-ndoutils.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-nrds.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-nrds.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-nrpe.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-nrpe.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-nsca.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-nsca.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-nxti.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-nxti.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-pnp.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-pnp.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-shellinabox.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-shellinabox.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-wkhtmltox.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-wkhtmltox.x86_64 0:5.8.4-1.el7 will be an update
---> Package nagiosxi-wmic.x86_64 0:5.7.3-2.el7 will be updated
---> Package nagiosxi-wmic.x86_64 0:5.8.4-1.el7 will be an update
---> Package nmap.x86_64 2:6.47-1 will be updated
---> Package nmap.x86_64 2:6.47-2 will be an update
--> Finished Dependency Resolution

Dependencies Resolved
================================================================================
 Package       Arch   Version     Repository                               Size
================================================================================
Updating:
 nagiosxi-mrtg x86_64 5.8.4-1.el7 /nagiosxi-mrtg-5.8.4-1.el7.x86_64       1.0 M
 nagiosxi-nagioscore
               x86_64 5.8.4-1.el7 /nagiosxi-nagioscore-5.8.4-1.el7.x86_64  14 M
 nagiosxi-nagiosplugins
               x86_64 5.8.4-1.el7 /nagiosxi-nagiosplugins-5.8.4-1.el7.x86_64
                                                                           10 M
 nagiosxi-nagvis
               x86_64 5.8.4-1.el7 /nagiosxi-nagvis-5.8.4-1.el7.x86_64     5.7 M
 nagiosxi-ndoutils
               x86_64 5.8.4-1.el7 /nagiosxi-ndoutils-5.8.4-1.el7.x86_64   866 k
 nagiosxi-nrds x86_64 5.8.4-1.el7 /nagiosxi-nrds-5.8.4-1.el7.x86_64        56 M
 nagiosxi-nrpe x86_64 5.8.4-1.el7 /nagiosxi-nrpe-5.8.4-1.el7.x86_64       250 k
 nagiosxi-nsca x86_64 5.8.4-1.el7 /nagiosxi-nsca-5.8.4-1.el7.x86_64       133 k
 nagiosxi-nxti x86_64 5.8.4-1.el7 /nagiosxi-nxti-5.8.4-1.el7.x86_64       297 k
 nagiosxi-pnp  x86_64 5.8.4-1.el7 /nagiosxi-pnp-5.8.4-1.el7.x86_64         64 k
 nagiosxi-shellinabox
               x86_64 5.8.4-1.el7 /nagiosxi-shellinabox-5.8.4-1.el7.x86_64
                                                                          494 k
 nagiosxi-wkhtmltox
               x86_64 5.8.4-1.el7 /nagiosxi-wkhtmltox-5.8.4-1.el7.x86_64   72 M
 nagiosxi-wmic x86_64 5.8.4-1.el7 /nagiosxi-wmic-5.8.4-1.el7.x86_64        19 M
 nmap          x86_64 2:6.47-2    /nmap-6.47-2.x86_64                      18 M

Transaction Summary
================================================================================
Upgrade  14 Packages

Total size: 199 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Updating   : 2:nmap-6.47-2.x86_64                                        1/28
  Updating   : nagiosxi-nxti-5.8.4-1.el7.x86_64                            2/28
  Updating   : nagiosxi-pnp-5.8.4-1.el7.x86_64                             3/28
  Updating   : nagiosxi-nsca-5.8.4-1.el7.x86_64                            4/28
  Updating   : nagiosxi-wmic-5.8.4-1.el7.x86_64                            5/28
  Updating   : nagiosxi-ndoutils-5.8.4-1.el7.x86_64                        6/28
  Updating   : nagiosxi-nrpe-5.8.4-1.el7.x86_64                            7/28
  Updating   : nagiosxi-wkhtmltox-5.8.4-1.el7.x86_64                       8/28
  Updating   : nagiosxi-nagiosplugins-5.8.4-1.el7.x86_64                   9/28
  Updating   : nagiosxi-nrds-5.8.4-1.el7.x86_64                           10/28
  Updating   : nagiosxi-shellinabox-5.8.4-1.el7.x86_64                    11/28
  Updating   : nagiosxi-mrtg-5.8.4-1.el7.x86_64                           12/28
  Updating   : nagiosxi-nagvis-5.8.4-1.el7.x86_64                         13/28
  Updating   : nagiosxi-nagioscore-5.8.4-1.el7.x86_64                     14/28
warning: /etc/httpd/conf.d/nagios.conf created as /etc/httpd/conf.d/nagios.conf.rpmnew
warning: /usr/local/nagios/etc/nagios.cfg created as /usr/local/nagios/etc/nagios.cfg.rpmnew
  Cleanup    : 2:nmap-6.47-1.x86_64                                       15/28
  Cleanup    : nagiosxi-nxti-5.7.3-2.el7.x86_64                           16/28
  Cleanup    : nagiosxi-pnp-5.7.3-2.el7.x86_64                            17/28
  Cleanup    : nagiosxi-nsca-5.7.3-2.el7.x86_64                           18/28
  Cleanup    : nagiosxi-wmic-5.7.3-2.el7.x86_64                           19/28
  Cleanup    : nagiosxi-ndoutils-5.7.3-2.el7.x86_64                       20/28
  Cleanup    : nagiosxi-nrpe-5.7.3-2.el7.x86_64                           21/28
  Cleanup    : nagiosxi-wkhtmltox-5.7.3-2.el7.x86_64                      22/28
  Cleanup    : nagiosxi-nagiosplugins-5.7.3-2.el7.x86_64                  23/28
  Cleanup    : nagiosxi-nrds-5.7.3-2.el7.x86_64                           24/28
  Cleanup    : nagiosxi-shellinabox-5.7.3-2.el7.x86_64                    25/28
  Cleanup    : nagiosxi-mrtg-5.7.3-2.el7.x86_64                           26/28
  Cleanup    : nagiosxi-nagvis-5.7.3-2.el7.x86_64                         27/28
  Cleanup    : nagiosxi-nagioscore-5.7.3-2.el7.x86_64                     28/28
  Verifying  : nagiosxi-nagioscore-5.8.4-1.el7.x86_64                      1/28
  Verifying  : nagiosxi-nagvis-5.8.4-1.el7.x86_64                          2/28
  Verifying  : nagiosxi-mrtg-5.8.4-1.el7.x86_64                            3/28
  Verifying  : nagiosxi-shellinabox-5.8.4-1.el7.x86_64                     4/28
  Verifying  : nagiosxi-nrds-5.8.4-1.el7.x86_64                            5/28
  Verifying  : nagiosxi-nagiosplugins-5.8.4-1.el7.x86_64                   6/28
  Verifying  : nagiosxi-wkhtmltox-5.8.4-1.el7.x86_64                       7/28
  Verifying  : nagiosxi-nrpe-5.8.4-1.el7.x86_64                            8/28
  Verifying  : nagiosxi-ndoutils-5.8.4-1.el7.x86_64                        9/28
  Verifying  : nagiosxi-wmic-5.8.4-1.el7.x86_64                           10/28
  Verifying  : nagiosxi-nsca-5.8.4-1.el7.x86_64                           11/28
  Verifying  : nagiosxi-pnp-5.8.4-1.el7.x86_64                            12/28
  Verifying  : nagiosxi-nxti-5.8.4-1.el7.x86_64                           13/28
  Verifying  : 2:nmap-6.47-2.x86_64                                       14/28
  Verifying  : nagiosxi-nrds-5.7.3-2.el7.x86_64                           15/28
  Verifying  : nagiosxi-wmic-5.7.3-2.el7.x86_64                           16/28
  Verifying  : nagiosxi-nagvis-5.7.3-2.el7.x86_64                         17/28
  Verifying  : nagiosxi-nsca-5.7.3-2.el7.x86_64                           18/28
  Verifying  : nagiosxi-pnp-5.7.3-2.el7.x86_64                            19/28
  Verifying  : nagiosxi-ndoutils-5.7.3-2.el7.x86_64                       20/28
  Verifying  : nagiosxi-shellinabox-5.7.3-2.el7.x86_64                    21/28
  Verifying  : nagiosxi-nagiosplugins-5.7.3-2.el7.x86_64                  22/28
  Verifying  : nagiosxi-wkhtmltox-5.7.3-2.el7.x86_64                      23/28
  Verifying  : nagiosxi-mrtg-5.7.3-2.el7.x86_64                           24/28
  Verifying  : nagiosxi-nrpe-5.7.3-2.el7.x86_64                           25/28
  Verifying  : nagiosxi-nagioscore-5.7.3-2.el7.x86_64                     26/28
  Verifying  : 2:nmap-6.47-1.x86_64                                       27/28
  Verifying  : nagiosxi-nxti-5.7.3-2.el7.x86_64                           28/28

Updated:
  nagiosxi-mrtg.x86_64 0:5.8.4-1.el7
  nagiosxi-nagioscore.x86_64 0:5.8.4-1.el7
  nagiosxi-nagiosplugins.x86_64 0:5.8.4-1.el7
  nagiosxi-nagvis.x86_64 0:5.8.4-1.el7
  nagiosxi-ndoutils.x86_64 0:5.8.4-1.el7
  nagiosxi-nrds.x86_64 0:5.8.4-1.el7
  nagiosxi-nrpe.x86_64 0:5.8.4-1.el7
  nagiosxi-nsca.x86_64 0:5.8.4-1.el7
  nagiosxi-nxti.x86_64 0:5.8.4-1.el7
  nagiosxi-pnp.x86_64 0:5.8.4-1.el7
  nagiosxi-shellinabox.x86_64 0:5.8.4-1.el7
  nagiosxi-wkhtmltox.x86_64 0:5.8.4-1.el7
  nagiosxi-wmic.x86_64 0:5.8.4-1.el7
  nmap.x86_64 2:6.47-2

Complete!
Looks like everything is good to go, yet no follow-on scripts are being run.

Re: NagiosXI offline upgrade script issues

Posted: Tue Aug 03, 2021 9:39 am
by gsmith
hi

What OS is the system running? I want to see if I can replicate the issue.

Thanks

Re: NagiosXI offline upgrade script issues

Posted: Tue Aug 03, 2021 10:05 am
by brandondash
RHEL 7.5 with full STIG lockdown and corresponding SELinux configuration (which is the reason why I can't run this from /tmp).

Re: NagiosXI offline upgrade script issues

Posted: Tue Aug 03, 2021 11:05 am
by gsmith
HI,

Can you look at /var/log/audit/audit.log and check if there are
any errors related to the update command please?

Thanks

Re: NagiosXI offline upgrade script issues

Posted: Tue Aug 03, 2021 11:51 am
by brandondash
gsmith wrote:HI,
Can you look at /var/log/audit/audit.log and check if there are
any errors related to the update command please?
Thanks
Reverted to pre-upgrade snapshot, ran upgrade script, then immediately opened /var/log/audit/audit.log.

No "error" or "warning" anywhere in the file.

Re: NagiosXI offline upgrade script issues

Posted: Wed Aug 04, 2021 3:59 pm
by gsmith
Hi,

I wanted to let you know I have replicated your environment, and will be trying the upgrade
in the morning. Hope to have something for you tomorrow.

Thanks