Page 1 of 1

Bulk Modification Service Addition not working

Posted: Wed Aug 23, 2023 10:37 am
by ksafa
Trying to use Bulk Modification to add service but its not working. Audit log indicates that the Service was added to hosts but after applying configuration the services are not there.

Re: Bulk Modification Service Addition not working

Posted: Thu Aug 24, 2023 10:47 am
by bbahn
Hello @ksafa,

I'm sorry to hear you're encountering issues with the Bulk Modification Service Addition. To help us better understand and diagnose your problem, could you please provide the following details?
  1. The Operating System you are using.
  2. The exact version of Nagios XI you are running.
  3. The contents of the /usr/local/nagiosxi/var/cmdsubsys.log file. This log might provide clues as to what went wrong during the process.
Once we have this information, we'll be in a better position to assist you further.

Best regards,

- Blake Bahner

Re: Bulk Modification Service Addition not working

Posted: Thu Aug 24, 2023 11:54 am
by ksafa
Nagios XI: 5.8.7
RHEL8.8

Below is output found in cmdsubsys.log during the attempted service addition:

.............PROCESSING COMMAND ID 657...
PROCESS COMMAND: CMD=17, DATA=
APPLYING NAGIOSCORE CONFIG...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh

--- reset_config_perms.sh ------------
> Setting script permissions
> Setting CCM script permissions
> Setting special script permissions
> Setting special component script permissions
> Setting migrate permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
Connection timed out after 15001 milliseconds
> 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
--------------------------------------

--- ccm_import.php -------------------
> Setting import directory: /usr/local/nagios/etc/import/
> Importing config files into the CCM
No files to import
--------------------------------------

--- ccm_export.php -------------------
> Writing CCM configuration to Nagios files
Finished writing out configuraton
--------------------------------------

--------------------------------------
> Verifying configuration with Nagios Core
> Output:
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...
Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
Checked 1505 services.
Checked 78 hosts.
Checked 12 host groups.
Checked 6 service groups.
Checked 3 contacts.
Checked 2 contact groups.
Checked 161 commands.
Checked 9 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 78 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 9 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
> Return Code: 0
--------------------------------------
OUTPUT=--------------------------------------
RETURNCODE=0
PROCESSING COMMAND ID 658...
PROCESS COMMAND: CMD=1160, DATA=
CMDLINE=/bin/true
OUTPUT=
RETURNCODE=0
PROCESSING COMMAND ID 659...
PROCESS COMMAND: CMD=1150, DATA=remove
CMDLINE=php /usr/local/nagiosxi/html/includes/components/nagiosbpi/api_tool.php --cmd=syncall
CMD: syncall
MSG: BPI configuration applied successfully! BPI configuration applied successfully!
OUTPUT=MSG: BPI configuration applied successfully! BPI configuration applied successfully!
RETURNCODE=0
................................
PROCESSED 3 COMMANDS

Re: Bulk Modification Service Addition not working

Posted: Tue Sep 05, 2023 2:33 pm
by ksafa
Requested info has been posted.

Thank you