No Datastore Found - VMware Virtualization Wizard
No Datastore Found - VMware Virtualization Wizard
Hi Team,
We are trying to monitor VCenter using VMWare virtualization wizard. We have VMA in place and validate VMA and VCenter connectivity from VMware vMA Settings Manager is succesfull. Please find the attached screenshot for your reference.
Note - No datastore found, No hosts Found, No Guest Found
We are trying to monitor VCenter using VMWare virtualization wizard. We have VMA in place and validate VMA and VCenter connectivity from VMware vMA Settings Manager is succesfull. Please find the attached screenshot for your reference.
Note - No datastore found, No hosts Found, No Guest Found
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: No Datastore Found - VMware Virtualization Wizard
Is it just the datastores not working? Does other functionality work?
Edit:
Sorry I just re-read your post and it seems to be everything.
Please email [email protected] and I'll send you a beta version of the plugin to try.
Edit:
Sorry I just re-read your post and it seems to be everything.
Please email [email protected] and I'll send you a beta version of the plugin to try.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: No Datastore Found - VMware Virtualization Wizard
Hi Box293,
We are able to get the list of datastores now. Now, while configuring this datastores for monitoring, we want it to be monitored based on percentage instead of bytes. Please find below the check commands we already tried to achieve this monitoring based on percentage,
Default Check Command in GB:
Best Regards,
BSanjay
We are able to get the list of datastores now. Now, while configuring this datastores for monitoring, we want it to be monitored based on percentage instead of bytes. Please find below the check commands we already tried to achieve this monitoring based on percentage,
Default Check Command in GB:
Trying to monitor based on percentage used but getting incorrect output "OK" instead of "WARNING":/usr/local/nagios/libexec/check_by_ssh -E 1 -t 90 -l vi-admin -H 10.20.45.16 -C "~/box293_check_vmware.pl --timeout 90 --server 10.20.44.176 --check Datastore_Usage --name \"BRNFS1\" --reporting_si \"Disk_Size:GB\" \"--warning\" \"datastore_used:3897\" \"--critical\" \"datastore_used:4384\""
WARNING: Datastore 'BRNFS1' {Free Space: 516.6 GB} {Used Space: 4,355.4 GB (WARNING >= 3,897)} {Capacity: 4,872 GB}|'Free Space'=516.6GB 'Used Space'=4355.4GB;3897;4384 'Capacity'=4872GB [Datastore_Usage]
Please suggest how to acheive this monitoring based on percentage instead of Bytes./usr/local/nagios/libexec/check_by_ssh -E 1 -t 90 -l vi-admin -H 10.20.45.16 -C "~/box293_check_vmware.pl --timeout 90 --server 10.20.44.176 --check Datastore_Usage --name BRNFS1 --reporting_si Disk_Size:GB --warning datastore_used%:80 --critical datastore_used%:90"
OK: Datastore 'BRNFS1' {Free Space: 516.6 GB} {Used Space: 4,355.4 GB} {Capacity: 4,872 GB}|'Free Space'=516.6GB 'Used Space'=4355.4GB 'Capacity'=4872GB [Datastore_Usage]
Best Regards,
BSanjay
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: No Datastore Found - VMware Virtualization Wizard
I'm not an expert in this like @Box293 but can you try adding the escaped quotes around the parameters like you have it in the first command?
Code: Select all
/usr/local/nagios/libexec/check_by_ssh -E 1 -t 90 -l vi-admin -H 10.20.45.16 -C "~/box293_check_vmware.pl --timeout 90 --server 10.20.44.176 --check Datastore_Usage --name \"BRNFS1\" --reporting_si \"Disk_Size:GB\" \"--warning\" \"datastore_used%:80\" \"--critical\" \"datastore_used%:90\""Re: No Datastore Found - VMware Virtualization Wizard
Hi Scott,
I did tried with this command also, but the problem is this gives incorrect output. Because the datastore usage is above 80 % and it should give output as WARNING but it's showing as OK.
Please find attached the screenshot for your reference,
Best Regards,
BSanjay
I did tried with this command also, but the problem is this gives incorrect output. Because the datastore usage is above 80 % and it should give output as WARNING but it's showing as OK.
Please find attached the screenshot for your reference,
Best Regards,
BSanjay
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: No Datastore Found - VMware Virtualization Wizard
I'm going to reach out to Box293 and have him follow up, I think it has to do with the --reporting_si flag, but I'm not sure what to set.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: No Datastore Found - VMware Virtualization Wizard
The --perfdata_option is what is required in addition to your existing arguments.
Code: Select all
--perfdata_option Datastore_Used%:1As 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: No Datastore Found - VMware Virtualization Wizard
Actually I think this is a bug that I've fixed in a beta version of the pluging. Can you please email [email protected] and I'll send you the beta version of the plugin.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: No Datastore Found - VMware Virtualization Wizard
Yes, we did already tried with this option also but we are getting getting incorrect value in output.Box293 wrote:The --perfdata_option is what is required in addition to your existing arguments.
Code: Select all
--perfdata_option Datastore_Used%:1
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: No Datastore Found - VMware Virtualization Wizard
Email @Box293 at [email protected] and he'll send you the beta version of the pluginBox293 wrote:Actually I think this is a bug that I've fixed in a beta version of the pluging. Can you please email [email protected] and I'll send you the beta version of the plugin.