-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with VSAN Capacity and API version 6.7.1 #181
Comments
Hi Markus, |
Hello Raphaël, I have no manually replaced the PullVsanStatistics.pl file with the one from the source bundle. |
Looks like it's not working anymore at all. |
A fresh installation of the .ova file from the website together with the upgrade to 0.99e1 brought me to the same status. No errors on the VsanDisksPullStatistics.log anymore Looks like VSAN capacity is completely broken.. |
Hi Markus, could you try this version of the script please? https://github.com/sexibytes/sexigraf/blob/dev/root/VsanPullStatistics.pl |
Really great, it's working again. Thank you very much |
Thank YOU for your support ;) |
Hello all,
we are using script version 0.9.181 of Sexigraf.
Our vSphere environment is running on 6.7 Update 1.
The capacity information is not working anymore since we updated from 6.5 to 6.7.1.
In the ViPullStatistics we see the following warning:
/root/VsanPullStatistics.pl line250 - WARN Argument "6.7.1" isn't numeric in numeric ge (>=) at /root/VsanPullStatistics.pl line 250.
On that line in the file VsanPullStatistics.pl there is no relevant statement.
But on line 209 there is the following which seems to be related:
if ($host_api >= 6.7) {
I think it's not such a good idea to compare a string with a number using the greater or equal operator.
Maybe it's better using a module like https://metacpan.org/pod/Version::Compare
Regards
Markus
The text was updated successfully, but these errors were encountered: