Giter VIP home page Giter VIP logo

Comments (2)

carbolymer avatar carbolymer commented on August 29, 2024

It looks like you're using python 2.7 by default on your system. I suppose that's because of some type conversion issues discrepancies between python 2 and 3. I've just pushed the changes (803296a) which explicitly use python 3. Can you check if the issue still occurs?

If yes, please provide version of python and influxdb python package.

from mtr-monitor.

mmihir82 avatar mmihir82 commented on August 29, 2024

Hello @carbolymer, @Napsty, I have also InfluxDB, Grafana docker running, what configuration you made to have it working? I am using python3 and mtr-monitor is running.

● mtr-monitor.service - MTR Monitor
   Loaded: loaded (/lib/systemd/system/mtr-monitor.service; disabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-10-16 00:30:49 PDT; 14min ago
 Main PID: 25797 (mtr-monitor.sh)
    Tasks: 12 (limit: 11059)
   CGroup: /system.slice/mtr-monitor.service
           ├─25797 /bin/bash /opt/mtr-monitor/mtr-monitor.sh
           ├─34941 /bin/bash /opt/mtr-monitor/mtr-monitor.sh
           ├─34942 /bin/bash /opt/mtr-monitor/mtr-monitor.sh
           ├─34943 mtr --report --json --report-cycles 30 ai.io
           ├─34944 sleep 40
           ├─34945 python3 /opt/mtr-monitor/save_data.py --host localhost --port 8086
           ├─34946 mtr --report --json --report-cycles 30 docker.io
           ├─34947 python3 /opt/mtr-monitor/save_data.py --host localhost --port 8086
           ├─34948 mtr-packet
           ├─34950 mtr-packet
           ├─34951 mtr --report --json --report-cycles 30 quay.io
           └─34952 mtr --report --json --report-cycles 30 nvcr.io

Oct 16 00:30:49 node01-net-dev systemd[1]: Started MTR Monitor.

But i don't anything in the dashboard? What changes I need to make:

CONTAINER ID        IMAGE                       COMMAND                  CREATED             STATUS                 PORTS                                                  NAMES
1428156f7d36        grafana/grafana:7.2.0       "/run.sh"                32 hours ago        Up 10 hours            127.0.0.1:3000->3000/tcp                           grafana
edfb8b7e03f8        telegraf:1.15.3-alpine      "/entrypoint.sh tele…"   36 hours ago        Up 10 hours            8092/udp, 8094/tcp, 127.0.0.1:8125->8125/udp           telegraf
87fdace453ff        influxdb:1.8-alpine         "/entrypoint.sh infl…"   36 hours ago        Up 10 hours            127.0.0.1:8086->8086/tcp                               influxdb

from mtr-monitor.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.