BPI creation failure locking out all changes
Posted: Mon Nov 11, 2019 10:37 am
Hello,
I'm encountering an issue in Nagios 5.6.7 following the creation of a BPI group.
1. Created BPI group and wrote changes.
2. Went to Configure -> Wizards -> BPI and attempted to create the BPI host. Filled out all the information and when I went to apply changes, I
got the following error: "Configuration error. Could not apply configuration."
3. Configuration file contents:
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/CATVt3EU.tmp.cfg', starting on line 16)
Error processing object config files!
4. CATVt3EU.tmp.cfg contains the following:
###############################################################################
#
# Services configuration file
#
# Created by: Nagios CCM 3.0.3
# Date: 2019-11-11 07:23:14
# Version: Nagios Core 4.x
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define service {
service_description BPI Process:ProgramName Prod
use xiwizard_bpi_service
check_command check_bpi!ProgramnameProd
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 0
notification_period xi_timeperiod_24x7
contacts sdplus
contact_groups Email - Admins,Email Distro - Admins
_xiwizard bpiwizard
register 1
}
###############################################################################
#
# Services configuration file
#
# END OF FILE
#
###############################################################################
5. Deleted CATVt3EU.tmp.cfg and re-ran wizard; same error, same file, same contents.
6. Deleted CATVt3EU.tmp.cfg again.
7. Tried to change a notification setting on an existing check and got the same error on the same filename with the same contents.
8. Deleted existing BPI group; repeated step 7 with the same results.
I can't make any changes to our environment now.
Any idea as to what we're encountering?
-- Mike Beebe
I'm encountering an issue in Nagios 5.6.7 following the creation of a BPI group.
1. Created BPI group and wrote changes.
2. Went to Configure -> Wizards -> BPI and attempted to create the BPI host. Filled out all the information and when I went to apply changes, I
got the following error: "Configuration error. Could not apply configuration."
3. Configuration file contents:
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/CATVt3EU.tmp.cfg', starting on line 16)
Error processing object config files!
4. CATVt3EU.tmp.cfg contains the following:
###############################################################################
#
# Services configuration file
#
# Created by: Nagios CCM 3.0.3
# Date: 2019-11-11 07:23:14
# Version: Nagios Core 4.x
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define service {
service_description BPI Process:ProgramName Prod
use xiwizard_bpi_service
check_command check_bpi!ProgramnameProd
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 0
notification_period xi_timeperiod_24x7
contacts sdplus
contact_groups Email - Admins,Email Distro - Admins
_xiwizard bpiwizard
register 1
}
###############################################################################
#
# Services configuration file
#
# END OF FILE
#
###############################################################################
5. Deleted CATVt3EU.tmp.cfg and re-ran wizard; same error, same file, same contents.
6. Deleted CATVt3EU.tmp.cfg again.
7. Tried to change a notification setting on an existing check and got the same error on the same filename with the same contents.
8. Deleted existing BPI group; repeated step 7 with the same results.
I can't make any changes to our environment now.
Any idea as to what we're encountering?
-- Mike Beebe