my nagios xi is acting up as i cannot apply any new configurations, i get the erro below
Error: Could not find any host matching 'DXASMPP4' (config file '/usr/local/nagios/etc/services/DXASMPP4.cfg', starting on line 219)
Error: Failed to expand host list 'DXASMPP4' for service 'Swap Usage' (/usr/local/nagios/etc/services/DXASMPP4.cfg:219)
Mind you i have deleted all services and hosts associated with the above error but i still get the error after i run apply configuration, i have also gone through file manager, deleted files, written configs and restarted nagios but i stll get same error, not sure what to do anymore. please see my profile attached
cannot apply configuration on nay new configs
cannot apply configuration on nay new configs
You do not have the required permissions to view the files attached to this post.
Re: cannot apply configuration on nay new configs
Hi
Please run the repair database script below:
Now, try the file manager, deleted files, written configs, verify files then Apply Configuration.
Regards,
Vinh
Please run the repair database script below:
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.sh
Regards,
Vinh
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: cannot apply configuration on nay new configs
you have a couple extraneous files that need to be removed
run the following
then the config should apply or give you an appropriate error
run the following
Code: Select all
rm -f /usr/local/nagios/etc/import/*Re: cannot apply configuration on nay new configs
that worked, thanks
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: cannot apply configuration on nay new configs
Hi,
Great! We'll go ahead a close this out, but feel free to open another post if you have any new questions.that worked, thanks
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!