Skip to content
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

Use of uninitialized value $count in numeric lt (<) at /root/ViPullStatistics.pl line 129 #76

Closed
goebelmeier opened this issue May 19, 2016 · 8 comments
Assignees
Labels

Comments

@goebelmeier
Copy link

Hi there,

i've just installed a fresh sexigraf instance and provided vCenter credentials for a read-only user. Now i see the following loglines in /var/log/sexigraf/ViPullStatistics.log:
[2016/05/19 08:50:05] /root/ViPullStatistics.pl line129 - WARN Use of uninitialized value $count in numeric lt (<) at /root/ViPullStatistics.pl line 129.

Any ideas?

@rschitz
Copy link
Member

rschitz commented May 19, 2016

Do you have any empty cluster?

@goebelmeier
Copy link
Author

All 5 clusters have hosts and VMs inside. So there's no empty cluster.

@rschitz
Copy link
Member

rschitz commented May 19, 2016

i get it we mess with the $count variable.
could you try to replace my $count; by my $count = 0; at line 127

@goebelmeier
Copy link
Author

Thank you. The errors are gone now, but unfortunately we don't get any data points. Is there any way to turn on detailed debugging?

@sexibytes
Copy link
Collaborator

sexibytes commented May 19, 2016 via email

@goebelmeier
Copy link
Author

I do see the datapoints for the local system on the Home dashboard, but for example VMware Cluster FullStats is showing "no datapoints found"

@rschitz
Copy link
Member

rschitz commented May 19, 2016

could you check in /var/lib/graphite/whisper/vmw/ if there is any folders and files there?

@rschitz
Copy link
Member

rschitz commented May 19, 2016

bdd02a0

@rschitz rschitz added the bug label May 23, 2016
@rschitz rschitz added this to the 0.99d - Nova Prospekt milestone May 23, 2016
@rschitz rschitz self-assigned this May 23, 2016
@rschitz rschitz closed this as completed May 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants