Giter Club home page Giter Club logo

Comments (12)

IgorKha avatar IgorKha commented on June 20, 2024

SNMPv2-SMI::enterprises.14988.1.1.20.2.1 = No more variables left in this MIB View (It is past the end of the MIB tree)

1.3.6.1.4.1.14988.1.1.20.2.1.* Is responsible for IKE security association. Should be displayed when ipsec is running, but I haven't tested that

Error scraping target" err="error walking target x.x.x.x: request timeout (after 3 retries)

never seen such a issue. I use SNMP v3 trap in my mikrotik and snmp_exporter 0.20.0
Try running snmp_exporter from my repository, he 100% work and open in you browser http://host.ip.address:9116/snmp?module=mikrotik&target=mikrotik.ip.address

from grafana-mikrotik.

IgorKha avatar IgorKha commented on June 20, 2024

yes, I tested 1.3.6.1.4.1.14988.1.1.20.2.1.* works if ipsec connect is active

from grafana-mikrotik.

wellsgz avatar wellsgz commented on June 20, 2024

I guess the problem may due to lack of IPsec conn in my setup. I have masked 1.3.6.1.4.1.14988 in snmp.yml and the rest works well.

from grafana-mikrotik.

IgorKha avatar IgorKha commented on June 20, 2024

this is not error
do not need to masked, 1.3.6.1.4.1.14988 does not interfere with the work even if there is no data in this OID

from grafana-mikrotik.

auterpring avatar auterpring commented on June 20, 2024

I have a same issue
http://localhost:9116/snmp?target=192.168.1.254&module=mikrotik

output: `An error has occurred while serving metrics:

error collecting metric Desc{fqName: "snmp_error", help: "Error scraping target", constLabels: {}, variableLabels: []}: error walking target 192.168.1.254: request timeout (after 3 retries)`

prometheus config:
`scrape_configs:

  • job_name: 'prometheus'
    scrape_interval: 5s

    static_configs:

    • targets: ['localhost:9090']
  • job_name: 'Mikrotik'
    static_configs:

    • targets:
      • 192.168.1.254 # SNMP device.
        metrics_path: /snmp
        params:
        module: [mikrotik]
        relabel_configs:
    • source_labels: [address]
      target_label: __param_target
    • source_labels: [__param_target]
      target_label: instance
    • target_label: address
      replacement: localhost:9116
      `
      Targets:
      Screenshot from 2022-01-31 14-06-32

from grafana-mikrotik.

IgorKha avatar IgorKha commented on June 20, 2024

@auterpring
maybe you have 7.x version of rOS installed ?
In version 7, delays in the response to SNMP on weak models were noticed

from grafana-mikrotik.

auterpring avatar auterpring commented on June 20, 2024

@auterpring maybe you have 7.x version of rOS installed ? In version 7, delays in the response to SNMP on weak models were noticed

No, I have 6.48.3. RouterOS version.
BTW, when I use MIB Browser, I can get all information and OIDs

from grafana-mikrotik.

auterpring avatar auterpring commented on June 20, 2024

@auterpring maybe you have 7.x version of rOS installed ? In version 7, delays in the response to SNMP on weak models were noticed

in Mikrotik log I can see, that exporter is working
Screenshot from 2022-01-31 15-46-17
g

from grafana-mikrotik.

IgorKha avatar IgorKha commented on June 20, 2024

port 9116 open? could it be that the log is generated due to the MIB Browser ?
try opening exporter_ip:9116 and manually fill in the required fields
Screenshot_20220131_170807

@auterpring maybe you have 7.x version of rOS installed ? In version 7, delays in the response to SNMP on weak models were noticed

in Mikrotik log I can see, that exporter is working Screenshot from 2022-01-31 15-46-17 g

from grafana-mikrotik.

auterpring avatar auterpring commented on June 20, 2024

port 9116 open? could it be that the log is generated due to the MIB Browser ? try opening exporter_ip:9116 and manually fill in the required fields Screenshot_20220131_170807

@auterpring maybe you have 7.x version of rOS installed ? In version 7, delays in the response to SNMP on weak models were noticed

in Mikrotik log I can see, that exporter is working Screenshot from 2022-01-31 15-46-17 g

port 9116 is open

I resolve this issue using base snmp.yml from prometheus/snmp_exporter.
Now I try to generate new snmp.yml file

from grafana-mikrotik.

IgorKha avatar IgorKha commented on June 20, 2024

@auterpring
The problem is not snmp.yml
Your problem is that Prometheus cannot reach port 9116 of the exporter
Try specifying a real (not localhost) exporter IP in prometheus.yml, like replacement: 192.168.1.5:9116

from grafana-mikrotik.

auterpring avatar auterpring commented on June 20, 2024

@auterpring The problem is not snmp.yml Your problem is that Prometheus cannot reach port 9116 of the exporter Try specifying a real (not localhost) exporter IP in prometheus.yml, like replacement: 192.168.1.5:9116

oh, it works with any other module
module=if_mib
besides mikrotik
module=mikrotik

from grafana-mikrotik.

Related Issues (20)

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.