box_293, Plugin unable to retrieve datastores information
Re: box_293, Plugin unable to retrieve datastores informatio
Sorry, my mistake, I meant the read-only account that was setup on the VCenter server and not the vi-admin account. Can you try that one and see if you can see the Datastores?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: box_293, Plugin unable to retrieve datastores informatio
Please could you give me the command to check the datastores from VMA
Re: box_293, Plugin unable to retrieve datastores informatio
Yes using the account we can login to vcenter and view the datastores. But not from this plugin. We can retrieve host information, but not datastores. PFA
You do not have the required permissions to view the files attached to this post.
Re: box_293, Plugin unable to retrieve datastores informatio
If you want to run the command from the VMA server, login to it using the vi-admin account and run the following. I have added the --debug option for the command so we can view the verbose output and possibly get the errors on why it is not working.
Please post the output.
When the debug option is used, is will put that output in the file below in the VMA server so you could post that if you like.
Please post the output.
Code: Select all
~/box293_check_vmware.pl --timeout 90 --server 10.161.183.30 --check Datastore_Usage --name "Datastore1" --reporting_si "Disk_Size:GB" "--warning" "datastore_free:300" "--critical" "datastore_free:200" --debug
~/box293_check_vmware.pl --versionCode: Select all
/home/vi-admin/box293_check_vmware_debug_log.txtBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: box_293, Plugin unable to retrieve datastores informatio
Hi, we get the data for datastore with this command on vi-admin
PFA. But not on webconsole
PFA. But not on webconsole
You do not have the required permissions to view the files attached to this post.
Re: box_293, Plugin unable to retrieve datastores informatio
The debug appears to be correct.
Looking at your image, it appears things line up properly, but just to make sure - are you logging into the server you're using check_by_ssh with as 'vi-admin' too? Can you show us the output of running it through check_by_ssh as well from the CLI?
Looking at your image, it appears things line up properly, but just to make sure - are you logging into the server you're using check_by_ssh with as 'vi-admin' too? Can you show us the output of running it through check_by_ssh as well from the CLI?
Former Nagios Employee
Re: box_293, Plugin unable to retrieve datastores informatio
Please find the below output
*************************************
[[email protected] ~]$ /usr/local/nagios/libexec/check_by_ssh -E –t 30 1 -l vi-admin -H xx.xx.xx.xx -C "~/box293_check_vmware.pl --server xx.xx.xx.xx --check vCenter_Name_Version"
OK: VMware vCenter Server 5.5.0 build-3252642
Can you come online on webex and check this for me
Regards,
Beena
*************************************
[[email protected] ~]$ /usr/local/nagios/libexec/check_by_ssh -E –t 30 1 -l vi-admin -H xx.xx.xx.xx -C "~/box293_check_vmware.pl --server xx.xx.xx.xx --check vCenter_Name_Version"
OK: VMware vCenter Server 5.5.0 build-3252642
Can you come online on webex and check this for me
Regards,
Beena
Re: box_293, Plugin unable to retrieve datastores informatio
I have downloaded the newer version of box_293 version. 2016-10-02.
I will configure this and let you know
Thanks
I will configure this and let you know
Thanks
Re: box_293, Plugin unable to retrieve datastores informatio
Sounds good - let us know if you have any further questions.
Former Nagios Employee
Re: box_293, Plugin unable to retrieve datastores informatio
yes this worked, 
please close this ticket
please close this ticket