Page 1 of 1
Error: Could not find any host matching and failed to expand
Posted: Wed Oct 02, 2019 10:26 am
by acwong
I'm trying to run the SNMP wizard tool on NagiosXi and get a Configuration verification failed. When I check the configuration snapshot, I get the following below:
View Command Output:
Code: Select all
Reading configuration data...
Read main config file okay...
Error: Could not find any host matching
Error processing object config files!
Please help. Thank you!
Re: Error: Could not find any host matching and failed to ex
Posted: Wed Oct 02, 2019 4:01 pm
by benjaminsmith
Hello,
It looks like you have an error in the configuration files, and this maybe causing the wizard to fail when it is completing.
There are two sides to configurations in Nagios XI. One is the configuration settings stored in the database, and the text based configuration files used by Nagios Core.
If you go to Configure > CCM > Monitoring > Hosts and then search for this host ( ip address ) from the searchbox in the upper right. Does it exists? If not, you'll need to remove this from the purestorage service.
Next go to Config File Management ( Tools menu) and go through the following steps:
1. Delete Files
2. Write Files
3. Verify Files -- If you get an error, correct this in the CCM and then repeat steps 1 and 2 until it passes.
4. Restart Nagios Core and then try running the wizard again.
Re: Error: Could not find any host matching and failed to ex
Posted: Thu Oct 03, 2019 3:05 pm
by acwong
That worked.
I did have that host and ran through the steps and I still received the same error. I then removed the host and related services and went through the steps again and no errors!
Thank you!
Re: Error: Could not find any host matching and failed to ex
Posted: Thu Oct 03, 2019 3:25 pm
by benjaminsmith
Hello,
That worked.
I did have that host and ran through the steps and I still received the same error. I then removed the host and related services and went through the steps again and no errors!
Thank you!
Happy to hear it's been resolved. Also, as requested, I removed the IP address from the log you posted.