Page 1 of 1

Apply configuration not working

Posted: Thu Jun 10, 2021 2:59 am
by wipro-nagios-service
When trying to reconfigure anything and when I am trying to apply configuration I am getting the error . I have attached the error message screenshot.

When I am checking the server , I dont have any service named 'page_utilisation' on host 'SMTCA01102.rd.corpintra.net'.
Please give a quick resolution.
the below is the written config

Write host configurations ...
Host configuration files successfully written!

Write service configurations ...
Configuration file: SMTCA01102.rd.corpintra.net.cfg successfully written!
Configuration file: SMTCB00457.rd.corpintra.net.cfg successfully written!
WARNING! Ghost service config detected! Removing the file smtca01746.rd.corpintra.net.cfg_bkp.cfg
Service configuration files successfully written!

Configuration file: hostgroups.cfg successfully written!
Configuration file: servicegroups.cfg successfully written!
Configuration file: hosttemplates.cfg successfully written!
Configuration file: servicetemplates.cfg successfully written!
Configuration file: timeperiods.cfg successfully written!
Configuration file: commands.cfg successfully written!
Configuration file: contacts.cfg successfully written!
Configuration file: contactgroups.cfg successfully written!
Configuration file: contacttemplates.cfg successfully written!
Configuration file: servicedependencies.cfg successfully written!
Configuration file: hostdependencies.cfg successfully written!
Configuration file: serviceescalations.cfg successfully written!
Configuration file: hostescalations.cfg successfully written!
Configuration file: serviceextinfo.cfg successfully written!
Configuration file: hostextinfo.cfg successfully written!

Re: Apply configuration not working

Posted: Thu Jun 10, 2021 3:41 pm
by vtrac
Hi @wipro-nagios-service,
How are you doing?

Please try running the below command on your XI command prompt:

Code: Select all

rm -f /usr/local/nagios/etc/import/*
Now, go to "Config File Mangement" page:
Nagios XI GUI > Configure > Core Config Management > Tools > Config File Management
Click the "Delete Files" (red) button
Click the "Write Configs" (blue) button
Click the "Verify Files" (white) button
Now, do "Apply Configuration" on the upper left panel of the page.

If this does not fix the issue, please run the below command to fix your database:

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
Please upload "profile.zip" if the above steps did not resolve the issue.
Click the "Admin" > "System Config" > "System Profile" Menu
Click the "Download Profile" button


Best Regards,
Vinh

Re: Apply configuration not working

Posted: Mon Jun 14, 2021 2:07 am
by wipro-nagios-service
It got resolved. Thank you

Re: Apply configuration not working

Posted: Mon Jun 14, 2021 8:45 am
by scottwilkerson
wipro-nagios-service wrote:It got resolved. Thank you
Locking thread