Skip to content

Commit

Permalink
Move snmp into the bosun.org repo since third party source is gone
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebrandt committed Dec 11, 2015
1 parent f0fe055 commit deae8a8
Show file tree
Hide file tree
Showing 17 changed files with 10 additions and 11 deletions.
3 changes: 1 addition & 2 deletions cmd/scollector/collectors/keepalived_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ import (
"reflect"
"strings"

"bosun.org/_third_party/github.com/mjibson/snmp"

"bosun.org/metadata"
"bosun.org/opentsdb"
"bosun.org/snmp"
)

type VRRPInstanceEntry struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/scollector/collectors/snmp.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"strconv"
"strings"

"bosun.org/_third_party/github.com/mjibson/snmp"
"bosun.org/cmd/scollector/conf"
"bosun.org/metadata"
"bosun.org/opentsdb"
"bosun.org/snmp"
)

var builtInSNMPs = map[string]func(cfg conf.SNMP){
Expand Down
2 changes: 1 addition & 1 deletion cmd/scollector/collectors/snmp_ciscobgp.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"strings"
"time"

"bosun.org/_third_party/github.com/mjibson/snmp"
"bosun.org/cmd/scollector/conf"
"bosun.org/metadata"
"bosun.org/opentsdb"
"bosun.org/snmp"
)

func SNMPCiscoBGP(cfg conf.SNMP) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package snmp
import (
"fmt"

"bosun.org/_third_party/github.com/mjibson/snmp/mib"
"bosun.org/snmp/mib"
)

// Get is a wrapper for SNMP.Get.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func TestCommunity(t *testing.T) {
ch <- test
}()
}
for _ = range communityTests {
for range communityTests {
test := <-ch
if (test.err == nil) != test.ok {
t.Errorf("%s invalid err: %s", test.str, test.err)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"sync"

"bosun.org/_third_party/github.com/mjibson/snmp/asn1"
"bosun.org/snmp/asn1"
)

var mibDir = ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"testing"

"bosun.org/_third_party/github.com/mjibson/snmp/asn1"
"bosun.org/snmp/asn1"
)

type LookupTest struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net"
"time"

"bosun.org/_third_party/github.com/mjibson/snmp/asn1"
"bosun.org/snmp/asn1"
)

// reserved binding values.
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions _third_party/github.com/mjibson/snmp/walk.go → snmp/walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"io"

"bosun.org/_third_party/github.com/mjibson/snmp/asn1"
"bosun.org/_third_party/github.com/mjibson/snmp/mib"
"bosun.org/snmp/asn1"
"bosun.org/snmp/mib"
)

// Walk is a wrapper for SNMP.Walk.
Expand Down
File renamed without changes.

0 comments on commit deae8a8

Please sign in to comment.