Coder Social home page Coder Social logo

Comments (15)

ThomasMcDo avatar ThomasMcDo commented on August 20, 2024 1

I will upload a simple txt file with all the steps later today.... I am doing it again on a fresh install.. ;)

from mds_traffic_monitor.

paregupt avatar paregupt commented on August 20, 2024

Yes. The steps are the same. Some hints are in the readme. Let me know if you need help.

from mds_traffic_monitor.

ThomasMcDo avatar ThomasMcDo commented on August 20, 2024

Thanks for the reply. Yes I understand that, but can I run both on the same host/Grafana instance?

from mds_traffic_monitor.

paregupt avatar paregupt commented on August 20, 2024

Yes.

from mds_traffic_monitor.

ThomasMcDo avatar ThomasMcDo commented on August 20, 2024

Excellent.... I shall give it a try...... I appreciate the quick response.

from mds_traffic_monitor.

ThomasMcDo avatar ThomasMcDo commented on August 20, 2024

The local_sys.json do I merge that with the current one for UCS?

from mds_traffic_monitor.

paregupt avatar paregupt commented on August 20, 2024

Don't merge. Just use one of them. Prefer from UTM.

from mds_traffic_monitor.

ThomasMcDo avatar ThomasMcDo commented on August 20, 2024

I don't see the dashboards, I just copied them to /usr/local/UTM/grafana/dashboards (switches.json and switchports.json).

root@utm dashboards]# python3 /usr/local/telegraf/mds_traffic_monitor*.py -h
Traceback (most recent call last):
File "/usr/local/telegraf/mds_traffic_monitor_high_frequency.py", line 17, in
import requests
ModuleNotFoundError: No module named 'requests'

from mds_traffic_monitor.

paregupt avatar paregupt commented on August 20, 2024

Import dashbboards from grafana GUI. See this: https://www.since2k7.com/blog/2020/02/29/cisco-ucs-monitoring-using-grafana-influxdb-telegraf-utm-installation/#Import_dashboards

The other error is because Python module is missing, which shouldn't be the case with UTM VM because it has it installed. Did you install all the packages by yourself? Try installing requests module using pip3 install requests. Web search for more detials on installing Python modules.

from mds_traffic_monitor.

ThomasMcDo avatar ThomasMcDo commented on August 20, 2024

Installed the OVA and did a manual upgrade. The UCS part is working fine..

from mds_traffic_monitor.

paregupt avatar paregupt commented on August 20, 2024

ok, I missed. UTM doesn't need requests module, whereas MTM does it need it because of NX-API.
Install it via

pip3 install requests

Let me know how it goes. If you want, we can get on a webex to make it work.

from mds_traffic_monitor.

ThomasMcDo avatar ThomasMcDo commented on August 20, 2024

I guess this could also be extended to NX-OS based Cisco switches.

from mds_traffic_monitor.

paregupt avatar paregupt commented on August 20, 2024

Yes, it can be extended but need some development and testing effort.

BTW, did it work?

from mds_traffic_monitor.

ThomasMcDo avatar ThomasMcDo commented on August 20, 2024

Yes, thank you for the helpful hints.

from mds_traffic_monitor.

paregupt avatar paregupt commented on August 20, 2024

Glad to know.

Anything you can share for helping others who do the same in the future? Installing the requests module is one thing. What else?

from mds_traffic_monitor.

Related Issues (10)

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.