1. 17 Nov, 2021 1 commit
    • Torbjörn Lönnemark's avatar
      Monitor core routers · 52cbf5f7
      Torbjörn Lönnemark authored
      Currently requires snmp_exporter to be patched with the following patch, since
      the core routers reply from a different source address than the one the SNMP
      request was sent to.
      
      A patched binary was manually installed.
      
      This should be unnecessary once a proper fix has been merged to snmp_exporter
      upstream.
      
      diff --git a/collector/collector.go b/collector/collector.go
      index a6c2329..64de891 100644
      --- a/collector/collector.go
      +++ b/collector/collector.go
      @@ -122,6 +122,7 @@ func ScrapeTarget(ctx context.Context, target string, config *config.Module, log
       	snmp.MaxRepetitions = config.WalkParams.MaxRepetitions
       	snmp.Retries = config.WalkParams.Retries
       	snmp.Timeout = config.WalkParams.Timeout
      +	snmp.UseUnconnectedUDPSocket = true
      
       	var sent time.Time
       	snmp.OnSent = func(x *gosnmp.GoSNMP) {
      52cbf5f7
  2. 10 Nov, 2021 1 commit
  3. 09 Nov, 2021 1 commit
  4. 08 Nov, 2021 1 commit
  5. 05 Nov, 2021 1 commit
  6. 03 Nov, 2021 2 commits
  7. 02 Nov, 2021 1 commit
  8. 23 Oct, 2021 1 commit
  9. 16 Aug, 2020 4 commits