Nagios ESX VMware Monitoring Wizard error
Nagios ESX VMware Monitoring Wizard error
Hi ,
I am using the configuration wizard to monitor VMware ESX. I have already provided the address, username and password . I selected Guest host, to monitor all the ESX host . However,I received an error when its completing the verification saying " Configuration failed to write to file" as attached . What file is it trying to write to?
I am using the configuration wizard to monitor VMware ESX. I have already provided the address, username and password . I selected Guest host, to monitor all the ESX host . However,I received an error when its completing the verification saying " Configuration failed to write to file" as attached . What file is it trying to write to?
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Nagios ESX VMware Monitoring Wizard error
Hello, @aajibad1. Can you run a different wizard to see if you'll get the same error? That will help us determine whether something is wrong with this particular wizard of with a core engine in general. Also, can you click on "View the latest configuration snapshots", find the failed one, click on "View command output" icon and post it's output here.
Thanks.
Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios ESX VMware Monitoring Wizard error
I tried the wizard again, its giving me same error. Please find attached the latest snapshot command output.
You do not have the required permissions to view the files attached to this post.
Re: Nagios ESX VMware Monitoring Wizard error
Can you run a different wizard to see if you'll get the same error? Can you apply configuration successfully?
Please show us the actual error (command output). You can obtain it under the Configuration Snapshots page.
Example:
Please show us the actual error (command output). You can obtain it under the Configuration Snapshots page.
Example:
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios ESX VMware Monitoring Wizard error
The snapshot didn't provide any config error information . Is there any other way , I could get the error information ?
Re: Nagios ESX VMware Monitoring Wizard error
Go to the CCM > Tools > Config File Management, and click on "Write Configs", then on "Verify Files", showing the output after each click.
Example:
Example:
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios ESX VMware Monitoring Wizard error
I ma not sure if thats the problem because it didn't give me any error as attached
You do not have the required permissions to view the files attached to this post.
Re: Nagios ESX VMware Monitoring Wizard error
OK, once we determined that you don't have any config errors, let's try to apply configuration.
1. Run the following commands:
2. Then also run the following command to begin capturing log output:
Attempt to Apply Configuration from the web interface. After the browser has returned some output to the screen, press Ctrl+c to stop the log tail, and post the cmd.txt file and the reconfig.txt that were generated by the above instructions.
The content of the two files should give us an idea what the issue is.
Also, just by looking at one of your earlier screenshots, it seems that the apply configuration could be timing out. Please see our "Nagios XI - Apply Configuration Never Completes" KB article on the topic. You may need to tweak the sudoers, increase the resource limits in the php.ini. etc.
https://support.nagios.com/kb/article/n ... es-34.html
1. Run the following commands:
Code: Select all
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> reconfig.txtCode: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log &> cmd.txtThe content of the two files should give us an idea what the issue is.
Also, just by looking at one of your earlier screenshots, it seems that the apply configuration could be timing out. Please see our "Nagios XI - Apply Configuration Never Completes" KB article on the topic. You may need to tweak the sudoers, increase the resource limits in the php.ini. etc.
https://support.nagios.com/kb/article/n ... es-34.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios ESX VMware Monitoring Wizard error
Hi,
I followed your instructions. Please find attached
I followed your instructions. Please find attached
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Nagios ESX VMware Monitoring Wizard error
Hello, @aajibad1. Seems like you have some errors in your configuration files. Can you check the Host Escalations and Service Escalations in Core Configuration Manager? If you do have escalations please mark them as inactive(disable) and try to reapply the configuration in Tools/Config File Management(click on Write Configs, then Verify). Then you can enable one escalation at a time, manually open and fix it in the etc folder and then click on Write Configs again.
Or one easier solution would be to revert to a previous working Configuration Snapshot in Core Configuration Manager. That's located in Configuration Snapshots menu.
After the config errors are fixed, you can try to rerun the wizard one more time.
What version of XI are you running? Have you upgraded recently?
Or one easier solution would be to revert to a previous working Configuration Snapshot in Core Configuration Manager. That's located in Configuration Snapshots menu.
After the config errors are fixed, you can try to rerun the wizard one more time.
What version of XI are you running? Have you upgraded recently?
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.