Comments (9)
ok, I will have a look. Did you only upgrad the ES (from which version?) or did you also make more changes? For example did you migrated to new HW, switched to different user account that is running ES, switched hosting provider... etc?
One option is that the ES JSON response format has changed. The other option is that you are missing sigar
libs or the user does not have permissions to read the system info on that machine.
from bigdesk.
Hiya,
I've only upgraded ES to 0.20.2 from 0.19.x ( with a complete restart of course )
Strange thing is that on a fresh 0.20.2 machine its working fine.
from bigdesk.
Does it mean you are able to replicate the issue?
from bigdesk.
Did you ever work out what happened here?
I have the same problem (ie exact same graphs greyed out, same ones working) on 0.18 and 0.19 (I recently upgraded from an old bigdesk version for 0.18 on which it wasn't very noticeable)
Is this a permissions issues? I tried reading some values of "/proc" as (non-root) user elasticsearch, eg:
runuser -s /bin/bash - elasticsearch -c "cat /proc/meminfo"
and it worked fine, but I'm not sure how exactly you are collecting the system stats?
(I'm running on a mix of Centos5/Centos6 machines on Amazon EC2 if it makes any difference)
Thanks for any insight/debugging suggestions!
from bigdesk.
This system info is collected via sigar
library. And I can think of basically the following reasons why it may not work:
- sigar library is not provided or is missing on the classpath
- For example I think sigar is not provided by default when ES is started in embedded mode
- sigar does not support your platform
- Consult http://support.hyperic.com/display/SIGAR/Home for compatibility matrix
- Also check that libraries that are required to support your platform are found in
<ES_HOME>/lib/sigar
- sigar libs fail to load
- May be you can try to turn on low level logging to learn about this (see [1,2])
- sigar is loaded but elasticsearch user does not have a permissions to read this system level info or the read fails due to some other reason
- Not sure if this can really happen (may be it would fail to initialize the libs in first place) but according to the code in such case the related
SigarException
s are not logged [3] (not saying this is ES bug!) - Try to use
curl
to get the raw JSON data from the admin API to see if there are any data available that should be displayed in the charts in the bigdesk
- Not sure if this can really happen (may be it would fail to initialize the libs in first place) but according to the code in such case the related
[1] As of writing the latest 0.19.12 ES load sigar libs in the following code:
https://github.com/elasticsearch/elasticsearch/blob/v0.19.12/src/main/java/org/elasticsearch/monitor/sigar/SigarService.java
So you can turn on appropriate log at the trace
level to see more details.
[2] Sigar fail can also be logged in MonitorModule configuration, see:
https://github.com/elasticsearch/elasticsearch/blob/v0.19.12/src/main/java/org/elasticsearch/monitor/MonitorModule.java#L80 (interestingly, it can fall back to JMX system info collector implementation)
[3] For example check Network info: https://github.com/elasticsearch/elasticsearch/blob/v0.19.12/src/main/java/org/elasticsearch/monitor/network/SigarNetworkProbe.java
HTH, basically I did not personally find me in the situation where the charts were missing so I did not have an urgent need to think about possible workarounds. But I wouldn't mind improving bigdesk if I learn how in this case. So feedback is really welcome.
from bigdesk.
OK thanks for the pointers - one(-ish) more dumb question ... can you give me an example of how you're getting the data for one of the charts I can't display?
Eg which elasticsearch call if that's how you're getting all of them? There's a load of status calls in the API, they all seem to work but maybe they should be returning less than they are (and hence the resulting graphs are blank)
eg under OS, I not only get no graphs, but also the following text:
CPU vendor: n/a
CPU model: n/a
CPU total logical cores: n/a
CPU cache: n/a
which API call does that come from?
Similarly under Filesystem I get no graphs (read/writes are "n/a"), and device and mount are "n/a" (the path/free/available/total are correctly populated) - which API call do these come from?
Thanks again!
Alex
from bigdesk.
Heh never mind, looks like my install RPM doesn't copy the .so files across, I suppose I'm truly a java programmer now when my first thought isn't "gah must be some problem with shared object files", not sure if that's a good thing or not.. :)
I guess you can close this issue since the OP must have had the same problem based on his description?
Rudely late edit: thanks again for the pointers!
Even more rudely late edit: also thanks for providing an a great utility! (even more awesome now I have all these "extra" graphs)
from bigdesk.
I think we can close this issue.
from bigdesk.
Thanks @electrical
from bigdesk.
Related Issues (20)
- Problems with Apache reverse proxy and bigdesk plugin HOT 1
- can't install plugin with elasticsearch 2.0.0 HOT 18
- File not found plugin-descriptor.properties HOT 2
- why i can't find plugin-descriptor.properties in this branch HOT 8
- about 'normalizedDeltaToSeconds' on line 43 HOT 2
- _site plugins will be dropped in Elasticsearch HOT 2
- v2.5.0 bigdesk won't show any graphs HOT 2
- big desk installation fails on ES 2.1.0 HOT 2
- can't install plugin with elasticsearch 2.2.0 HOT 6
- Syntax Error HOT 1
- Cant install big desk plugin as plugin-descriptor.properties in plugin zip is missing HOT 16
- Add units in charts(Y-axis) HOT 1
- Bigdesk behind Nginx RP HOT 1
- cannt install bigdesk HOT 6
- Any plan to release a supported version for ES 2.x ? HOT 1
- Empty graphics in bigdesk plugin HOT 2
- Is possible for supporting elasticsearch5.x.y ? HOT 4
- how to support elasticsearch with search-guard HOT 4
- checkVersion error HOT 1
- bigdesk.org HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bigdesk.