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

Graphs are all black/empty #90

Open
bolemo opened this issue Aug 31, 2020 · 15 comments
Open

Graphs are all black/empty #90

bolemo opened this issue Aug 31, 2020 · 15 comments

Comments

@bolemo
Copy link

bolemo commented Aug 31, 2020

41CABB56-A547-4BC0-B027-DAB6E442947C
E84AD5B7-D444-4F2C-B964-3E09F0173E14
After fresh installation of vaping on a Synology DiskStation (not through Docker), I am able to start it using example config (stand-alone), and the webpage is accessible, and there are frames where the graphs are supposed to be, but all is empty (see screenshots).

root@Mnemosyne:~/vaping# vaping start --home=~/vaping --debug
pluginmgr hook.compile(vaping.plugins) __init__.py:25
pluginmgr ctor: self._instance={} self._class={} config.py:37
pluginmgr ctor: self._instance={'std_fping': <FPing "std_fping" at 0x2253d90: _run>} self._class={'fping': <class 'vaping.plugins.fping.FPing'>} config.py:37
PidFile <pid.PidFile object at 0x22eaf40> entering setup __init__.py:77
PidFile <pid.PidFile object at 0x22eaf40> create pidfile: /root/vaping/vaping.pid __init__.py:170
PidFile <pid.PidFile object at 0x22eaf40> check pidfile: /root/vaping/vaping.pid __init__.py:157
pluginmgr ctor: self._instance={'std_fping': <FPing "std_fping" at 0x2253d90: _run>, 'vodka': <VodkaPlugin "vodka" at 0x22c94e8: _run>} self._class={'fping': <class 'vaping.plugins.fping.FPing'>, 'vodka': <class 'vaping.plugins.vodka.VodkaPlugin'>} config.py:37
2020-08-31 23:38:23,949 - vodka - DEBUG: making sure configuration is sane ...
vodka making sure configuration is sane ... log.py:39
2020-08-31 23:38:23,966 - vodka - WARNING: [config unknown] 'name is not a known configuration variable and has been ignored'
vodka [config unknown] 'name is not a known configuration variable and has been ignored' log.py:66
2020-08-31 23:38:23,969 - vodka - WARNING: [config unknown] 'type is not a known configuration variable and has been ignored'
vodka [config unknown] 'type is not a known configuration variable and has been ignored' log.py:66
2020-08-31 23:38:23,996 - vodka - WARNING: [config unknown] 'apps.graphsrv.tmpl_engine is not a known configuration variable and has been ignored'
vodka [config unknown] 'apps.graphsrv.tmpl_engine is not a known configuration variable and has been ignored' log.py:66
2020-08-31 23:38:24,206 - vodka - WARNING: [config deprecated] plugins.http.host is being deprecated in version Well be removed in 3.0, it's being replaced by the 'bind' config attribute
vodka [config deprecated] plugins.http.host is being deprecated in version Well be removed in 3.0, it's being replaced by the 'bind' config attribute log.py:66
2020-08-31 23:38:24,209 - vodka - WARNING: [config deprecated] plugins.http.port is being deprecated in version Will be removed in 3.0, it's being replaced by the 'bind' config attribute
vodka [config deprecated] plugins.http.port is being deprecated in version Will be removed in 3.0, it's being replaced by the 'bind' config attribute log.py:66
2020-08-31 23:38:24,215 - vodka - DEBUG: instantiating data types
vodka instantiating data types log.py:39
2020-08-31 23:38:24,217 - vodka - DEBUG: instantiating plugins
vodka instantiating plugins log.py:39
2020-08-31 23:38:24,254 - vodka - DEBUG: instantiating applications
vodka instantiating applications log.py:39
2020-08-31 23:38:24,256 - vodka - DEBUG: starting plugins
vodka starting plugins log.py:39
2020-08-31 23:38:24,347 - vodka - DEBUG: starting http ..
vodka starting http .. log.py:39
 * Serving Flask app "vaping" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
werkzeug  * Running on http://0.0.0.0:7021/ (Press CTRL+C to quit) _internal.py:113
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
2020-08-31 23:39:15,769 - vodka - DEBUG: /opt/lib/python3.8/site-packages/graphsrv-1.6.1-py3.8.egg/graphsrv/etc/layouts.yaml has changed, reloading layout config...
vodka /opt/lib/python3.8/site-packages/graphsrv-1.6.1-py3.8.egg/graphsrv/etc/layouts.yaml has changed, reloading layout config... application.py:209
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET / HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET / HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET /static/graphsrv/js/jquery.js?v=1.6.1 HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET / HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET /static/graphsrv/js/bootstrap.min.js?v=1.6.1 HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET /static/graphsrv/media/bootstrap.min.css?v=1.6.1 HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET /static/graphsrv/media/graphsrv.css?v=1.6.1 HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET /graph?targets=all&id=auto-1&fit=yes&type=multitarget&config=multitarget&source=latency.public_dns HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET /static/graphsrv/js/jquery.js/?v=1.6.1 HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET /static/graphsrv/js/bootstrap.min.js/?v=1.6.1 HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET /static/graphsrv/media/bootstrap.min.css/?v=1.6.1 HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:16] "GET /static/graphsrv/media/graphsrv.css/?v=1.6.1 HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /graph/?targets=all&id=auto-1&fit=yes&type=multitarget&config=multitarget&source=latency.public_dns HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/twentyc.core.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/twentyc.core.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/popper.min.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/popper.min.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/bootstrap.min.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/bootstrap.min.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/d3.v5.min.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/d3.v5.min.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/graphsrv.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/graphsrv.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/graphsrv.multitarget.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "GET /static/graphsrv/js/graphsrv.multitarget.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:17] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:20] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:23] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:26] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:29] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:32] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:35] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:38] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:41] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:44] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:47] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:50] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:52] "GET /view/detail/latency.public_dns HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /view/detail/latency.public_dns/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /static/graphsrv/js/jquery.js?v=1.6.1 HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /static/graphsrv/js/bootstrap.min.js?v=1.6.1 HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /static/graphsrv/media/bootstrap.min.css?v=1.6.1 HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /static/graphsrv/media/graphsrv.css?v=1.6.1 HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /graph?targets=all&id=multitarget-1&fit=yes&type=multitarget&config=multitarget&source=latency.public_dns HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /graph?targets=all&id=smokestack-1&fit=yes&type=smokestack&config=smokestack&source=latency.public_dns HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /graph?targets=all&id=smokestack-2&fit=yes&type=smokestack&config=smokestack&source=latency.public_dns HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /graph?targets=all&id=smokestack-3&fit=yes&type=smokestack&config=smokestack&source=latency.public_dns HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /static/graphsrv/js/jquery.js/?v=1.6.1 HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /static/graphsrv/js/bootstrap.min.js/?v=1.6.1 HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /static/graphsrv/media/bootstrap.min.css/?v=1.6.1 HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /static/graphsrv/media/graphsrv.css/?v=1.6.1 HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /graph/?targets=all&id=multitarget-1&fit=yes&type=multitarget&config=multitarget&source=latency.public_dns HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /graph/?targets=all&id=smokestack-1&fit=yes&type=smokestack&config=smokestack&source=latency.public_dns HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:53] "GET /graph/?targets=all&id=smokestack-2&fit=yes&type=smokestack&config=smokestack&source=latency.public_dns HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /graph/?targets=all&id=smokestack-3&fit=yes&type=smokestack&config=smokestack&source=latency.public_dns HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/twentyc.core.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/twentyc.core.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/popper.min.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/popper.min.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/bootstrap.min.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/bootstrap.min.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/d3.v5.min.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/d3.v5.min.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/graphsrv.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/graphsrv.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/graphsrv.multitarget.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/graphsrv.multitarget.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/graphsrv.smokestack.js HTTP/1.1" 308 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "GET /static/graphsrv/js/graphsrv.smokestack.js/ HTTP/1.1" 200 - _internal.py:113
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:54] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:39:57] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:40:00] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:40:03] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:40:06] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:40:09] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:40:12] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
werkzeug 192.168.0.7 - - [31/Aug/2020 23:40:15] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
werkzeug 192.168.0.7 - - [31/Aug/2020 23:40:18] "POST /graph_data/ HTTP/1.1" 200 - _internal.py:113
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
vaping.plugins.fping emit to vodka __init__.py:190
vaping.plugins.fping popen fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222 __init__.py:102
vaping.plugins.fping queue emission to vodka (0) __init__.py:192
^CKeyboardInterrupt
2020-08-31T21:40:32Z
vaping.daemon stopping vodka daemon.py:189
vaping.daemon stopping latency daemon.py:189

Aborted!
@vegu
Copy link
Contributor

vegu commented Sep 1, 2020

Hi

  • Can you paste your config please
  • If you open the browser's developer console/tools are you getting any javascript errors in there

@bolemo
Copy link
Author

bolemo commented Sep 1, 2020

Sure,

Config (standalone_dns yml file wget directly from github and unchanged):

probes:
  - name: latency
    type: std_fping
    output:
      - vodka

    groups:
      - name: public_dns
        hosts:
          - host: 8.8.8.8
            name: Google
            color: red
          - host: 4.2.2.1
            name: Level(3)
            color: blue
          - host: 208.67.222.222
            name: OpenDNS
            color: orange

plugins:
  - name: std_fping
    type: fping
    count: 10
    interval: 3s
    output:
      - vodka

  - name: vodka
    type: vodka
    logging:
      version: 1
      formatters:
        simple:
          format: '%(asctime)s - %(name)s - %(levelname)s: %(message)s'
      handlers:
        console:
          class: logging.StreamHandler
          level: DEBUG
          formatter: simple
          stream: ext://sys.stdout
      loggers:
        vodka:
          level: DEBUG
          handlers:
            - console

    data:
      - type: fping
        handlers:
          - type: index
            index: host
          - type: store
            container: list
            limit: 500

    apps:
      graphsrv:
        tmpl_engine: jinja2
        enabled: true
        graphs:
          multitarget:
            id_field: host
            type: multitarget
            plot_y: avg
            format_y: ms

          smokestack:
            id_field: host
            type: smokestack
            plot_y: avg

    plugins:

      - name: http
        type: flask
        host: 0.0.0.0
        port: 7021
        debug: true
        static_url_path: /static
        server: self
        async: thread
        routes:
          /targets : graphsrv->targets
          /graph_data :
            methods:
              - POST
              - GET
            target: graphsrv->graph_data
          /graph : graphsrv->graph_view
          /overview_read_file : graphsrv->overview_read_file
          /: graphsrv->overview_view


And JavaScript console shows some errors:
graphsrv.js:1465
> TypeError: this.d3.data.selectAll("g")
>         .data(this.data)
>         .enter is not a function. (In 'this.d3.data.selectAll("g")
>         .data(this.data)
>         .enter()', 'this.d3.data.selectAll("g")
>         .data(this.data)
>         .enter' is undefined)

And:
graphsrv.jv:382
> TypeError: undefined is not an object (evaluating 'this.graph.data[0]')

@vegu
Copy link
Contributor

vegu commented Sep 1, 2020

That javascript error is definitely an issue, not quite sure what's happening

What's your output for pip freeze also what browser are you using to look at this?

@bolemo
Copy link
Author

bolemo commented Sep 1, 2020

root@Mnemosyne:~# pip freeze
certifi==2020.6.20
chardet==3.0.4
click==7.1.2
docutils==0.16
Flask==1.1.2
future==0.18.2
gevent==1.5.0
graphsrv==1.6.1
greenlet==0.4.16
idna==2.10
itsdangerous==2.0.0a1
Jinja2==2.11.2
lockfile==0.12.2
MarkupSafe==2.0.0a1
munge==0.6.0
pid==2.2.5
pluginmgr==0.6.0
python-daemon==2.2.4
PyYAML==5.3.1
requests==2.24.0
twentyc.tmpl==0.2.0
urllib3==1.25.10
vaping==1.2.0
vodka==2.3.0
Werkzeug==1.0.

Browsers tested:
on iPad: Safari, Firefox, Chrome
on Samsung Galaxy: Samsung Internet
on Windows 10: Chrome

All the same

@vegu
Copy link
Contributor

vegu commented Sep 2, 2020

What do you get you if you try to access /graph_data/ in your browser? does it give you any json?

What python version and os are you on? I wonder if running as root as anything to do with it - honestly not sure what could be causing your issue at this point

@vegu
Copy link
Contributor

vegu commented Sep 2, 2020

Since the /graph_data/ endpoint expects a post might be easier to check the networking in the browser dev tools ("Network" in the chrome console for example) and see if the requests return properly.

@bolemo
Copy link
Author

bolemo commented Sep 2, 2020

74E8583E-AC0A-4330-B563-381D556830F0
B91D9DF8-2A7F-4F9F-8F5C-9268BEBF57B6

It does get to /graph_data/

Also, the console shows more detailed errors that can help some /static/graphsrv/ files that are not being delivered (404). Probably the core of the problem here...

Launched from user different than root, same result.

OS info:

admin@Mnemosyne:~$ uname -a
Linux Mnemosyne 3.2.40 #25426 SMP Wed Jul 8 03:10:10 CST 2020 armv7l GNU/Linux synology_comcerto2k_ds414j

Synology DiskStation

@vegu
Copy link
Contributor

vegu commented Sep 3, 2020

Hmm, looks like those requests are coming back without any graphing data (judging from the size, can look at the response to confirm)

If you are running the unmodified example config for standalone_dns example, the response size should be around 800B.

Those 404s, while unseemly, are harmless and are not required by vaping, just haven't been cleaned up yet - i get them as well.

@bolemo
Copy link
Author

bolemo commented Sep 3, 2020

I will check the response, but yes, I am running un modified example.
All it takes is a folder with the config.yml file in it and run vaping start --home=PATH_TO_FOLDER --debug right?
You don’t see any fix soon, right? I’m asking because I will need to setup something soon that is working and I will need to consider an alternative (probably smokeping).

@vegu
Copy link
Contributor

vegu commented Sep 3, 2020

All it takes is a folder with the config.yml file in it and run vaping start --home=PATH_TO_FOLDER --debug right?

correct

You don’t see any fix soon, right? I’m asking because I will need to setup something soon that is working and I will need to consider an alternative (probably smokeping).

yeah, unless i am able to reproduce the issue a quick fix seems unlikely at this point.

However one more thing i thought of - since the graph data appears to be missing maybe fping isnt returning anything. What do you get when you run it manually?

 fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222

@bolemo
Copy link
Author

bolemo commented Sep 3, 2020

Problem with fping. Same problem with self compiled or from Entware.

root@Mnemosyne:/opt/etc/netdata# file /usr/local/bin/fping 
/usr/local/bin/fping: setuid ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /opt/lib/ld-linux.so.3, for GNU/Linux 2.6.32, with debug_info, not stripped
root@Mnemosyne:/opt/etc/netdata# fping -u -C10 -p20 -e 8.8.8.8 4.2.2.1 208.67.222.222
root@Mnemosyne:/opt/etc/netdata# echo $?
4

I don’t understand the problem. fping —help returns the help information, but fping -v for example returns nothing (error 4) as any other fping call.

@grizz
Copy link
Member

grizz commented Sep 3, 2020

Hrm, error 4 is a system call failure. It's setuid, but @bolemo what uid owns it?

ls -al /usr/local/bin/fping

@bolemo
Copy link
Author

bolemo commented Sep 3, 2020

root

root@Mnemosyne:~# ls -al /usr/local/sbin/fping
-rwsr-xr-x 1 root root 115240 Sep  3 18:19 /usr/local/sbin/fping

@bolemo
Copy link
Author

bolemo commented Sep 4, 2020

I posted an issue about this on the fping github page.

@grizz
Copy link
Member

grizz commented Oct 11, 2021

@bolemo any update on this?

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

3 participants