Hi,
I am trying to add a new host for monitoring. Nagios says "One or more config files have problems" when I apply Configuration.
This host was macOS but now its been migrated to Linux.After adding the server in core config, it does not give any error but I dont see the host added.
Can you let me know how do I resolve this?
Thanks,
Shilpa Nagaraja
NagiosXi-adding host error
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXi-adding host error
You can remove the services for this host and the host in the Configure -> CCM
Service
Select template for the host to me removed
select all
Delete
Then under the hosts menu,
Select host Delete
Then Apply Configuration
Service
Select template for the host to me removed
select all
Delete
Then under the hosts menu,
Select host Delete
Then Apply Configuration
Re: NagiosXi-adding host error
I have deleted the macOS host. Now I am trying to add the Linux host and is not going through
Re: NagiosXi-adding host error
After I try to add the host using CCM, "I get a message successfully added the host".
However when I search for the host it does not list this host in Host Status page.
However when I search for the host it does not list this host in Host Status page.
Re: NagiosXi-adding host error
Is the Host set as not active in the Core Config Manager?
If it is not active, it is not saved to the running config so it will not be in the Host Details menu.
Also, if the Apply Config was not run, it will not save the host to the running config. Make sure you Applied the Config as well.
If it is not active, it is not saved to the running config so it will not be in the Host Details menu.
Also, if the Apply Config was not run, it will not save the host to the running config. Make sure you Applied the Config as well.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXi-adding host error
I have deleted the host from both CCM and XI. I don't see my previous host anymore.
Is there a way you can call me and fix this issue? Messages take longer
Is there a way you can call me and fix this issue? Messages take longer
Re: NagiosXi-adding host error
If the Host was removed from the Core Config Manager and the Apply Config passed, you can re-add the new host and services by following the instructions in the 2 links below.
https://assets.nagios.com/downloads/nag ... gement.pdf
https://support.nagios.com/kb/article/n ... t-539.html
And these links are some short videos / documentation on how to use the Wizards in XI to monitor Linux systems.
https://support.nagios.com/kb/article/n ... s-721.html
https://support.nagios.com/kb/article/n ... d-761.html
https://support.nagios.com/kb/article/n ... p-249.html
Take a look at them and let us know if you have any further questions.
https://assets.nagios.com/downloads/nag ... gement.pdf
https://support.nagios.com/kb/article/n ... t-539.html
And these links are some short videos / documentation on how to use the Wizards in XI to monitor Linux systems.
https://support.nagios.com/kb/article/n ... s-721.html
https://support.nagios.com/kb/article/n ... d-761.html
https://support.nagios.com/kb/article/n ... p-249.html
Take a look at them and let us know if you have any further questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXi-adding host error
I tried adding the host using the link provided.
Im still facing the same issue. I have attached the file with screenshot of the error.
Im still facing the same issue. I have attached the file with screenshot of the error.
You do not have the required permissions to view the files attached to this post.
Re: NagiosXi-adding host error
The permissions has to be reset for the configuration files and to to that, run the following as root.
Then try and add the host again to see if it can be created.
Code: Select all
cd /usr/local/nagiosxi/scripts
./reset_config_perms.shBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXi-adding host error
I ran the script.
cd /usr/local/nagiosxi/scripts
/reset_config_perms.sh
RESETTING PERMS
It said RESETTING PERMS. However I still see the error.Attached screenshot.
I see the number of host is CMM is 19 now with status "Not applied", However I swear I have applied configuration at least 4 times.
This is a critical server and its not been monitored. Please do let me know how do I resolve this?
Thanks,
Shilpa Nagaraja
cd /usr/local/nagiosxi/scripts
/reset_config_perms.sh
RESETTING PERMS
It said RESETTING PERMS. However I still see the error.Attached screenshot.
I see the number of host is CMM is 19 now with status "Not applied", However I swear I have applied configuration at least 4 times.
This is a critical server and its not been monitored. Please do let me know how do I resolve this?
Thanks,
Shilpa Nagaraja
You do not have the required permissions to view the files attached to this post.