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

fresh install: All vmware dashbords shows no data #130

Closed
maxgldn opened this issue Sep 29, 2017 · 27 comments
Closed

fresh install: All vmware dashbords shows no data #130

maxgldn opened this issue Sep 29, 2017 · 27 comments

Comments

@maxgldn
Copy link

maxgldn commented Sep 29, 2017

downloaded latest from sexigraf.fr
added vcenter server
but any vmware dashbords shows no data

Grafana Error on dashboard states:
Graphite encountered an unexpected error while handling your request.
Please contact your site administrator if the problem persists.
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py
", line 111, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/dist-packages/graphite/render/views.py", line 110, in renderView seriesList = evaluateTarget(requestContext, target)

File "/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py", line 10, in evaluateTarget result = evaluateTokens(requestContext, tokens)
File "/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py", line 21, in evaluateTokens return evaluateTokens(requestContext, tokens.expression)
File "/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py", line 28, in evaluateTokens args = [evaluateTokens(requestContext, arg) for arg in tokens.call.args]
File "/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py", line 21, in evaluateTokens return evaluateTokens(requestContext, tokens.expression) File "/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py", line 29, in evaluateTokens return func(requestContext, *args)
File "/usr/lib/python2.7/dist-packages/graphite/render/functions.py", line 431, in asPercent normalize([seriesList])
File "/usr/lib/python2.7/dist-packages/graphite/render/functions.py", line 120, in normalize step = reduce(lcm,[s.step for s in seriesList])
TypeError: reduce() of empty sequence with no initial value

@sexibytes
Copy link
Collaborator

sexibytes commented Sep 29, 2017 via email

@maxgldn
Copy link
Author

maxgldn commented Sep 29, 2017 via email

@rschitz
Copy link
Member

rschitz commented Sep 29, 2017 via email

@maxgldn
Copy link
Author

maxgldn commented Sep 29, 2017 via email

@sexibytes
Copy link
Collaborator

sexibytes commented Sep 29, 2017 via email

@maxgldn
Copy link
Author

maxgldn commented Oct 2, 2017 via email

@sexibytes
Copy link
Collaborator

sexibytes commented Oct 2, 2017 via email

@maxgldn
Copy link
Author

maxgldn commented Oct 2, 2017 via email

@Ololz
Copy link

Ololz commented Oct 4, 2017

Hello,
I've the same issue :
vSphere 6.5 / vCSA
SexiGraf v0.99d

Only one cluster in vCenter too.
It's a fresh install.

Regards,

@rschitz
Copy link
Member

rschitz commented Oct 4, 2017

Now that's weird, can you provide the path of one wsp file in /var/lib/graphite/whisper/vmw please?

@rschitz
Copy link
Member

rschitz commented Oct 4, 2017

@maxgldn can you provide me web access to begin with?

@Ololz
Copy link

Ololz commented Oct 4, 2017

Hello, see a screen shot :

image

I don't have any file in this folder

@rschitz
Copy link
Member

rschitz commented Oct 4, 2017

did you enable the VI checks? (last part of step 4 in http://www.sexigraf.fr/quickstart/)

@Ololz
Copy link

Ololz commented Oct 4, 2017

It was not enable. It's done, now. I did not understand correctly this step .. My apologies.

Now, I will try to use SexiLog ;)

Thanks for your support !

@rschitz
Copy link
Member

rschitz commented Oct 4, 2017

No problem, Enjoy!

@maxgldn
Copy link
Author

maxgldn commented Oct 4, 2017 via email

@maxgldn
Copy link
Author

maxgldn commented Oct 4, 2017 via email

@CDawson1
Copy link

CDawson1 commented Dec 7, 2017

@rschitz

Thought I'd chime in here as well. I've just deployed a new instance of this and am experiencing the same issue. Yes, VI is enabled. I have three hosts, no clusters. I do see all of my VMs in the offline inventory. I've tried to clear some things and start fresh by deleting the vsphere client the cred store, purge all files, restart the services. And I still receive the following on several screens, if not showing no data points...

I can provide remote creds as well.

&#10;<center>&#10;<h2>&#10;<p>Graphite encountered an unexpected error while handling your request.</p>&#10;<p>Please contact your site administrator if the problem persists.</p>&#10;</h2>&#10;<br>&#10;<div>&#10;&#10;</div>&#10;&#10;<div>&#10;<pre>Traceback (most recent call last):&#10; File &#34;/usr/lib/python2.7/dist-packages/django/core/handlers/base.py&#34;, line 111, in get_response&#10; response = wrapped_callback(request, *callback_args, **callback_kwargs)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/views.py&#34;, line 110, in renderView&#10; seriesList = evaluateTarget(requestContext, target)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py&#34;, line 10, in evaluateTarget&#10; result = evaluateTokens(requestContext, tokens)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py&#34;, line 21, in evaluateTokens&#10; return evaluateTokens(requestContext, tokens.expression)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py&#34;, line 28, in evaluateTokens&#10; args = [evaluateTokens(requestContext, arg) for arg in tokens.call.args]&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py&#34;, line 21, in evaluateTokens&#10; return evaluateTokens(requestContext, tokens.expression)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/evaluator.py&#34;, line 29, in evaluateTokens&#10; return func(requestContext, *args)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/functions.py&#34;, line 268, in averageSeries&#10; (seriesList,start,end,step) = normalize(seriesLists)&#10; File &#34;/usr/lib/python2.7/dist-packages/graphite/render/functions.py&#34;, line 120, in normalize&#10; step = reduce(lcm,[s.step for s in seriesList])&#10;TypeError: reduce() of empty sequence with no initial value&#10;&#10;</pre>&#10;</div>&#10;&#10;</center>&#10;

@maxgldn
Copy link
Author

maxgldn commented Dec 7, 2017 via email

@CDawson1
Copy link

CDawson1 commented Dec 7, 2017

Thanks. I’ll give it a go and report back.

@CDawson1
Copy link

CDawson1 commented Dec 8, 2017

Done, done and done. No joy, I still see no stats under VMware All Cluster Top N VM stats, and the various errors are still present.

@vmdude
Copy link
Member

vmdude commented Dec 8, 2017

@CDawson1 If you have no cluster in your vCenter, there will be no data in the *Cluster* dashboards, these are reserved for objects in a cluster.

@CDawson1
Copy link

CDawson1 commented Dec 8, 2017

Fair enough, but I can't get data on any VM from any host. In any event, I'd not expect the error anyway, regardless of whether there's a cluster.

@vmdude
Copy link
Member

vmdude commented Dec 8, 2017

What is the dashboard you're looking at?
Again, if there is *Cluster* in the dashboard name and you don't have any cluster, the error is "normal" unfortunately.
We're working to add VM stats for standalone ESX server, but it's not yet released.

@CDawson1
Copy link

CDawson1 commented Dec 8, 2017

Fair point. And if that's the case, then that answers the question.

Thanks!

@luisg0nc
Copy link

luisg0nc commented Feb 7, 2018

@vmdude When will this be available for a standalone ESXi Server? I have no clusters, just 1 host and it does not work on any panels. For now it just detects VMs.

@sexibytes sexibytes deleted a comment from sexibytes Feb 8, 2018
@sexibytes sexibytes deleted a comment from sexibytes Feb 8, 2018
@vmdude
Copy link
Member

vmdude commented Feb 8, 2018

@luisg0nc We're still working on this, we don't have an ETA for now sorry :(

@rschitz rschitz closed this as completed Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants