upgrade
Posted: Tue Mar 03, 2020 12:45 am
I upgrade my nagios to latest version ... but please check the log I received is it normal .. or i need to do anything ... system is running without error.
Code: Select all
---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up the SNMP directories
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up nagios user home dir...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up cronjobs for Apache...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup.1583158007.tar.gz
---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
No entry for terminal type "unknown";
using dumb terminal settings.
Nagios XI Upgrade Log
==========================
DATE: Mon Mar 2 16:09:26 EET 2020
DISTRO INFO:
CentOS
7.7.1908
x86_64
No entry for terminal type "unknown";
using dumb terminal settings.
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.4.lin
Sourceguardian extension found for PHP version 5.4
Sourceguardian extension already in php.ini
No entry for terminal type "unknown";
using dumb terminal settings.
Checking required prereqs...
Please wait...
OLD VERSION: 5611
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.turhost.com
* epel: mirror.serverion.com
* extras: centos.vargonen.com
* updates: centos.turhost.com
No packages marked for update
Loaded plugins: fastestmirror, langpacks
Examining /usr/local/nagiosxi/tmp/nagiosxi/nagiosxi-deps-el7-5.6.12-1.noarch.rpm: nagiosxi-deps-el7-5.6.12-1.noarch
Marking /usr/local/nagiosxi/tmp/nagiosxi/nagiosxi-deps-el7-5.6.12-1.noarch.rpm as an update to nagiosxi-deps-el7-5.6.11-1.noarch
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-deps-el7.noarch 0:5.6.11-1 will be updated
---> Package nagiosxi-deps-el7.noarch 0:5.6.12-1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
nagiosxi-deps-el7 noarch 5.6.12-1 /nagiosxi-deps-el7-5.6.12-1.noarch 0.0
Transaction Summary
================================================================================
Upgrade 1 Package
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : nagiosxi-deps-el7-5.6.12-1.noarch 1/2
Cleanup : nagiosxi-deps-el7-5.6.11-1.noarch 2/2
Verifying : nagiosxi-deps-el7-5.6.12-1.noarch 1/2
Verifying : nagiosxi-deps-el7-5.6.11-1.noarch 2/2
Updated:
nagiosxi-deps-el7.noarch 0:5.6.12-1
Complete!
no crontab for nagios
Saving old crontab to /tmp/root.crontab.orig...
Removing XI cron jobs...
Copying over new XI directory...
No entry for terminal type "unknown";
using dumb terminal settings.
Patching NDOUtils...
NDOUtils already patched at level 103
Installing new PNP templates...
Enabling large install tweaks...
Fixing config file permissions...
chown: cannot access ‘/var/www/html/nagiosql/config’: No such file or directory
Fixing htpasswd permissions...
Checking group memberships...
Installing new XI templates...
No entry for terminal type "unknown";
using dumb terminal settings.
--- reset_config_perms.sh ------------
> Setting script permissions
> Setting CCM script permissions
> Setting special script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting libexec directory permissions
> Setting Nagios XI config permissions
> Setting NOM checkpoint user:group permissions
> + Setting Nagios Core corelog.newobjects user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
No entry for terminal type "unknown";
using dumb terminal settings.
--- ccm_import.php -------------------
> Setting import directory: /usr/local/nagios/etc/import/
> Importing config files into the CCM
- Importing: /usr/local/nagios/etc/import/xi_timeperiod_24x7.cfg .. SUCCESS
--------------------------------------
No entry for terminal type "unknown";
using dumb terminal settings.
--- ccm_export.php -------------------
> Writing CCM configuration to Nagios files
Finished writing out configuraton
--------------------------------------
--------------------------------------
> Verifying configuration with Nagios Core
> Output:
Nagios Core 4.4.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-08-20
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'SSH' on host '10.1.5.100-HQ-Main-Backup' (config file '/usr/local/nagios/etc/services/10.1.5.100.cfg', starting on line 33)
Warning: Duplicate definition found for service 'Ping' on host '10.26.3.94-DB1-website-Drupal8' (config file '/usr/local/nagios/etc/services/10.26.3.94-DB1-website-Drupal8.cfg', starting on line 88)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Warning: Service 'CPU Usage for VMHost' on host '10.1.81.131' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
Warning: Service 'Datastore usage for VMHost' on host '10.1.81.131' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
Warning: Service 'Input / Output for VMHost' on host '10.1.81.131' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
Warning: Service 'Memory for VMHost' on host '10.1.81.131' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
Warning: Service 'Networking for VMHost' on host '10.1.81.131' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
Warning: Service 'Services for VMHost' on host '10.1.81.131' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
Warning: Service 'VM Status for VMHost' on host '10.1.81.131' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
Checked 1514 services.
Warning: Host '10.1.80.141-VM5.0.0-BC' has no default contacts or contactgroups defined!
Warning: Host '10.1.80.51-VM5.0.0-HQ' has no default contacts or contactgroups defined!
Warning: Host 'Core-FW' has no default contacts or contactgroups defined!
Checked 197 hosts.
Checked 16 host groups.
Checked 1 service groups.
Checked 6 contacts.
Checked 3 contact groups.
Checked 141 commands.
Checked 12 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 197 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 12 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 10
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
> Return Code: 0
--------------------------------------
No entry for terminal type "unknown";
using dumb terminal settings.
Nagios XI Upgrade Complete!
---------------------------
You can access the Nagios XI web interface by visiting:
http://10.1.23.222/nagiosxi/