Blank graph with mtr and fping
See original GitHub issueI am trying to setup a dashboard with both mtr and fping probes but I am seeing blank graphs. Looks like graphsrv is not rendering it correctly. (Having this example would be great.)
Any thoughts?
2021-09-24 09:56:49,295 - vaping.plugins.fping_mtr - DEBUG: popen traceroute -n -w1 -q1 5.11.175.212
vaping.plugins.fping_mtr popen traceroute -n -w1 -q1 35.211.175.212 __init__.py:128
* 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 all addresses.
WARNING: This is a development server. Do not use it in a production deployment. _internal.py:225
werkzeug * Running on http://10.85.147.204:8080/ (Press CTRL+C to quit) _internal.py:225
root b' 1 10.142.128.86 31.449 ms\n' fping_mtr.py:43
root b' 2 10.142.128.1 24.804 ms\n' fping_mtr.py:43
root b' 3 10.69.128.128 30.841 ms\n' fping_mtr.py:43
root b' 4 10.69.129.118 31.518 ms\n' fping_mtr.py:43
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
- name: gcp
hosts:
- host: 5.11.175.212
name: github
color: yellow
- name: mtr
type: fping_mtr
default_graph: mtr
group: mtr.gcp
host: 35.211.175.212
name: github
output:
- vodka
plugins:
- name: std_fping
type: fping
count: 10
interval: 3s
period: 100
output:
- vodka
- name: fping_mtr
type: fping_mtr
interval: 3s
- name: vodka
type: vodka
data:
# We have to add a new data type to handle mtr data
- type: fping_mtr
handlers:
- type: index
index: host
- type: store
container: list
limit: 100
- name: vodka
type: vodka
data:
- type: fping
handlers:
- type: index
index: host
- type: store
container: list
limit: 500
apps:
graphsrv:
enabled: true
graphs:
multitarget:
id_field: host
type: multitarget
plot_y: avg
format_y: ms
smokestack:
id_field: host
type: smokestack
plot_y: avg
mtr:
id_field: host
type: mtr
plugins:
- name: http
type: flask
bind: 0.0.0.0:8080
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
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
#file:
# class: logging.FileHandler
# level: DEBUG
# formatter: simple
# filename: /home/dev/sandbox/vaping/vaping.log
loggers:
vaping:
level: DEBUG
handlers:
- console
#- file
vodka:
level: DEBUG
handlers:
- console
#- file
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Configuration Options - Observium
Define directories used by Observium. temp_dir is used to store temporary graphs by the web interface. Location of Executables. $config[ ...
Read more >Vaping - NANOG
Successfully real-time graphing fping.* ... fping uses fping to ping multiple hosts fping_mtr mtr style output using fping command*.
Read more >Configuration Docs - LibreNMS Docs
Configuration Docs. LibreNMS configuration is a set of key values. The config is stored in two places: Database: This applies to all pollers...
Read more >How Do I Troubleshoot a Ping Failure or Packet Loss Using a ...
This section uses Tracert and MTR as an example to describe how to troubleshoot packet loss or long delay. Possible Causes. Packet loss...
Read more >Advanced Examples - Vaping - Read the Docs
Requires traceroute. We use the traceroute command to determine the hops to send to fping. Make sure it is installed. MTR Graph is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@penguin02007
Testing with your config file i ran into several issues
One was #135 - which is now fixed on master and will go out with the next release.
The other was that this section in your config trips up vaping because of the duplicate
name
definition, after pulling the #135 fix and removing the second name definition the overview rendered for me. Still a bunch of js errors going into the console, but that looks like a separate issue.Note: if you change the name to
github
you will also need to change the group togithub.gcp
Sorry I missed the notification.
No it doesn’t.
Yes. See below. I can re-procedure this error on two different computer.