I am planning for an upgrade from version 5.4.13 to 5.5.3. I ran the preflight check to see that everything is fine prior to starting the upgrade.
all is ok except for a number of warnings:
Code: Select all
Checked 308 hosts.
Checked 43 host groups.
Checked 91 service groups.
Checked 72 contacts.
Checked 7 contact groups.
Checked 270 commands.
Checked 77 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 308 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 77 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 1021
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
1. Duplicate definition found in service
2. No default contact or contact groups defined
For 2, I don't think it should be worrying and if creates an issue for the upgrade (i think!). I'm more worried about the duplicate definition. Here's some example from the preflight:
Code: Select all
eading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service '100_T-ipops-CIS014_HardwareHealth' on host 'mt1-sha-itp01-p_o-mt1itp01
' (config file '/usr/local/nagios/etc/services/mt1-sha-itp01-p_o-mt1itp01.cfg', starting on line 81)
Warning: Duplicate definition found for service '200_T-itinfra-ORA003-OracleInvalidObjects' on host 'abj-oci-sms01-p_v-
vmaas' (config file '/usr/local/nagios/etc/services/bru-ofc-das01-p_v-ofc.cfg', starting on line 604)
Warning: Duplicate definition found for service '300_S-SMSE014-TimeElapsedSinceLastIncomingSMS' on host 'abj-oci-msd01-
p_v-vmaas' (config file '/usr/local/nagios/etc/services/abj-oci-sms02-p_v-vmaas.cfg', starting on line 257)
if I look at the "/usr/local/nagios/etc/services/mt1-sha-itp01-p_o-mt1itp01.cfg" I don't see any duplicate entry for "100_T-ipops-CIS014_HardwareHealth" service, nor is the hostname removed before. I checked quite a lot of them and it's the same behavior, there is no duplicate entry in the file at all.
cfg file starting from line 81:
Code: Select all
define service {
host_name mt1-sha-itp01-p_o-mt1itp01
service_description 100_T-ipops-CIS014_HardwareHealth
use xiwizard_switch_ping_service
check_command Aspider-NGI01_ssh!0!0!mt1-sha-itp01-p_o-mt1itp01!!!!/home/nagios/bin/nagios_T-CIS014-HardwareHealth.sh!10.192.254.3
max_check_attempts 2
check_interval 60
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contact_groups NOC
_xiwizard switch
register 1
}
define service {
host_name mt1-sha-itp01-p_o-mt1itp01
service_description 100_T-ipops-CIS015_Interface Status
use xiwizard_switch_ping_service
check_command Aspider-NGI01_ssh!0!0!mt1-sha-itp01-p_o-mt1itp01!none!!!/home/nagios/bin/nagios_T-CIS009-InterfaceStatus.sh!am1-nms-nmsgw-p_v-nms
max_check_attempts 2
check_interval 1
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contact_groups NOC
_xiwizard switch
register 1
}
Thanks!