Hello,
we have Nagios XI in RHEL server, we have on-boarding some servers. when did some changes in XI and trying to do the apply configuration on CCM, facing the error Find the attachment?
Apply Configuration
Backend login to the Core Config Manager failed.
An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/Filesystem.cfg', starting on line 16)
[root@na930288-sal ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 7.8G 797M 7.0G 11% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/mapper/rootvg-rootfs 4.8G 327M 4.3G 8% /
/dev/mapper/rootvg-usr 20G 2.8G 16G 15% /usr
/dev/sda1 488M 136M 318M 30% /boot
/dev/mapper/rootvg-home 2.9G 9.2M 2.8G 1% /home
/dev/mapper/rootvg-tmp 2.9G 9.3M 2.8G 1% /tmp
/dev/mapper/rootvg-var 2.9G 2.2G 538M 81% /var
/dev/mapper/rootvg-opt 3.9G 17M 3.6G 1% /opt
/dev/mapper/rootvg-log 2.0G 1.3G 519M 72% /var/log
/dev/mapper/rootvg-audit 2.0G 41M 1.8G 3% /var/log/audit
/dev/mapper/datavg-DATA 197G 1.8G 185G 1% /opt/tools
10.129.41.162:/opt/tools/tivoli_sis 276G 222G 40G 85% /opt/tools/tivoli_sis
tmpfs 1.6G 0 1.6G 0% /run/user/0
tmpfs 1.6G 0 1.6G 0% /run/user/1001
/dev/mapper/appvg-nagioslv 30G 13G 16G 46% /nagios
Error in Apply Configuration
-
vsatishkumar77
- Posts: 8
- Joined: Fri Sep 03, 2021 10:14 pm
Error in Apply Configuration
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Error in Apply Configuration
Hi,
It looks like one of the services in that file is missing the host or service description. I would look in the file directly to see if you can find the error. and then correct this in the Core Config Manager. Those files can not be manually edited.
Once you made the correction, run through the following steps in Configure > CCM > Tools > Config File Management
1. Delete Files
2. Write Files
3. Verify Files ( if you see any errors follow the message to correct and repeat steps 1-3 until it passes)
4. Restart Nagios Core
If you're not able to resolve the error, download a fresh system profile, and I can check the configuration files for you. Thanks, Benjamin
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
It looks like one of the services in that file is missing the host or service description. I would look in the file directly to see if you can find the error. and then correct this in the Core Config Manager. Those files can not be manually edited.
Once you made the correction, run through the following steps in Configure > CCM > Tools > Config File Management
1. Delete Files
2. Write Files
3. Verify Files ( if you see any errors follow the message to correct and repeat steps 1-3 until it passes)
4. Restart Nagios Core
If you're not able to resolve the error, download a fresh system profile, and I can check the configuration files for you. Thanks, Benjamin
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!