Hi,
I have followed documentation and configured box293 plugin to use vMA for monitoring my virtual environment which is being maintained through vcenter.
I am having trouble proceeding further from the wizard page. on step 2 of VMWare virtualization monitoring wizard I am able to retrieve all the objects except for hosts. plugin is able to retrieve vCenter objects, Datastore and guests but when I click on retrieve hosts nothing happens and in a moment it displays "No hosts found!"
Any help is appreciated.
Box293 monitoring through vma
Re: Box293 monitoring through vma
Troy (@Box293) should be around in a bit to help out, but in the meantime do you get any errors in /var/log/httpd/error_log when this happens?
Former Nagios employee
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Box293 monitoring through vma
It sounds like you have it all configured correctly, we just need to determine what is breaking the hosts bit.
What version of ESXi hosts are these?
I assume you are using version 2015-05-21 of the plugin.
In the steps below,
10.ZZZ.ZZZ.ZZZ = vCenter server
Log onto the vMA appliance as vi-admin.
Execute the following command:
After all the output it will display how long it took to run, something like:
What does yours output?
Also, a debug log will be produced on the vMA appliance, can you please attach or PM the file:
/home/vi-admin/box293_check_vmware_debug_log.txt
As well as any errors in /var/log/httpd/error_log ON the Nagios XI server.
What version of ESXi hosts are these?
I assume you are using version 2015-05-21 of the plugin.
In the steps below,
10.ZZZ.ZZZ.ZZZ = vCenter server
Log onto the vMA appliance as vi-admin.
Execute the following command:
Code: Select all
time ~/box293_check_vmware.pl --server 10.ZZZ.ZZZ.ZZZ --check List_Hosts --debugCode: Select all
real 0m2.746s
user 0m2.592s
sys 0m0.052sAlso, a debug log will be produced on the vMA appliance, can you please attach or PM the file:
/home/vi-admin/box293_check_vmware_debug_log.txt
As well as any errors in /var/log/httpd/error_log ON the Nagios XI server.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Box293 monitoring through vma
Hi box293,
ESXi hosts version would be 5.5. Yes I am using the v 2015-05-21
Below is my output of the command
PM you the debug file
Nothing on /var/log/httpd/error_log
ESXi hosts version would be 5.5. Yes I am using the v 2015-05-21
Below is my output of the command
Code: Select all
real 0m16.752s
user 0m11.465s
sys 0m0.340sNothing on /var/log/httpd/error_log
Re: Box293 monitoring through vma
Could you send the debug to myself as well? It looks like @Box293 is having some connection issues.
Former Nagios employee
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Box293 monitoring through vma
I've had a look at the output and it seems the script is not completing and it's not generating any specific errors.
I would like to continue troubleshooting this in a remote support session as I will probably be able to determine what is wrong with my script and your environment.
I'll send you a PM with contact details.
I would like to continue troubleshooting this in a remote support session as I will probably be able to determine what is wrong with my script and your environment.
I'll send you a PM with contact details.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Box293 monitoring through vma
After a remote session we worked out the script was failing because some Hosts did not have any storage adapters and also datastores. Added some if(defined()) statements to work around the problem. Next version of the plugin will include this fix.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Box293 monitoring through vma
Thank you very much Troy.
Re: Box293 monitoring through vma
I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee