Apply configuration not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
wipro-nagios-service
Posts: 18
Joined: Thu Apr 22, 2021 9:49 am

Apply configuration not working

Post 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!
You do not have the required permissions to view the files attached to this post.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Apply configuration not working

Post 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
wipro-nagios-service
Posts: 18
Joined: Thu Apr 22, 2021 9:49 am

Re: Apply configuration not working

Post by wipro-nagios-service »

It got resolved. Thank you
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Apply configuration not working

Post by scottwilkerson »

wipro-nagios-service wrote:It got resolved. Thank you
Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked