grafana-dashboards icon indicating copy to clipboard operation
grafana-dashboards copied to clipboard

I can't get SNMP to work

Open wioxjk opened this issue 7 years ago • 3 comments

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 avatar May 22 '17 07:05 wioxjk

The inputfile is as follows:

input.txt

(pasting the config directly is not welcome by github)

wioxjk avatar May 22 '17 08:05 wioxjk

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.

riccla0321 avatar Sep 27 '17 22:09 riccla0321

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

wioxjk avatar Sep 28 '17 08:09 wioxjk