VMWARE Wizard (vMA plugin) could not find datastores
VMWARE Wizard (vMA plugin) could not find datastores
Hello XI Support
Please help with VMWARE plugin (one done by Troy Lea) which is unable to retrieve VMWARE Datastores
- works for vCenter
- works for Hosts
But not datastores (No datastores found!) when trying to "Retrieve Datastores.
- Multiple VMWARE 5.5 Clusters + 3 PAR store on the other side
Please help with VMWARE plugin (one done by Troy Lea) which is unable to retrieve VMWARE Datastores
- works for vCenter
- works for Hosts
But not datastores (No datastores found!) when trying to "Retrieve Datastores.
- Multiple VMWARE 5.5 Clusters + 3 PAR store on the other side
Re: VMWARE Wizard (vMA plugin) could not find datastores
I would like to see the service check that's being generated from the wizard and try it out on my test VMware server. You can view the service check by clicking this button:
You do not have the required permissions to view the files attached to this post.
Re: VMWARE Wizard (vMA plugin) could not find datastores
There are no service checks generated, because it cannot list datastores to begin with?jolson wrote:I would like to see the service check that's being generated from the wizard and try it out on my test VMware server. You can view the service check by clicking this button:
Re: VMWARE Wizard (vMA plugin) could not find datastores
I found the following in the Manual and it looks like it is a permission issue. Try changing that and see if that helps.
Plugin fails to find objects such as Datastores
It has been observed that in some instances the plugin cannot locate datastores. For example:
Command:
• ./box293_check_vmware.pl --server vcenter.box293.local --check Datastore_Usage --name VOL_01
Output:
• UNKNOWN: Datastore 'VOL_01' not found
The problem is with the permissions that have been applied in the vSphere Client. For some reason assigning
the permissions at the top level of “Inventory > Hosts and Clusters” is not enough. You need to also assign the
permissions at the top level of “Inventory > Datastores and Datastore Clusters”.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: VMWARE Wizard (vMA plugin) could not find datastores
tgriep wrote:I found the following in the Manual and it looks like it is a permission issue. Try changing that and see if that helps.Plugin fails to find objects such as Datastores
It has been observed that in some instances the plugin cannot locate datastores. For example:
Command:
• ./box293_check_vmware.pl --server vcenter.box293.local --check Datastore_Usage --name VOL_01
Output:
• UNKNOWN: Datastore 'VOL_01' not found
The problem is with the permissions that have been applied in the vSphere Client. For some reason assigning
the permissions at the top level of “Inventory > Hosts and Clusters” is not enough. You need to also assign the
permissions at the top level of “Inventory > Datastores and Datastore Clusters”.
I was told these were assigned, but have no way to verify.
- still not listing datastores during the initial wizard configurations
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: VMWARE Wizard (vMA plugin) could not find datastores
You can open the vSphere client as the user that the vMA connects as.dlukinski wrote:I was told these were assigned, but have no way to verify.
Then navigate to Inventory > Datastores and Datastore Clusters.
If you can see the datastores, then the permissions is correct.
If it's not permission related, please do the following:
Log into the vMA as vi-admin
Execute the follwowing command:
Code: Select all
~/box293_check_vmware.pl --server your_vcenter_server --check List_Datastores --debugPlease PM me that file and I'll investigate some more.
AND also if it errors with something like Can't use an undefined value as an ARRAY reference at /home/vi-admin/box293_check_vmware.pl line xxx let me know what that line says.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: VMWARE Wizard (vMA plugin) could not find datastores
Box293 wrote:You can open the vSphere client as the user that the vMA connects as.dlukinski wrote:I was told these were assigned, but have no way to verify.
Then navigate to Inventory > Datastores and Datastore Clusters.
If you can see the datastores, then the permissions is correct.
If it's not permission related, please do the following:
Log into the vMA as vi-admin
Execute the follwowing command:This will create the file /home/vi-admin/box293_check_vmware_debug_log.txtCode: Select all
~/box293_check_vmware.pl --server your_vcenter_server --check List_Datastores --debug
Please PM me that file and I'll investigate some more.
AND also if it errors with something like Can't use an undefined value as an ARRAY reference at /home/vi-admin/box293_check_vmware.pl line xxx let me know what that line says.
Hello Troy
Here you go: command output attached
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: VMWARE Wizard (vMA plugin) could not find datastores
Do you have any datastores that are currently not connected, like when the host is turned off they appear in italics?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: VMWARE Wizard (vMA plugin) could not find datastores
In answer to your previous email, I am able to navigate via VIEW - INVENTORY - DATASTORES AND DATASTORE CLUSTERS.Box293 wrote:Do you have any datastores that are currently not connected, like when the host is turned off they appear in italics?
- not via INVENTORY top menu, though.
None in italic.
Wonder if the number of datastores would be an issue?
- there are quite a few (200+)
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: VMWARE Wizard (vMA plugin) could not find datastores
Give me a couple of days to investigate and see what is going on.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.