Giter Site home page Giter Site logo

Comments (3)

naxhh avatar naxhh commented on July 23, 2024

👋 the answer will be two indeed. We try to group concepts regardless of origin.

You can check an example on EXT-SERVICE

The TL;DR is to add a new rule in the definition that identifies data from mikrotik.

About dashboards you will need to provide one dashboard for mikrotik and one for kentik (the existing one)
See some docs here

And the same for summary and golden metrics.

Here is an example i have not thought a lot about but for reference

synthesis:
  rules:
   # Kentik source
    - name: device_name
    identifier: device_name
    encodeIdentifierInGUID: true
    conditions:
    - attribute: provider
      value: kentik-router
      tags:
        provider:
          entityTagName: instrumentation.provider

   # Mikrotik
    - name: "?" # i dont see a good name attribute. is serialnumber good enough? model?
    identifier: mikrotik.serialnumber
    encodeIdentifierInGUID: true
    conditions:
    - attribute: mikrotik.model
      tags:
        ?: # do we have an attribute value that would be unique for mikrotik? let's assume the value is mikrotik for the examples
          entityTagName: instrumentation.provider

dashboardTemplates:
  kentik-router:
    template: dashboard.json
  mikrotik:
    template: dashboard_mikrotik.json

An example of Summary metric, will be similar for GM:

cpuUtilization:
  title: CPU Utilization (%)
  unit: PERCENTAGE
  queries:
      kentik-router
        select: average(kentik.snmp.CPU)
        from: Metric
        where: "provider = 'kentik-router'"
        eventId: entity.guid
    mikrotik:
      select: average(mikrotik.system.cpu.load)
      from: Metric
      eventId: entity.guid

from entity-definitions.

OscarDCorbalan avatar OscarDCorbalan commented on July 23, 2024

Thanks @naxhh!

PR open

from entity-definitions.

naxhh avatar naxhh commented on July 23, 2024

Great work! closing this one

from entity-definitions.

Related Issues (16)

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.