WaterByWind / grafana-dashboards

Grafana Dashboards
MIT License
292 stars 54 forks source link

I can't get SNMP to work #6

Open wioxjk opened 7 years ago

wioxjk commented 7 years ago

Hi,

Being a total novice in setting up SNMP stuff, I am now reaching out to you.

I have set up the EdgeOS device (ERX SFP) with following config:

snmp {
    community public {
        authorization ro
        network 192.168.2.0/24
    }
    listen-address 192.168.2.1 {
        port 161
    }
}

But I can't manage it to work. I have placed telegraf-inputs.conf info /etc/telegraf/telegraf.d/ and installed the dependencies (net-snmp and net-snmp-utils) in order to remove the error messages about "snmptranslate not found in $PATH".

Now I get the following instead: telegraf: 2017-05-22T07:49:07Z E! Error in plugin [inputs.snmp]: took longer to collect than collection interval (5s)

Being a novice in SNMP stuff (as mentioned earlier) I would really appreciate some pointers.

NOTE: I am running CentOS 7 core.

wioxjk commented 7 years ago

The inputfile is as follows:

input.txt

(pasting the config directly is not welcome by github)

riccla0321 commented 6 years ago

Did you find the solution for this? I'm struggling with it as well, and I can't wrap my head around why it wouldn't work.

wioxjk commented 6 years ago

@riccla0321 I did not actually, after struggling with it for a couple of weeks I put it on ice.