Hello XI Support
We are unable to retrieve vCenter Datacenter objects after credentials change (and change back to those we've used before) for box293 plugin
No vCenter datacenters found!
When testing from vma (to obtain the version), we get one, but username requested once more. Username contains '@' symbol and so is the password.
Please help to fix this (worked previously with the same XI & vMA appliance)
Thank you
Unable to retrieve vCenter Datacenter objects
Re: Unable to retrieve vCenter Datacenter objects
XI-side test:dlukinski wrote:Hello XI Support
We are unable to retrieve vCenter Datacenter objects after credentials change (and change back to those we've used before) for box293 plugin
No vCenter datacenters found!
When testing from vma (to obtain the version), we get one, but username requested once more. Username contains '@' symbol and so is the password.
Please help to fix this (worked previously with the same XI & vMA appliance)
Thank you
Credentials test did not perform as expected on the vMA host 10.102.36.177 connecting to the VMware server 172.18.20.13!
Please refer to the box293_check_vmware manual on how to configure the credentials on the vMA host.
Output from command:
CRITICAL - Plugin timed out after 10 seconds
Re: Unable to retrieve vCenter Datacenter objects
I found this in the Manual for the plugin.
This is the link to the plugin if you need to refer to the manual for setting up the permissions for the plugin.
https://exchange.nagios.org/directory/P ... re/details
Try that and see if this fixes the issue for you.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”.
This is the link to the plugin if you need to refer to the manual for setting up the permissions for the plugin.
https://exchange.nagios.org/directory/P ... re/details
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to retrieve vCenter Datacenter objects
I cannot retrieve ANY objects, not just the datastores. That is after going back to the previous credentials.tgriep wrote:I found this in the Manual for the plugin.
Try that and see if this fixes the issue for you.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”.
This is the link to the plugin if you need to refer to the manual for setting up the permissions for the plugin.
https://exchange.nagios.org/directory/P ... re/details
What kind of permissions would be required for vSphere so that box293 works especially if I get this:
Credentials test did not perform as expected on the vMA host 10.102.36.177 connecting to the VMware server 172.18.18.13!
Please refer to the box293_check_vmware manual on how to configure the credentials on the vMA host.
Output from command:
CRITICAL - Plugin timed out after 10 seconds
- we've followed the manual
Re: Unable to retrieve vCenter Datacenter objects
Updated vMA and credentials are now testing OKdlukinski wrote:I cannot retrieve ANY objects, not just the datastores. That is after going back to the previous credentials.tgriep wrote:I found this in the Manual for the plugin.
Try that and see if this fixes the issue for you.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”.
This is the link to the plugin if you need to refer to the manual for setting up the permissions for the plugin.
https://exchange.nagios.org/directory/P ... re/details
What kind of permissions would be required for vSphere so that box293 works especially if I get this:
Credentials test did not perform as expected on the vMA host 10.102.36.177 connecting to the VMware server 172.18.18.13!
Please refer to the box293_check_vmware manual on how to configure the credentials on the vMA host.
Output from command:
CRITICAL - Plugin timed out after 10 seconds
- we've followed the manual
Test Results
Credentials tested OK!
but still n datacenters found.
Only thing would be vMA being 5.5 and vCenter is version 6 (should we deploy vMA version 6 just as well?)
Also got ESXi host 6.5 vMA or the plugin cannot find
Re: Unable to retrieve vCenter Datacenter objects
Hi
We've found the resolution - had to do with passwords & username special character combination
/Dimitri
We've found the resolution - had to do with passwords & username special character combination
/Dimitri
Re: Unable to retrieve vCenter Datacenter objects
Thanks for reporting back your findings, if you don't have any more questions, shall I lock the post for you?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to retrieve vCenter Datacenter objects
Please lock and Thank you once again (very interesting case where username has to be quoted if the pwd has special char, but no need to quote if only username has special char)tgriep wrote:Thanks for reporting back your findings, if you don't have any more questions, shall I lock the post for you?