diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c9e3a3b..8897721 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,14 +21,6 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 - - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi - - name: Build main run: go build -v . diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 841435a..d91485a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,4 +18,4 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: - args: --disable unused --timeout 5m \ No newline at end of file + args: --disable unused --timeout 5m --skip-files _test.go \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da83e09..f35fd24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: goreleaser: - name: Release + name: GitHub Release runs-on: ubuntu-latest steps: - name: Checkout @@ -26,4 +26,28 @@ jobs: version: latest args: release --rm-dist env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + docker: + name: Docker Image + runs-on: ubuntu-latest + steps: + - name: Get metadata + id: meta + uses: docker/metadata-action@v3 + with: + images: ghcr.io/inexio/thola + tags: type=semver,pattern={{version}} + + - name: Login to GitHub Container Registry + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and push Docker image + uses: docker/build-push-action@v2 + with: + push: true + tags: ${{ steps.meta.outputs.tags }} \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca4d0f1..699e32a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,15 +21,10 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 - - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi - + - name: Generate mocks + run: go generate ./... + - name: Run tests - run: cd test && go test + run: go test ./... -v env: THOLA_TEST_SIMPLEUI: true \ No newline at end of file diff --git a/.gitignore b/.gitignore index dedf0bc..142e0ee 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ Thumbs.db # Thola specific files # ######################## -filesystem-vfsdata.go \ No newline at end of file +**/mocks +mock_* \ No newline at end of file diff --git a/cmd/check_interface_metrics.go b/cmd/check_interface_metrics.go index 3eb5e82..2fb3c16 100644 --- a/cmd/check_interface_metrics.go +++ b/cmd/check_interface_metrics.go @@ -12,6 +12,7 @@ func init() { checkCMD.AddCommand(checkInterfaceMetricsCMD) checkInterfaceMetricsCMD.Flags().Bool("print-interfaces", false, "Print interfaces to plugin output") + checkInterfaceMetricsCMD.Flags().Bool("print-interfaces-csv", false, "Print interfaces to plugin output as CSV") checkInterfaceMetricsCMD.Flags().Bool("snmp-gets-instead-of-walk", false, "Use SNMP Gets instead of Walks") checkInterfaceMetricsCMD.Flags().String("ifDescr-regex", "", "Apply a regex on the ifDescr of the interfaces. Use it together with the 'ifDescr-regex-replace' flag") checkInterfaceMetricsCMD.Flags().String("ifDescr-regex-replace", "", "Apply a regex on the ifDescr of the interfaces. Use it together with the 'ifDescr-regex' flag") @@ -29,6 +30,10 @@ var checkInterfaceMetricsCMD = &cobra.Command{ if err != nil { log.Fatal().Err(err).Msg("print-interfaces needs to be a boolean") } + printInterfacesCSV, err := cmd.Flags().GetBool("print-interfaces-csv") + if err != nil { + log.Fatal().Err(err).Msg("print-interfaces-csv needs to be a boolean") + } snmpGetsInsteadOfWalk, err := cmd.Flags().GetBool("snmp-gets-instead-of-walk") if err != nil { log.Fatal().Err(err).Msg("snmp-gets-instead-of-walk needs to be a boolean") @@ -58,6 +63,7 @@ var checkInterfaceMetricsCMD = &cobra.Command{ r := request.CheckInterfaceMetricsRequest{ CheckDeviceRequest: getCheckDeviceRequest(args[0]), PrintInterfaces: printInterfaces, + PrintInterfacesCSV: printInterfacesCSV, IfDescrRegex: utility.IfThenElse(cmd.Flags().Changed("ifDescr-regex"), &ifDescrRegex, nullString).(*string), IfDescrRegexReplace: utility.IfThenElse(cmd.Flags().Changed("ifDescr-regex-replace"), &ifDescrRegexReplace, nullString).(*string), IfTypeFilter: ifTypeFilter, diff --git a/doc/doc.go b/doc/doc.go index a53dc16..297e13f 100644 --- a/doc/doc.go +++ b/doc/doc.go @@ -28,4 +28,4 @@ package doc // Version specifies the current version. -const Version = "v0.3.5" +const Version = "v0.4.1" diff --git a/go.mod b/go.mod index 32cdcd0..4fc266d 100644 --- a/go.mod +++ b/go.mod @@ -6,10 +6,11 @@ require ( github.com/dgraph-io/badger/v2 v2.2007.2 github.com/go-resty/resty/v2 v2.3.0 github.com/go-sql-driver/mysql v1.5.0 + github.com/gocarina/gocsv v0.0.0-20210516172204-ca9e8a8ddea8 github.com/gomodule/redigo v1.8.4 github.com/google/go-cmp v0.5.4 github.com/gosnmp/gosnmp v1.30.0 - github.com/inexio/go-monitoringplugin v1.0.7 + github.com/inexio/go-monitoringplugin v1.0.8 github.com/jmoiron/sqlx v1.2.0 github.com/labstack/echo/v4 v4.2.1 github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db diff --git a/go.sum b/go.sum index 7b99f42..519dda9 100644 --- a/go.sum +++ b/go.sum @@ -76,6 +76,8 @@ github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs= github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/gocarina/gocsv v0.0.0-20210516172204-ca9e8a8ddea8 h1:hp1oqdzmv37vPLYFGjuM/RmUgUMfD9vQfMszc54l55Y= +github.com/gocarina/gocsv v0.0.0-20210516172204-ca9e8a8ddea8/go.mod h1:5YoVOkjYAQumqlV356Hj3xeYh4BdZuLE0/nRkf2NKkI= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= @@ -139,8 +141,8 @@ github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/J github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/inexio/go-monitoringplugin v1.0.7 h1:Aj47aNEykRJkaH/zEVOxFRF7/ekGDjyy7JofFi9SvK4= -github.com/inexio/go-monitoringplugin v1.0.7/go.mod h1:kzHRJGZ2iE/0IElB4NYI38h3h0HM5wqTTH7KyUCjkM8= +github.com/inexio/go-monitoringplugin v1.0.8 h1:MpfLgxrXzQNz6uYYph+I/voatFQ0g4VBDeO/6ghZtDs= +github.com/inexio/go-monitoringplugin v1.0.8/go.mod h1:kzHRJGZ2iE/0IElB4NYI38h3h0HM5wqTTH7KyUCjkM8= github.com/jmoiron/sqlx v1.2.0 h1:41Ip0zITnmWNR/vHV+S4m+VoUivnWY5E4OJfLZjCJMA= github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= @@ -269,6 +271,7 @@ github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/y github.com/spf13/viper v1.7.1 h1:pM5oEahlgWv/WnHXpgbKz7iLIxRf65tye2Ci+XFK5sk= github.com/spf13/viper v1.7.1/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1 h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= diff --git a/internal/communicator/create/create.go b/internal/communicator/create/create.go index 421ad42..f5c2376 100644 --- a/internal/communicator/create/create.go +++ b/internal/communicator/create/create.go @@ -142,7 +142,7 @@ func identifyDeviceRecursive(ctx context.Context, children map[string]hierarchy. } // return generic device class - if (con.SNMP == nil || len(con.SNMP.SnmpClient.GetSuccessfulCachedRequests()) == 0) && (con.HTTP == nil || len(con.HTTP.HTTPClient.GetSuccessfulCachedRequests()) == 0) { + if (con.SNMP == nil || !con.SNMP.SnmpClient.HasSuccessfulCachedRequest()) && (con.HTTP == nil || !con.HTTP.HTTPClient.HasSuccessfulCachedRequest()) { return nil, errors.New("no network requests to device succeeded") } return nil, tholaerr.NewNotFoundError("no device class matched") diff --git a/internal/communicator/deviceclass/device_class.go b/internal/communicator/deviceclass/device_class.go index 6abf242..57e766d 100644 --- a/internal/communicator/deviceclass/device_class.go +++ b/internal/communicator/deviceclass/device_class.go @@ -558,13 +558,19 @@ func (y *yamlComponentsInterfaces) convert(parentComponentsInterfaces *deviceCla } func (y *yamlComponentsOID) convert() (deviceClassOID, error) { - var idxMappings *deviceClassOID + res := deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: y.OID, + UseRawResult: y.UseRawResult, + }, + } + if y.IndicesMapping != nil { mappings, err := y.IndicesMapping.convert() if err != nil { return deviceClassOID{}, errors.New("failed to convert indices mappings") } - idxMappings = &mappings + res.indicesMapping = &mappings } if y.Operators != nil { @@ -572,24 +578,10 @@ func (y *yamlComponentsOID) convert() (deviceClassOID, error) { if err != nil { return deviceClassOID{}, errors.Wrap(err, "failed to read yaml oids operators") } - return deviceClassOID{ - SNMPGetConfiguration: network.SNMPGetConfiguration{ - OID: y.OID, - UseRawResult: y.UseRawResult, - }, - operators: operators, - indicesMapping: idxMappings, - }, nil + res.operators = operators } - return deviceClassOID{ - SNMPGetConfiguration: network.SNMPGetConfiguration{ - OID: y.OID, - UseRawResult: y.UseRawResult, - }, - operators: nil, - indicesMapping: idxMappings, - }, nil + return res, nil } func (y *yamlComponentsOID) validate() error { @@ -1604,7 +1596,12 @@ func interface2GroupPropertyReader(i interface{}, parentGroupPropertyReader grou return nil, errors.New("can't merge SNMP group property reader with property reader of different type") } - devClassOIDsMerged := parentSNMPGroupPropertyReader.oids.merge(*devClassOIDs) + parentSNMPGroupPropertyReaderOIDs, ok := parentSNMPGroupPropertyReader.oids.(*deviceClassOIDs) + if !ok { + return nil, errors.New("parent SNMP group property reader oids is not of type 'deviceClassOIDs'") + } + + devClassOIDsMerged := parentSNMPGroupPropertyReaderOIDs.merge(*devClassOIDs) devClassOIDs = &devClassOIDsMerged if index == nil { @@ -1612,7 +1609,10 @@ func interface2GroupPropertyReader(i interface{}, parentGroupPropertyReader grou } } - return &snmpGroupPropertyReader{index, *devClassOIDs}, nil + return &snmpGroupPropertyReader{ + index: index, + oids: devClassOIDs, + }, nil default: return nil, fmt.Errorf("unknown detection type '%s'", stringDetection) } diff --git a/internal/communicator/deviceclass/device_class_communicator.go b/internal/communicator/deviceclass/device_class_communicator.go index ada7a26..c113617 100644 --- a/internal/communicator/deviceclass/device_class_communicator.go +++ b/internal/communicator/deviceclass/device_class_communicator.go @@ -593,7 +593,7 @@ func (o *deviceClassCommunicator) GetInterfaces(ctx context.Context, filter ...f var interfaces []device.Interface - err = interfacesRaw.Decode(&interfaces) + err = interfacesRaw.decode(&interfaces) if err != nil { return nil, errors.Wrap(err, "failed to decode raw interfaces into interface structs") } diff --git a/internal/communicator/deviceclass/group_properties.go b/internal/communicator/deviceclass/group_properties.go index fada246..2e78f83 100644 --- a/internal/communicator/deviceclass/group_properties.go +++ b/internal/communicator/deviceclass/group_properties.go @@ -15,11 +15,13 @@ import ( "strings" ) +//go:generate go run github.com/vektra/mockery/v2 --name=oidReader --inpackage + type propertyGroup map[string]interface{} type propertyGroups []propertyGroup -func (g *propertyGroups) Decode(destination interface{}) error { +func (g *propertyGroups) decode(destination interface{}) error { return mapstructure.WeakDecode(g, destination) } @@ -29,7 +31,7 @@ type groupPropertyReader interface { type snmpGroupPropertyReader struct { index oidReader - oids deviceClassOIDs + oids oidReader } func (s *snmpGroupPropertyReader) getProperty(ctx context.Context, filter ...filter.PropertyFilter) (propertyGroups, []value.Value, error) { @@ -110,7 +112,7 @@ func (s *snmpGroupPropertyReader) getFilteredIndices(ctx context.Context, filter // find filter oid attrs := strings.Split(f.Key, "/") - reader := oidReader(&s.oids) + reader := s.oids for _, attr := range attrs { // check if current oid reader contains multiple OIDs multipleReader, ok := reader.(*deviceClassOIDs) @@ -219,7 +221,7 @@ func (d *deviceClassOIDs) merge(overwrite deviceClassOIDs) deviceClassOIDs { type deviceClassOID struct { network.SNMPGetConfiguration operators propertyOperators - indicesMapping *deviceClassOID + indicesMapping oidReader } func (d *deviceClassOID) readOID(ctx context.Context, indices []value.Value, skipEmpty bool) (map[int]interface{}, error) { @@ -248,10 +250,15 @@ func (d *deviceClassOID) readOID(ctx context.Context, indices []value.Value, ski ifIndexRelIndex := make(map[string]value.Value) for relIndex, ifIndex := range mappingIndices { - if idx, ok := ifIndexRelIndex[ifIndex.(value.Value).String()]; ok { + ifIndexValue, ok := ifIndex.(value.Value) + if !ok { + return nil, errors.New("index mapping oid didn't return a result of type 'value'") + } + ifIndexString := ifIndexValue.String() + if idx, ok := ifIndexRelIndex[ifIndexString]; ok { return nil, fmt.Errorf("index mapping resulted in duplicate ifIndex mapping on '%s'", idx.String()) } - ifIndexRelIndex[ifIndex.(value.Value).String()] = value.New(relIndex) + ifIndexRelIndex[ifIndexString] = value.New(relIndex) } var newIndices []value.Value @@ -321,14 +328,17 @@ func (d *deviceClassOID) readOID(ctx context.Context, indices []value.Value, ski mappedResult := make(map[int]interface{}) for k, v := range result { - var idx int - if _, ok := mappingIndices[k]; ok { - idx, err = mappingIndices[k].(value.Value).Int() - if err != nil { - return nil, errors.Wrap(err, "failed to convert Value to int") - } - } else { - idx = k + mappedIdx, ok := mappingIndices[k] + if !ok { + continue + } + idxValue, ok := mappedIdx.(value.Value) + if !ok { + return nil, errors.New("index mapping oid didn't return a result of type 'value'") + } + idx, err := idxValue.Int() + if err != nil { + return nil, errors.Wrap(err, "failed to convert Value to int") } if _, ok := mappedResult[idx]; ok { diff --git a/internal/communicator/deviceclass/group_properties_test.go b/internal/communicator/deviceclass/group_properties_test.go new file mode 100644 index 0000000..1875509 --- /dev/null +++ b/internal/communicator/deviceclass/group_properties_test.go @@ -0,0 +1,646 @@ +package deviceclass + +import ( + "context" + "github.com/gosnmp/gosnmp" + "github.com/inexio/thola/internal/communicator/filter" + "github.com/inexio/thola/internal/network" + "github.com/inexio/thola/internal/network/mocks" + "github.com/inexio/thola/internal/utility" + "github.com/inexio/thola/internal/value" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "testing" +) + +// TestDeviceClassOID_readOID tests deviceClassOID.readOid(...) without indices and skipEmpty = false +func TestDeviceClassOID_readOID(t *testing.T) { + var snmpClient mocks.SNMPClient + ctx := network.NewContextWithDeviceConnection(context.Background(), &network.RequestDeviceConnection{ + SNMP: &network.RequestDeviceConnectionSNMP{ + SnmpClient: &snmpClient, + }, + }) + + snmpClient. + On("SNMPWalk", ctx, "1"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("1.1", gosnmp.OctetString, "Port 1"), + network.NewSNMPResponse("1.2", gosnmp.OctetString, "Port 2"), + network.NewSNMPResponse("1.3", gosnmp.OctetString, "Port 3"), + network.NewSNMPResponse("1.4", gosnmp.OctetString, ""), + }, nil) + + sut := deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "1", + }, + } + + expected := map[int]interface{}{ + 1: value.New("Port 1"), + 2: value.New("Port 2"), + 3: value.New("Port 3"), + 4: value.New(""), + } + + res, err := sut.readOID(ctx, nil, false) + if assert.NoError(t, err) { + assert.Equal(t, expected, res) + } +} + +// TestDeviceClassOID_readOID_skipEmpty tests deviceClassOID.readOid(...) without indices and skipEmpty = true +func TestDeviceClassOID_readOID_skipEmpty(t *testing.T) { + var snmpClient mocks.SNMPClient + ctx := network.NewContextWithDeviceConnection(context.Background(), &network.RequestDeviceConnection{ + SNMP: &network.RequestDeviceConnectionSNMP{ + SnmpClient: &snmpClient, + }, + }) + + snmpClient. + On("SNMPWalk", ctx, "1"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("1.1", gosnmp.OctetString, "Port 1"), + network.NewSNMPResponse("1.2", gosnmp.OctetString, "Port 2"), + network.NewSNMPResponse("1.3", gosnmp.OctetString, "Port 3"), + network.NewSNMPResponse("1.4", gosnmp.OctetString, ""), + }, nil) + + sut := deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "1", + }, + } + + expected := map[int]interface{}{ + 1: value.New("Port 1"), + 2: value.New("Port 2"), + 3: value.New("Port 3"), + } + + res, err := sut.readOID(ctx, nil, true) + if assert.NoError(t, err) { + assert.Equal(t, expected, res) + } +} + +// TestDeviceClassOID_readOID_withIndices tests deviceClassOID.readOid(...) with indices and skipEmpty = false +func TestDeviceClassOID_readOID_withIndices(t *testing.T) { + var snmpClient mocks.SNMPClient + ctx := network.NewContextWithDeviceConnection(context.Background(), &network.RequestDeviceConnection{ + SNMP: &network.RequestDeviceConnectionSNMP{ + SnmpClient: &snmpClient, + }, + }) + + ctx = network.NewContextWithSNMPGetsInsteadOfWalk(ctx, true) + + snmpClient. + On("SNMPGet", ctx, "1.1", "1.2", "1.3", "1.4"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse(".1.1", gosnmp.OctetString, "Port 1"), + network.NewSNMPResponse(".1.2", gosnmp.OctetString, "Port 2"), + network.NewSNMPResponse(".1.3", gosnmp.OctetString, "Port 3"), + network.NewSNMPResponse(".1.4", gosnmp.OctetString, ""), + }, nil) + + sut := deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "1", + }, + } + + expected := map[int]interface{}{ + 1: value.New("Port 1"), + 2: value.New("Port 2"), + 3: value.New("Port 3"), + 4: value.New(""), + } + + res, err := sut.readOID(ctx, []value.Value{value.New(1), value.New(2), value.New(3), value.New(4)}, false) + if assert.NoError(t, err) { + assert.Equal(t, expected, res) + } +} + +// TestDeviceClassOID_readOID_withIndicesSkipEmpty tests deviceClassOID.readOid(...) with indices and skipEmpty = true +func TestDeviceClassOID_readOID_withIndicesSkipEmpty(t *testing.T) { + var snmpClient mocks.SNMPClient + ctx := network.NewContextWithDeviceConnection(context.Background(), &network.RequestDeviceConnection{ + SNMP: &network.RequestDeviceConnectionSNMP{ + SnmpClient: &snmpClient, + }, + }) + + ctx = network.NewContextWithSNMPGetsInsteadOfWalk(ctx, true) + + snmpClient. + On("SNMPGet", ctx, "1.1", "1.2", "1.3", "1.4"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse(".1.1", gosnmp.OctetString, "Port 1"), + network.NewSNMPResponse(".1.2", gosnmp.OctetString, "Port 2"), + network.NewSNMPResponse(".1.3", gosnmp.OctetString, "Port 3"), + network.NewSNMPResponse(".1.4", gosnmp.OctetString, ""), + }, nil) + + sut := deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "1", + }, + } + + expected := map[int]interface{}{ + 1: value.New("Port 1"), + 2: value.New("Port 2"), + 3: value.New("Port 3"), + } + + res, err := sut.readOID(ctx, []value.Value{value.New(1), value.New(2), value.New(3), value.New(4)}, true) + if assert.NoError(t, err) { + assert.Equal(t, expected, res) + } +} + +// TestDeviceClassOID_readOID_indicesMapping tests deviceClassOID.readOid(...) with an indices mapping and no given indices +func TestDeviceClassOID_readOID_indicesMapping(t *testing.T) { + var snmpClient mocks.SNMPClient + ctx := network.NewContextWithDeviceConnection(context.Background(), &network.RequestDeviceConnection{ + SNMP: &network.RequestDeviceConnectionSNMP{ + SnmpClient: &snmpClient, + }, + }) + + snmpClient. + On("SNMPWalk", ctx, "1"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("1.1", gosnmp.OctetString, "3"), + network.NewSNMPResponse("1.2", gosnmp.OctetString, "2"), + network.NewSNMPResponse("1.3", gosnmp.OctetString, "1"), + }, nil). + On("SNMPWalk", ctx, "2"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("2.1", gosnmp.OctetString, "Port 1"), + network.NewSNMPResponse("2.2", gosnmp.OctetString, "Port 2"), + network.NewSNMPResponse("2.3", gosnmp.OctetString, "Port 3"), + network.NewSNMPResponse("2.4", gosnmp.OctetString, "Port 4"), + }, nil) + + indicesMappingDeviceClassOid := deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "1", + }, + } + + sut := deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "2", + }, + indicesMapping: &indicesMappingDeviceClassOid, + } + + expected := map[int]interface{}{ + 1: value.New("Port 3"), + 2: value.New("Port 2"), + 3: value.New("Port 1"), + } + + res, err := sut.readOID(ctx, nil, false) + if assert.NoError(t, err) { + assert.Equal(t, expected, res) + } +} + +// TestDeviceClassOID_readOID_indicesMapping tests deviceClassOID.readOid(...) with an indices mapping and given indices +func TestDeviceClassOID_readOID_indicesMappingWithIndices(t *testing.T) { + var snmpClient mocks.SNMPClient + ctx := network.NewContextWithDeviceConnection(context.Background(), &network.RequestDeviceConnection{ + SNMP: &network.RequestDeviceConnectionSNMP{ + SnmpClient: &snmpClient, + }, + }) + + snmpClient. + On("SNMPWalk", ctx, "1"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("1.1", gosnmp.OctetString, "3"), + network.NewSNMPResponse("1.2", gosnmp.OctetString, "2"), + network.NewSNMPResponse("1.3", gosnmp.OctetString, "1"), + }, nil). + On("SNMPGet", ctx, "2.3", "2.2", "2.1"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse(".2.3", gosnmp.OctetString, "Port 3"), + network.NewSNMPResponse(".2.2", gosnmp.OctetString, "Port 2"), + network.NewSNMPResponse(".2.1", gosnmp.OctetString, "Port 1"), + }, nil) + + indicesMappingDeviceClassOid := deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "1", + }, + } + + sut := deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "2", + }, + indicesMapping: &indicesMappingDeviceClassOid, + } + + expected := map[int]interface{}{ + 1: value.New("Port 3"), + 2: value.New("Port 2"), + 3: value.New("Port 1"), + } + + res, err := sut.readOID(ctx, []value.Value{value.New(1), value.New(2), value.New(3), value.New(4)}, false) + if assert.NoError(t, err) { + assert.Equal(t, expected, res) + } +} + +// TestDeviceClassOIDs_readOID tests deviceClassOIDs.readOid(...) +func TestDeviceClassOIDs_readOID(t *testing.T) { + var ifIndexOidReader mockOidReader + var ifDescrOidReader mockOidReader + ctx := context.Background() + + ifIndexOidReader. + On("readOID", ctx, []value.Value(nil), true). + Return(map[int]interface{}{ + 1: value.New(1), + 2: value.New(2), + 3: value.New(3), + }, nil) + ifDescrOidReader. + On("readOID", ctx, []value.Value(nil), true). + Return(map[int]interface{}{ + 1: value.New("Port 1"), + 2: value.New("Port 2"), + 3: value.New("Port 3"), + }, nil) + + sut := deviceClassOIDs{ + "ifIndex": &ifIndexOidReader, + "ifDescr": &ifDescrOidReader, + } + + expected := map[int]interface{}{ + 1: map[string]interface{}{ + "ifIndex": value.New(1), + "ifDescr": value.New("Port 1"), + }, + 2: map[string]interface{}{ + "ifIndex": value.New(2), + "ifDescr": value.New("Port 2"), + }, + 3: map[string]interface{}{ + "ifIndex": value.New(3), + "ifDescr": value.New("Port 3"), + }, + } + + res, err := sut.readOID(ctx, []value.Value(nil), true) + if assert.NoError(t, err) { + assert.Equal(t, expected, res) + } +} + +// TestDeviceClassOIDs_readOID tests deviceClassOIDs.readOid(...) including multiple level of oidReaders +func TestDeviceClassOIDs_readOID_multipleLevel(t *testing.T) { + var ifIndexOidReader mockOidReader + var ifDescrOidReader mockOidReader + var radioInterfaceOidReader mockOidReader + ctx := context.Background() + + ifIndexOidReader. + On("readOID", ctx, []value.Value(nil), true). + Return(map[int]interface{}{ + 1: value.New("1"), + 2: value.New("2"), + 3: value.New("3"), + }, nil) + ifDescrOidReader. + On("readOID", ctx, []value.Value(nil), true). + Return(map[int]interface{}{ + 1: value.New("Port 1"), + 2: value.New("Port 2"), + 3: value.New("Port 3"), + }, nil) + radioInterfaceOidReader. + On("readOID", ctx, []value.Value(nil), true). + Return(map[int]interface{}{ + 1: map[string]interface{}{ + "level_in": value.New(1), + "level_out": value.New(-1), + }, + 2: map[string]interface{}{ + "level_in": value.New(2), + "level_out": value.New(-2), + }, + }, nil) + + sut := deviceClassOIDs{ + "ifIndex": &ifIndexOidReader, + "ifDescr": &ifDescrOidReader, + "radio": &radioInterfaceOidReader, + } + + expected := map[int]interface{}{ + 1: map[string]interface{}{ + "ifIndex": value.New(1), + "ifDescr": value.New("Port 1"), + "radio": map[string]interface{}{ + "level_in": value.New(1), + "level_out": value.New(-1), + }, + }, + 2: map[string]interface{}{ + "ifIndex": value.New(2), + "ifDescr": value.New("Port 2"), + "radio": map[string]interface{}{ + "level_in": value.New(2), + "level_out": value.New(-2), + }, + }, + 3: map[string]interface{}{ + "ifIndex": value.New(3), + "ifDescr": value.New("Port 3"), + }, + } + + res, err := sut.readOID(ctx, []value.Value(nil), true) + if assert.NoError(t, err) { + assert.Equal(t, expected, res) + } +} + +func TestSNMPGroupPropertyReader_getProperty(t *testing.T) { + var oidReader mockOidReader + ctx := context.Background() + + oidReader. + On("readOID", ctx, []value.Value(nil), true). + Return(map[int]interface{}{ + 1: map[string]interface{}{ + "ifIndex": value.New(1), + "ifDescr": value.New("Port 1"), + }, + 2: map[string]interface{}{ + "ifIndex": value.New(2), + "ifDescr": value.New("Port 2"), + }, + 3: map[string]interface{}{ + "ifIndex": value.New(3), + "ifDescr": value.New("Port 3"), + }, + }, nil) + + sut := snmpGroupPropertyReader{ + oids: &oidReader, + } + + expectedPropertyGroups := propertyGroups{ + propertyGroup{ + "ifIndex": value.New(1), + "ifDescr": value.New("Port 1"), + }, + propertyGroup{ + "ifIndex": value.New(2), + "ifDescr": value.New("Port 2"), + }, + propertyGroup{ + "ifIndex": value.New(3), + "ifDescr": value.New("Port 3"), + }, + } + + expectedIndices := []value.Value{ + value.New(1), + value.New(2), + value.New(3), + } + + res, indices, err := sut.getProperty(ctx) + if assert.NoError(t, err) { + assert.Equal(t, expectedPropertyGroups, res) + assert.Equal(t, expectedIndices, indices) + } +} + +func TestSNMPGroupPropertyReader_getProperty_filter(t *testing.T) { + var snmpClient mocks.SNMPClient + ctx := network.NewContextWithDeviceConnection(context.Background(), &network.RequestDeviceConnection{ + SNMP: &network.RequestDeviceConnectionSNMP{ + SnmpClient: &snmpClient, + }, + }) + + snmpClient. + On("SNMPWalk", ctx, "1"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("1.1", gosnmp.OctetString, "1"), + network.NewSNMPResponse("1.2", gosnmp.OctetString, "2"), + network.NewSNMPResponse("1.3", gosnmp.OctetString, "3"), + }, nil). + On("SNMPWalk", ctx, "2"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("2.1", gosnmp.OctetString, "Port 1"), + network.NewSNMPResponse("2.2", gosnmp.OctetString, "Port 2"), + network.NewSNMPResponse("2.3", gosnmp.OctetString, "Port 3"), + }, nil) + + sut := snmpGroupPropertyReader{ + oids: &deviceClassOIDs{ + "ifIndex": &deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "1", + }, + }, + "ifDescr": &deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "2", + }, + }, + }, + } + + expectedPropertyGroups := propertyGroups{ + propertyGroup{ + "ifIndex": value.New(1), + "ifDescr": value.New("Port 1"), + }, + propertyGroup{ + "ifIndex": value.New(3), + "ifDescr": value.New("Port 3"), + }, + } + + expectedIndices := []value.Value{ + value.New(1), + value.New(3), + } + + res, indices, err := sut.getProperty(ctx, filter.PropertyFilter{ + Key: "ifDescr", + Regex: "2", + }) + if assert.NoError(t, err) { + assert.Equal(t, expectedPropertyGroups, res) + assert.Equal(t, expectedIndices, indices) + } +} + +func TestSNMPGroupPropertyReader_getProperty_getsInsteadOfWalk(t *testing.T) { + var oidReader mockOidReader + var indexOIDReader mockOidReader + ctx := network.NewContextWithSNMPGetsInsteadOfWalk(context.Background(), true) + + oidReader. + On("readOID", ctx, mock.MatchedBy(func(input []value.Value) bool { + return utility.SameValueSlice(input, []value.Value{ + value.New(1), + value.New(2), + value.New(3), + }) + }), true). + Return(map[int]interface{}{ + 1: map[string]interface{}{ + "ifIndex": value.New(1), + "ifDescr": value.New("Port 1"), + }, + 2: map[string]interface{}{ + "ifIndex": value.New(2), + "ifDescr": value.New("Port 2"), + }, + 3: map[string]interface{}{ + "ifIndex": value.New(3), + "ifDescr": value.New("Port 3"), + }, + }, nil) + + indexOIDReader. + On("readOID", ctx, []value.Value(nil), false). + Return(map[int]interface{}{ + 1: map[string]interface{}{ + "ifIndex": value.New(1), + }, + 2: map[string]interface{}{ + "ifIndex": value.New(2), + }, + 3: map[string]interface{}{ + "ifIndex": value.New(3), + }, + }, nil) + + sut := snmpGroupPropertyReader{ + oids: &oidReader, + index: &indexOIDReader, + } + + expectedPropertyGroups := propertyGroups{ + propertyGroup{ + "ifIndex": value.New(1), + "ifDescr": value.New("Port 1"), + }, + propertyGroup{ + "ifIndex": value.New(2), + "ifDescr": value.New("Port 2"), + }, + propertyGroup{ + "ifIndex": value.New(3), + "ifDescr": value.New("Port 3"), + }, + } + + expectedIndices := []value.Value{ + value.New(1), + value.New(2), + value.New(3), + } + + res, indices, err := sut.getProperty(ctx) + if assert.NoError(t, err) { + assert.Equal(t, expectedPropertyGroups, res) + assert.Equal(t, expectedIndices, indices) + } +} + +func TestSNMPGroupPropertyReader_getProperty_getsInsteadOfWalkFilter(t *testing.T) { + var snmpClient mocks.SNMPClient + ctx := network.NewContextWithDeviceConnection(network.NewContextWithSNMPGetsInsteadOfWalk(context.Background(), true), + &network.RequestDeviceConnection{ + SNMP: &network.RequestDeviceConnectionSNMP{ + SnmpClient: &snmpClient, + }, + }) + + snmpClient. + On("SNMPGet", ctx, "1.1", "1.3"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("1.1", gosnmp.OctetString, "1"), + network.NewSNMPResponse("1.3", gosnmp.OctetString, "3"), + }, nil). + On("SNMPGet", ctx, "1.3", "1.1"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("1.1", gosnmp.OctetString, "1"), + network.NewSNMPResponse("1.3", gosnmp.OctetString, "3"), + }, nil). + On("SNMPGet", ctx, "2.1", "2.3"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("2.1", gosnmp.OctetString, "Port 1"), + network.NewSNMPResponse("2.3", gosnmp.OctetString, "Port 3"), + }, nil). + On("SNMPGet", ctx, "2.3", "2.1"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("2.1", gosnmp.OctetString, "Port 1"), + network.NewSNMPResponse("2.3", gosnmp.OctetString, "Port 3"), + }, nil). + On("SNMPWalk", ctx, "2"). + Return([]network.SNMPResponse{ + network.NewSNMPResponse("2.1", gosnmp.OctetString, "Port 1"), + network.NewSNMPResponse("2.2", gosnmp.OctetString, "Port 2"), + network.NewSNMPResponse("2.3", gosnmp.OctetString, "Port 3"), + }, nil) + + sut := snmpGroupPropertyReader{ + oids: &deviceClassOIDs{ + "ifIndex": &deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "1", + }, + }, + "ifDescr": &deviceClassOID{ + SNMPGetConfiguration: network.SNMPGetConfiguration{ + OID: "2", + }, + }, + }, + } + + expectedPropertyGroups := propertyGroups{ + propertyGroup{ + "ifIndex": value.New(1), + "ifDescr": value.New("Port 1"), + }, + propertyGroup{ + "ifIndex": value.New(3), + "ifDescr": value.New("Port 3"), + }, + } + + expectedIndices := []value.Value{ + value.New(1), + value.New(3), + } + + res, indices, err := sut.getProperty(ctx, filter.PropertyFilter{ + Key: "ifDescr", + Regex: "2", + }) + if assert.NoError(t, err) { + assert.Equal(t, expectedPropertyGroups, res) + assert.Equal(t, expectedIndices, indices) + } +} diff --git a/internal/network/http_client.go b/internal/network/http_client.go index feb162f..fde4f1b 100644 --- a/internal/network/http_client.go +++ b/internal/network/http_client.go @@ -123,9 +123,9 @@ func (h *HTTPClient) SetFormat(format string) error { return nil } -// GetSuccessfulCachedRequests returns all successful cached requests. -func (h *HTTPClient) GetSuccessfulCachedRequests() map[string]cachedRequestResult { - return h.cache.getSuccessfulRequests() +// HasSuccessfulCachedRequest returns if there was at least one successful cached request. +func (h *HTTPClient) HasSuccessfulCachedRequest() bool { + return len(h.cache.getSuccessfulRequests()) > 0 } // Request sends an http request. diff --git a/internal/network/request_device_connect.go b/internal/network/request_device_connect.go index 52747f2..394eced 100644 --- a/internal/network/request_device_connect.go +++ b/internal/network/request_device_connect.go @@ -21,7 +21,7 @@ type RequestDeviceConnectionHTTP struct { // RequestDeviceConnectionSNMP represents the snmp request device connection type RequestDeviceConnectionSNMP struct { - SnmpClient *SNMPClient + SnmpClient SNMPClient CommonOIDs CommonOIDs } diff --git a/internal/network/snmp_client.go b/internal/network/snmp_client.go index dfb5f26..a420b4f 100644 --- a/internal/network/snmp_client.go +++ b/internal/network/snmp_client.go @@ -17,8 +17,37 @@ import ( "unicode" ) +//go:generate go run github.com/vektra/mockery/v2 --name=SNMPClient + // SNMPClient is used to communicate via snmp. -type SNMPClient struct { +type SNMPClient interface { + Disconnect() error + + SNMPGet(ctx context.Context, oid ...string) ([]SNMPResponse, error) + SNMPWalk(ctx context.Context, oid string) ([]SNMPResponse, error) + + UseCache(b bool) + HasSuccessfulCachedRequest() bool + + GetCommunity() string + SetCommunity(community string) + GetPort() int + GetVersion() string + GetMaxRepetitions() uint32 + + SetMaxRepetitions(maxRepetitions uint32) + SetMaxOIDs(maxOIDs int) error + + GetV3Level() *string + GetV3ContextName() *string + GetV3User() *string + GetV3AuthKey() *string + GetV3AuthProto() *string + GetV3PrivKey() *string + GetV3PrivProto() *string +} + +type snmpClient struct { client *gosnmp.GoSNMP useCache bool getCache requestCache @@ -26,7 +55,7 @@ type SNMPClient struct { } type snmpClientCreation struct { - client *SNMPClient + client SNMPClient version string err error } @@ -42,7 +71,7 @@ type snmpClientCreationData struct { } // NewSNMPClientByConnectionData tries to create a new snmp client by SNMPConnectionData and returns it. -func NewSNMPClientByConnectionData(ctx context.Context, ipAddress string, data *SNMPConnectionData) (*SNMPClient, error) { +func NewSNMPClientByConnectionData(ctx context.Context, ipAddress string, data *SNMPConnectionData) (SNMPClient, error) { if data == nil { return nil, errors.New("snmp connection data is nil") } @@ -109,7 +138,7 @@ func NewSNMPClientByConnectionData(ctx context.Context, ipAddress string, data * } var criticalError error - var successfulClient *SNMPClient + var successfulClient SNMPClient for i := 0; i < amount; i++ { res := <-out @@ -132,7 +161,7 @@ func NewSNMPClientByConnectionData(ctx context.Context, ipAddress string, data * successfulClient = res.client break } - if successfulClient == nil || successfulClient.client.Version < gosnmp.Version2c { + if successfulClient == nil || successfulClient.GetVersion() == "1" { successfulClient = res.client } } @@ -167,7 +196,7 @@ func createNewSNMPClientConcurrent(ctx context.Context, in chan snmpClientCreati default: select { case data := <-in: - var client *SNMPClient + var client SNMPClient var err error if data.snmpVersion == "3" { client, err = NewSNMPv3Client(ctx, data.ipAddress, data.port, data.timeout, data.retries, data.v3Data) @@ -183,7 +212,7 @@ func createNewSNMPClientConcurrent(ctx context.Context, in chan snmpClientCreati } // NewSNMPClient creates a new SNMP Client -func NewSNMPClient(ctx context.Context, ipAddress, snmpVersion, community string, port, timeout, retries int) (*SNMPClient, error) { +func NewSNMPClient(ctx context.Context, ipAddress, snmpVersion, community string, port, timeout, retries int) (SNMPClient, error) { version, err := getGoSNMPVersion(snmpVersion) if err != nil { return nil, err @@ -205,7 +234,7 @@ func NewSNMPClient(ctx context.Context, ipAddress, snmpVersion, community string } // NewSNMPv3Client creates a new SNMP v3 Client. -func NewSNMPv3Client(ctx context.Context, ipAddress string, port, timeout, retries int, v3Data SNMPv3ConnectionData) (*SNMPClient, error) { +func NewSNMPv3Client(ctx context.Context, ipAddress string, port, timeout, retries int, v3Data SNMPv3ConnectionData) (SNMPClient, error) { client := &gosnmp.GoSNMP{ Context: ctx, Target: ipAddress, @@ -264,7 +293,7 @@ func NewSNMPv3Client(ctx context.Context, ipAddress string, port, timeout, retri return newSNMPClientTestConnection(client) } -func newSNMPClientTestConnection(client *gosnmp.GoSNMP) (*SNMPClient, error) { +func newSNMPClientTestConnection(client *gosnmp.GoSNMP) (*snmpClient, error) { err := client.ConnectIPv4() if err != nil { return nil, errors.Wrap(err, "connect ip v4 failed") @@ -279,7 +308,7 @@ func newSNMPClientTestConnection(client *gosnmp.GoSNMP) (*SNMPClient, error) { client.Retries = gosnmp.Default.Retries client.Timeout = gosnmp.Default.Timeout - return &SNMPClient{ + return &snmpClient{ client: client, useCache: true, getCache: newRequestCache(), @@ -353,7 +382,7 @@ func getGoSNMPV3PrivProtocol(protocol string) (gosnmp.SnmpV3PrivProtocol, error) } // SNMPGet sends one or more simple snmpget requests to the target host and returns the result. -func (s *SNMPClient) SNMPGet(ctx context.Context, oid ...string) ([]SNMPResponse, error) { +func (s *snmpClient) SNMPGet(ctx context.Context, oid ...string) ([]SNMPResponse, error) { var snmpResponses []SNMPResponse var successful bool var reqOIDs []string @@ -398,10 +427,7 @@ func (s *SNMPClient) SNMPGet(ctx context.Context, oid ...string) ([]SNMPResponse } for _, currentResponse := range response.Variables { - snmpResponse := SNMPResponse{} - snmpResponse.oid = currentResponse.Name - snmpResponse.value = currentResponse.Value - snmpResponse.snmpType = currentResponse.Type + snmpResponse := NewSNMPResponse(currentResponse.Name, currentResponse.Type, currentResponse.Value) if snmpResponse.WasSuccessful() { log.Ctx(ctx).Trace().Str("network_request", "snmpget").Str("oid", snmpResponse.oid).Msg("SNMP Get was successful") @@ -428,7 +454,7 @@ func (s *SNMPClient) SNMPGet(ctx context.Context, oid ...string) ([]SNMPResponse } // SNMPWalk sends a snmpwalk request to the specified oid. -func (s *SNMPClient) SNMPWalk(ctx context.Context, oid string) ([]SNMPResponse, error) { +func (s *snmpClient) SNMPWalk(ctx context.Context, oid string) ([]SNMPResponse, error) { if s.useCache { cacheEntry, err := s.walkCache.get(oid) if err == nil { @@ -477,11 +503,7 @@ func (s *SNMPClient) SNMPWalk(ctx context.Context, oid string) ([]SNMPResponse, var res []SNMPResponse for _, currentResponse := range response { - snmpResponse := SNMPResponse{ - oid: currentResponse.Name, - value: currentResponse.Value, - snmpType: currentResponse.Type, - } + snmpResponse := NewSNMPResponse(currentResponse.Name, currentResponse.Type, currentResponse.Value) res = append(res, snmpResponse) if s.useCache { @@ -503,37 +525,37 @@ func (s *SNMPClient) SNMPWalk(ctx context.Context, oid string) ([]SNMPResponse, } // UseCache configures whether the snmp cache should be used or not -func (s *SNMPClient) UseCache(b bool) { +func (s *snmpClient) UseCache(b bool) { s.useCache = b } -// GetSuccessfulCachedRequests returns all successful cached requests. -func (s *SNMPClient) GetSuccessfulCachedRequests() map[string]cachedRequestResult { - return s.getCache.getSuccessfulRequests() +// HasSuccessfulCachedRequest returns if there was at least one successful cached request. +func (s *snmpClient) HasSuccessfulCachedRequest() bool { + return len(s.getCache.getSuccessfulRequests()) > 0 } // Disconnect closes an snmp connection. -func (s *SNMPClient) Disconnect() error { +func (s *snmpClient) Disconnect() error { return s.client.Conn.Close() } // GetCommunity returns the community string -func (s *SNMPClient) GetCommunity() string { +func (s *snmpClient) GetCommunity() string { return s.client.Community } // SetCommunity updates the community string. This function is not thread safe! -func (s *SNMPClient) SetCommunity(community string) { +func (s *snmpClient) SetCommunity(community string) { s.client.Community = community } // GetPort returns the port -func (s *SNMPClient) GetPort() int { +func (s *snmpClient) GetPort() int { return int(s.client.Port) } // GetVersion returns the snmp version. -func (s *SNMPClient) GetVersion() string { +func (s *snmpClient) GetVersion() string { switch s.client.Version { case gosnmp.Version1: return "1" @@ -546,17 +568,17 @@ func (s *SNMPClient) GetVersion() string { } // GetMaxRepetitions returns the max repetitions. -func (s *SNMPClient) GetMaxRepetitions() uint32 { +func (s *snmpClient) GetMaxRepetitions() uint32 { return s.client.MaxRepetitions } // SetMaxRepetitions sets the maximum repetitions. -func (s *SNMPClient) SetMaxRepetitions(maxRepetitions uint32) { +func (s *snmpClient) SetMaxRepetitions(maxRepetitions uint32) { s.client.MaxRepetitions = maxRepetitions } // SetMaxOIDs sets the maximum OIDs. -func (s *SNMPClient) SetMaxOIDs(maxOIDs int) error { +func (s *snmpClient) SetMaxOIDs(maxOIDs int) error { if maxOIDs < 1 { return errors.New("invalid max oids") } @@ -569,7 +591,7 @@ func (s *SNMPClient) SetMaxOIDs(maxOIDs int) error { // GetV3Level returns the security level of the snmp v3 connection. // Return value is nil if no snmp v3 is being used. -func (s *SNMPClient) GetV3Level() *string { +func (s *snmpClient) GetV3Level() *string { var level string switch s.client.MsgFlags { case gosnmp.NoAuthNoPriv | gosnmp.Reportable: @@ -586,7 +608,7 @@ func (s *SNMPClient) GetV3Level() *string { // GetV3ContextName returns the context name of the snmp v3 connection. // Return value is nil if no snmp v3 is being used. -func (s *SNMPClient) GetV3ContextName() *string { +func (s *snmpClient) GetV3ContextName() *string { if s.client.ContextName == "" { return nil } @@ -596,7 +618,7 @@ func (s *SNMPClient) GetV3ContextName() *string { // GetV3User returns the user of the snmp v3 connection. // Return value is nil if no snmp v3 is being used. -func (s *SNMPClient) GetV3User() *string { +func (s *snmpClient) GetV3User() *string { r, ok := s.client.SecurityParameters.(*gosnmp.UsmSecurityParameters) if !ok { return nil @@ -609,7 +631,7 @@ func (s *SNMPClient) GetV3User() *string { // GetV3AuthKey returns the auth key of the snmp v3 connection. // Return value is nil if no snmp v3 is being used. -func (s *SNMPClient) GetV3AuthKey() *string { +func (s *snmpClient) GetV3AuthKey() *string { r, ok := s.client.SecurityParameters.(*gosnmp.UsmSecurityParameters) if !ok { return nil @@ -622,7 +644,7 @@ func (s *SNMPClient) GetV3AuthKey() *string { // GetV3AuthProto returns the auth protocol of the snmp v3 connection. // Return value is nil if no snmp v3 is being used. -func (s *SNMPClient) GetV3AuthProto() *string { +func (s *snmpClient) GetV3AuthProto() *string { r, ok := s.client.SecurityParameters.(*gosnmp.UsmSecurityParameters) if !ok { return nil @@ -651,7 +673,7 @@ func (s *SNMPClient) GetV3AuthProto() *string { // GetV3PrivKey returns the priv key of the snmp v3 connection. // Return value is nil if no snmp v3 is being used. -func (s *SNMPClient) GetV3PrivKey() *string { +func (s *snmpClient) GetV3PrivKey() *string { r, ok := s.client.SecurityParameters.(*gosnmp.UsmSecurityParameters) if !ok { return nil @@ -664,7 +686,7 @@ func (s *SNMPClient) GetV3PrivKey() *string { // GetV3PrivProto returns the priv protocol of the snmp v3 connection. // Return value is nil if no snmp v3 is being used. -func (s *SNMPClient) GetV3PrivProto() *string { +func (s *snmpClient) GetV3PrivProto() *string { r, ok := s.client.SecurityParameters.(*gosnmp.UsmSecurityParameters) if !ok { return nil @@ -698,6 +720,15 @@ type SNMPResponse struct { value interface{} } +// NewSNMPResponse creates a new SNMP Response +func NewSNMPResponse(oid string, snmpType gosnmp.Asn1BER, value interface{}) SNMPResponse { + return SNMPResponse{ + oid: oid, + snmpType: snmpType, + value: value, + } +} + // WasSuccessful returns if the snmp request was successful. func (s *SNMPResponse) WasSuccessful() bool { return s.snmpType != gosnmp.NoSuchObject && s.snmpType != gosnmp.NoSuchInstance && s.snmpType != gosnmp.Null diff --git a/internal/parser/object_parser.go b/internal/parser/object_parser.go index 63ed6fa..459eeec 100644 --- a/internal/parser/object_parser.go +++ b/internal/parser/object_parser.go @@ -5,6 +5,7 @@ import ( "encoding/json" "encoding/xml" "fmt" + "github.com/gocarina/gocsv" "github.com/inexio/thola/internal/tholaerr" "github.com/inexio/thola/internal/utility" "github.com/pkg/errors" @@ -20,6 +21,10 @@ type xmlParser interface { ToXML() ([]byte, error) } +type csvParser interface { + ToCSV() ([]byte, error) +} + type humanReadableParser interface { ToHumanReadable() ([]byte, error) } @@ -35,6 +40,8 @@ func Parse(i interface{}, format string) ([]byte, error) { return ToJSON(i) case "xml": return ToXML(i) + case "csv": + return ToCSV(i) case "check-plugin": return ToCheckPluginOutput(i) default: @@ -48,11 +55,11 @@ func ToXML(i interface{}) ([]byte, error) { if p, ok := i.(xmlParser); ok { return p.ToXML() } - responseString, err := xml.Marshal(i) + response, err := xml.Marshal(i) if err != nil { return nil, errors.Wrap(err, "failed to marshal to xml") } - return responseString, nil + return response, nil } // ToJSON parses the object to JSON. @@ -61,11 +68,24 @@ func ToJSON(i interface{}) ([]byte, error) { if p, ok := i.(jsonParser); ok { return p.ToJSON() } - responseString, err := json.Marshal(i) + response, err := json.Marshal(i) if err != nil { return nil, errors.Wrap(err, "failed to marshal to json") } - return responseString, nil + return response, nil +} + +// ToCSV parses the object to CSV. +func ToCSV(i interface{}) ([]byte, error) { + i = checkIfError(i) + if p, ok := i.(csvParser); ok { + return p.ToCSV() + } + response, err := gocsv.MarshalBytes(i) + if err != nil { + return nil, errors.Wrap(err, "failed to marshal to csv") + } + return response, nil } //ToHumanReadable parses the object to a human readable format. diff --git a/internal/request/check_interface_metrics_request.go b/internal/request/check_interface_metrics_request.go index 8ddcf1d..6f9b1f6 100644 --- a/internal/request/check_interface_metrics_request.go +++ b/internal/request/check_interface_metrics_request.go @@ -13,6 +13,7 @@ import ( // swagger:model type CheckInterfaceMetricsRequest struct { PrintInterfaces bool `yaml:"print_interfaces" json:"print_interfaces" xml:"print_interfaces"` + PrintInterfacesCSV bool `yaml:"print_interfaces_csv" json:"print_interfaces_csv" xml:"print_interfaces_csv"` IfDescrRegex *string `yaml:"ifDescr_regex" json:"ifDescr_regex" xml:"ifDescr_regex"` ifDescrRegex *regexp.Regexp IfDescrRegexReplace *string `yaml:"ifDescr_regex_replace" json:"ifDescr_regex_replace" xml:"ifDescr_regex_replace"` diff --git a/internal/request/check_interface_metrics_request_process.go b/internal/request/check_interface_metrics_request_process.go index f160700..39b1340 100644 --- a/internal/request/check_interface_metrics_request_process.go +++ b/internal/request/check_interface_metrics_request_process.go @@ -14,15 +14,17 @@ import ( ) type interfaceCheckOutput struct { - IfIndex *string `json:"ifIndex"` - IfDescr *string `json:"ifDescr"` - IfType *string `json:"ifType"` - IfName *string `json:"ifName"` - IfAlias *string `json:"ifAlias"` - IfPhysAddress *string `json:"ifPhysAddress"` - IfAdminStatus *string `json:"ifAdminStatus"` - IfOperStatus *string `json:"ifOperStatus"` - SubType *string `json:"subType"` + IfIndex *string `json:"ifIndex" csv:"ifIndex"` + IfDescr *string `json:"ifDescr" csv:"ifDescr"` + IfType *string `json:"ifType" csv:"ifType"` + IfName *string `json:"ifName" csv:"ifName"` + IfAlias *string `json:"ifAlias" csv:"ifAlias"` + IfPhysAddress *string `json:"ifPhysAddress" csv:"ifPhysAddress"` + IfAdminStatus *string `json:"ifAdminStatus" csv:"ifAdminStatus"` + IfOperStatus *string `json:"ifOperStatus" csv:"ifOperStatus"` + MaxSpeedIn *string `json:"maxSpeedIn" csv:"maxSpeedIn"` + MaxSpeedOut *string `json:"maxSpeedOut" csv:"maxSpeedOut"` + SubType *string `json:"subType" csv:"subType"` } func (r *CheckInterfaceMetricsRequest) process(ctx context.Context) (Response, error) { @@ -63,7 +65,7 @@ func (r *CheckInterfaceMetricsRequest) process(ctx context.Context) (Response, e index = &i } - x := interfaceCheckOutput{ + currentOutput := interfaceCheckOutput{ IfIndex: index, IfDescr: interf.IfDescr, IfName: interf.IfName, @@ -75,10 +77,26 @@ func (r *CheckInterfaceMetricsRequest) process(ctx context.Context) (Response, e SubType: interf.SubType, } - interfaceOutput = append(interfaceOutput, x) + if maxSpeedIn := getMaxSpeedIn(interf); maxSpeedIn != nil { + maxSpeedInString := fmt.Sprint(*maxSpeedIn) + currentOutput.MaxSpeedIn = &maxSpeedInString + } + + if maxSpeedOut := getMaxSpeedOut(interf); maxSpeedOut != nil { + maxSpeedOutString := fmt.Sprint(*maxSpeedOut) + currentOutput.MaxSpeedOut = &maxSpeedOutString + } + + interfaceOutput = append(interfaceOutput, currentOutput) } if len(interfaceOutput) > 0 { - output, err := parser.Parse(interfaceOutput, "json") + var output []byte + if r.PrintInterfacesCSV { + output, err = parser.Parse(interfaceOutput, "csv") + + } else { + output, err = parser.Parse(interfaceOutput, "json") + } if r.mon.UpdateStatusOnError(err, monitoringplugin.UNKNOWN, "error while marshalling output", true) { r.mon.PrintPerformanceData(false) return &CheckResponse{r.mon.GetInfo()}, nil @@ -283,26 +301,16 @@ func addCheckInterfacePerformanceData(interfaces []device.Interface, r *monitori } //interface_maxspeed_in - if i.MaxSpeedIn != nil { - err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("interface_maxspeed_in", *i.MaxSpeedIn).SetLabel(*i.IfDescr)) - if err != nil { - return err - } - } else if i.IfSpeed != nil { - err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("interface_maxspeed_in", *i.IfSpeed).SetLabel(*i.IfDescr)) + if maxSpeedIn := getMaxSpeedIn(i); maxSpeedIn != nil { + err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("interface_maxspeed_in", *maxSpeedIn).SetLabel(*i.IfDescr)) if err != nil { return err } } //interface_maxspeed_out - if i.MaxSpeedOut != nil { - err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("interface_maxspeed_out", *i.MaxSpeedOut).SetLabel(*i.IfDescr)) - if err != nil { - return err - } - } else if i.IfSpeed != nil { - err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("interface_maxspeed_out", *i.IfSpeed).SetLabel(*i.IfDescr)) + if maxSpeedOut := getMaxSpeedOut(i); maxSpeedOut != nil { + err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("interface_maxspeed_out", *maxSpeedOut).SetLabel(*i.IfDescr)) if err != nil { return err } @@ -573,3 +581,21 @@ func checkHCCounter(hcCounter *uint64, counter *uint64) *uint64 { } return counter } + +func getMaxSpeedIn(interf device.Interface) *uint64 { + if interf.MaxSpeedIn != nil { + return interf.MaxSpeedIn + } else if interf.IfSpeed != nil { + return interf.IfSpeed + } + return nil +} + +func getMaxSpeedOut(interf device.Interface) *uint64 { + if interf.MaxSpeedOut != nil { + return interf.MaxSpeedOut + } else if interf.IfSpeed != nil { + return interf.IfSpeed + } + return nil +} diff --git a/internal/utility/utility.go b/internal/utility/utility.go index 4b9bfe0..84de5de 100644 --- a/internal/utility/utility.go +++ b/internal/utility/utility.go @@ -1,5 +1,7 @@ package utility +import "github.com/inexio/thola/internal/value" + // IfThenElse is a wrapper for the if condition. func IfThenElse(condition bool, t interface{}, e interface{}) interface{} { if condition { @@ -70,3 +72,26 @@ func StringSliceContains(s []string, v string) bool { } return false } + +func SameValueSlice(x, y []value.Value) bool { + if len(x) != len(y) { + return false + } + // create a map of string -> int + diff := make(map[string]int, len(x)) + for _, _x := range x { + // 0 value for int is 0, so just increment a counter for the string + diff[_x.String()]++ + } + for _, _y := range y { + // If the string _y is not in diff bail out early + if _, ok := diff[_y.String()]; !ok { + return false + } + diff[_y.String()] -= 1 + if diff[_y.String()] == 0 { + delete(diff, _y.String()) + } + } + return len(diff) == 0 +} diff --git a/main.go b/main.go index 22a0a15..34ba0ee 100644 --- a/main.go +++ b/main.go @@ -2,6 +2,10 @@ package main import "github.com/inexio/thola/cmd" +// 'go generate' generates the mocks needed for the tests. This requires mockery as a dependency. +// Run 'go generate ./...' in the root folder of the project to generate all mocks. +//go:generate go get github.com/vektra/mockery/v2 + func main() { cmd.Execute() } diff --git a/test/create_testdata/script.go b/test/create_testdata/main.go similarity index 100% rename from test/create_testdata/script.go rename to test/create_testdata/main.go diff --git a/test/integration_test.go b/test/integration_test.go index b38ddce..afd7084 100644 --- a/test/integration_test.go +++ b/test/integration_test.go @@ -95,7 +95,7 @@ func init() { snmpSimIPs <- "172.20.0.9" } -func Test(t *testing.T) { +func TestIntegration(t *testing.T) { if !testConf.SimpleUI { _, _ = colorstring.Println("[cyan][1/3][reset] Building up test environment...") } diff --git a/test/testdata/devices/arista_eos/device_1/public.testdata b/test/testdata/devices/arista_eos/device_1/public.testdata index 1a5c088..244a04b 100644 --- a/test/testdata/devices/arista_eos/device_1/public.testdata +++ b/test/testdata/devices/arista_eos/device_1/public.testdata @@ -18,10 +18,10 @@ "status_code": 0, "performance_data": [ { - "metric": "interface_maxspeed_in", - "label": "Ethernet1", - "value": 0, - "unit": "", + "metric": "packet_counter_multicast_out", + "label": "Ethernet2", + "value": 237534, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -32,8 +32,8 @@ "max": null }, { - "metric": "error_counter_late_collisions", - "label": "Ethernet3", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -46,8 +46,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "Ethernet3", + "metric": "error_counter_internal_mac_receive_errors", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -60,8 +60,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "Management1", + "metric": "error_counter_out", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -74,9 +74,9 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "Management1", - "value": 0, + "metric": "traffic_counter_out", + "label": "Ethernet3", + "value": 30003997, "unit": "c", "thresholds": { "warningMin": null, @@ -88,10 +88,10 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "Ethernet3", + "metric": "interface_maxspeed_out", + "label": "Ethernet1", "value": 0, - "unit": "c", + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -102,8 +102,8 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "Ethernet3", + "metric": "error_counter_FCSErrors", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -116,10 +116,10 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", + "metric": "interface_admin_status", "label": "Ethernet3", - "value": 0, - "unit": "c", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -130,8 +130,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "Management1", + "metric": "error_counter_excessive_collisions", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -144,10 +144,10 @@ "max": null }, { - "metric": "interface_admin_status", + "metric": "error_counter_out", "label": "Ethernet2", - "value": 1, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -158,9 +158,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "Ethernet3", - "value": 30003997, + "metric": "traffic_counter_in", + "label": "Ethernet2", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -172,8 +172,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "Management1", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -200,8 +200,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "Ethernet1", + "metric": "error_counter_carrier_sense_errors", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -214,10 +214,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "Ethernet1", + "metric": "error_counter_CRCAlign_errors", + "label": "Ethernet2", "value": 0, - "unit": "", + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -228,8 +228,8 @@ "max": null }, { - "metric": "error_counter_CRCAlign_errors", - "label": "Ethernet2", + "metric": "error_counter_internal_mac_receive_errors", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -242,8 +242,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "Ethernet3", + "metric": "packet_counter_discard_out", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -256,10 +256,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "Ethernet3", - "value": 1, - "unit": "", + "metric": "error_counter_in", + "label": "Ethernet2", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -270,9 +270,9 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "Ethernet1", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "Management1", + "value": 156523, "unit": "c", "thresholds": { "warningMin": null, @@ -284,8 +284,8 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "Ethernet2", + "metric": "error_counter_FCSErrors", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -298,9 +298,9 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "Ethernet3", - "value": 237534, + "metric": "error_counter_internal_mac_receive_errors", + "label": "Management1", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -312,8 +312,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "Management1", + "metric": "packet_counter_broadcast_in", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -326,10 +326,10 @@ "max": null }, { - "metric": "interface_admin_status", + "metric": "error_counter_in", "label": "Management1", - "value": 1, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -340,9 +340,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "error_counter_multiple_collision_frames", "label": "Management1", - "value": 156523, + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -354,9 +354,9 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "Management1", - "value": 0, + "metric": "packet_counter_multicast_out", + "label": "Ethernet1", + "value": 237534, "unit": "c", "thresholds": { "warningMin": null, @@ -368,9 +368,9 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "Ethernet1", - "value": 1, + "metric": "interface_maxspeed_out", + "label": "Management1", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -383,7 +383,7 @@ }, { "metric": "packet_counter_unicast_out", - "label": "Ethernet1", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -396,8 +396,8 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "Ethernet3", + "metric": "error_counter_FCSErrors", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -410,8 +410,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "Management1", + "metric": "packet_counter_multicast_in", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -424,9 +424,9 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "Management1", - "value": 0, + "metric": "packet_counter_multicast_out", + "label": "Ethernet3", + "value": 237534, "unit": "c", "thresholds": { "warningMin": null, @@ -438,8 +438,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "Ethernet2", + "metric": "packet_counter_broadcast_in", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -452,7 +452,7 @@ "max": null }, { - "metric": "error_counter_late_collisions", + "metric": "packet_counter_discard_in", "label": "Management1", "value": 0, "unit": "c", @@ -466,7 +466,7 @@ "max": null }, { - "metric": "traffic_counter_in", + "metric": "error_counter_internal_mac_transmit_errors", "label": "Ethernet1", "value": 0, "unit": "c", @@ -480,22 +480,8 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "Management1", - "value": 1000000000, - "unit": "", - "thresholds": { - "warningMin": null, - "warningMax": null, - "criticalMin": null, - "criticalMax": null - }, - "min": null, - "max": null - }, - { - "metric": "error_counter_excessive_collisions", - "label": "Management1", + "metric": "error_counter_internal_mac_receive_errors", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -508,10 +494,10 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", + "metric": "interface_admin_status", "label": "Management1", - "value": 0, - "unit": "c", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -522,8 +508,8 @@ "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "Ethernet1", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -536,8 +522,8 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "Ethernet1", + "metric": "error_counter_frame_too_longs", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -550,8 +536,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "Ethernet2", + "metric": "error_counter_SQETest_errors", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -564,8 +550,8 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "Ethernet2", + "metric": "packet_counter_discard_in", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -578,7 +564,7 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", + "metric": "error_counter_SQETest_errors", "label": "Management1", "value": 0, "unit": "c", @@ -592,8 +578,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "Ethernet1", + "metric": "error_counter_CRCAlign_errors", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -606,8 +592,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "Ethernet3", + "metric": "packet_counter_multicast_in", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -620,8 +606,8 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "Ethernet3", + "metric": "interface_maxspeed_in", + "label": "Ethernet2", "value": 0, "unit": "", "thresholds": { @@ -635,7 +621,7 @@ }, { "metric": "error_counter_late_collisions", - "label": "Ethernet1", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -648,8 +634,8 @@ "max": null }, { - "metric": "error_counter_CRCAlign_errors", - "label": "Ethernet1", + "metric": "packet_counter_unicast_in", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -662,9 +648,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "Ethernet2", - "value": 30003997, + "metric": "error_counter_single_collision_frames", + "label": "Ethernet1", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -676,10 +662,10 @@ "max": null }, { - "metric": "error_counter_excessive_collisions", + "metric": "interface_maxspeed_out", "label": "Ethernet3", "value": 0, - "unit": "c", + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -690,7 +676,7 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", + "metric": "packet_counter_discard_out", "label": "Management1", "value": 0, "unit": "c", @@ -718,9 +704,9 @@ "max": null }, { - "metric": "interface_maxspeed_in", + "metric": "interface_oper_status", "label": "Ethernet2", - "value": 0, + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -732,8 +718,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "Ethernet2", + "metric": "error_counter_late_collisions", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -746,8 +732,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "Ethernet2", + "metric": "error_counter_FCSErrors", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -760,8 +746,8 @@ "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "Ethernet3", + "metric": "error_counter_out", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -775,7 +761,7 @@ }, { "metric": "error_counter_excessive_collisions", - "label": "Ethernet2", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -788,10 +774,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "Ethernet3", - "value": 1, - "unit": "", + "metric": "error_counter_carrier_sense_errors", + "label": "Ethernet1", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -802,8 +788,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "Ethernet3", + "metric": "error_counter_frame_too_longs", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -816,8 +802,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "Ethernet3", + "metric": "error_counter_late_collisions", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -830,10 +816,10 @@ "max": null }, { - "metric": "error_counter_out", - "label": "Management1", + "metric": "interface_maxspeed_in", + "label": "Ethernet1", "value": 0, - "unit": "c", + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -844,8 +830,8 @@ "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "Management1", + "metric": "packet_counter_broadcast_out", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -858,7 +844,7 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", + "metric": "error_counter_multiple_collision_frames", "label": "Ethernet1", "value": 0, "unit": "c", @@ -872,9 +858,9 @@ "max": null }, { - "metric": "error_counter_alignment_errors", + "metric": "traffic_counter_out", "label": "Ethernet1", - "value": 0, + "value": 30003997, "unit": "c", "thresholds": { "warningMin": null, @@ -886,10 +872,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "Management1", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_out", + "label": "Ethernet1", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -900,8 +886,8 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "Management1", + "metric": "error_counter_alignment_errors", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -914,8 +900,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "Ethernet2", + "metric": "error_counter_late_collisions", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -928,10 +914,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "Ethernet2", - "value": 1, - "unit": "", + "metric": "error_counter_CRCAlign_errors", + "label": "Ethernet1", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -942,9 +928,9 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "Ethernet1", - "value": 237534, + "metric": "traffic_counter_in", + "label": "Ethernet3", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -970,10 +956,10 @@ "max": null }, { - "metric": "interface_oper_status", + "metric": "error_counter_single_collision_frames", "label": "Management1", - "value": 1, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -984,8 +970,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "Ethernet1", + "metric": "packet_counter_discard_out", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -998,10 +984,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "interface_maxspeed_out", "label": "Ethernet2", - "value": 237534, - "unit": "c", + "value": 0, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1012,8 +998,8 @@ "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "Ethernet1", + "metric": "packet_counter_discard_out", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -1026,8 +1012,8 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "Ethernet2", + "metric": "traffic_counter_in", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -1040,8 +1026,8 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "Management1", + "metric": "error_counter_in", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -1054,10 +1040,10 @@ "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "interface_admin_status", "label": "Ethernet1", - "value": 0, - "unit": "c", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1068,10 +1054,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "Ethernet3", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "Management1", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1082,8 +1068,8 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "Ethernet3", + "metric": "error_counter_deferred_transmissions", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -1096,7 +1082,7 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", + "metric": "error_counter_excessive_collisions", "label": "Ethernet2", "value": 0, "unit": "c", @@ -1110,10 +1096,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "interface_oper_status", "label": "Ethernet3", - "value": 0, - "unit": "c", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1125,8 +1111,8 @@ }, { "metric": "interface_maxspeed_in", - "label": "Ethernet3", - "value": 0, + "label": "Management1", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -1138,8 +1124,8 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "Ethernet3", + "metric": "packet_counter_discard_in", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -1152,8 +1138,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "Management1", + "metric": "error_counter_deferred_transmissions", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -1166,10 +1152,10 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "Management1", + "metric": "interface_maxspeed_in", + "label": "Ethernet3", "value": 0, - "unit": "c", + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1180,8 +1166,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "Ethernet1", + "metric": "error_counter_carrier_sense_errors", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -1194,8 +1180,8 @@ "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "Ethernet2", + "metric": "packet_counter_broadcast_out", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -1208,8 +1194,8 @@ "max": null }, { - "metric": "error_counter_late_collisions", - "label": "Ethernet2", + "metric": "error_counter_alignment_errors", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -1222,8 +1208,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "Ethernet3", + "metric": "error_counter_SQETest_errors", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -1250,8 +1236,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "Ethernet1", + "metric": "traffic_counter_in", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -1265,8 +1251,8 @@ }, { "metric": "traffic_counter_out", - "label": "Ethernet1", - "value": 30003997, + "label": "Management1", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -1278,8 +1264,8 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "Ethernet1", + "metric": "error_counter_frame_too_longs", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -1292,10 +1278,10 @@ "max": null }, { - "metric": "error_counter_out", - "label": "Ethernet2", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "Ethernet1", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1306,7 +1292,7 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", + "metric": "error_counter_single_collision_frames", "label": "Ethernet2", "value": 0, "unit": "c", @@ -1320,8 +1306,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "Ethernet2", + "metric": "error_counter_in", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -1334,7 +1320,7 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", + "metric": "packet_counter_unicast_out", "label": "Ethernet3", "value": 0, "unit": "c", @@ -1347,10 +1333,24 @@ "min": null, "max": null }, + { + "metric": "interface_admin_status", + "label": "Ethernet2", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, { "metric": "traffic_counter_out", - "label": "Management1", - "value": 0, + "label": "Ethernet2", + "value": 30003997, "unit": "c", "thresholds": { "warningMin": null, @@ -1362,8 +1362,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "Management1", + "metric": "error_counter_single_collision_frames", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -1376,8 +1376,8 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "Ethernet1", + "metric": "error_counter_frame_too_longs", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -1390,8 +1390,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "Ethernet2", + "metric": "packet_counter_multicast_in", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -1404,8 +1404,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "Ethernet2", + "metric": "error_counter_deferred_transmissions", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -1418,8 +1418,8 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "Ethernet2", + "metric": "error_counter_carrier_sense_errors", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -1432,7 +1432,7 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", + "metric": "error_counter_multiple_collision_frames", "label": "Ethernet2", "value": 0, "unit": "c", @@ -1446,8 +1446,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "Ethernet1", + "metric": "error_counter_deferred_transmissions", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -1460,8 +1460,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "Ethernet3", + "metric": "packet_counter_broadcast_in", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -1475,7 +1475,7 @@ }, { "metric": "error_counter_out", - "label": "Ethernet3", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -1488,10 +1488,10 @@ "max": null }, { - "metric": "interface_oper_status", + "metric": "packet_counter_unicast_in", "label": "Ethernet1", - "value": 1, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1502,8 +1502,8 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "Ethernet1", + "metric": "error_counter_alignment_errors", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -1516,8 +1516,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "Ethernet2", + "metric": "error_counter_SQETest_errors", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -1530,8 +1530,8 @@ "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "Ethernet3", + "metric": "packet_counter_multicast_out", + "label": "Management1", "value": 0, "unit": "c", "thresholds": { @@ -1544,8 +1544,8 @@ "max": null }, { - "metric": "error_counter_CRCAlign_errors", - "label": "Management1", + "metric": "packet_counter_unicast_in", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -1558,8 +1558,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "Ethernet1", + "metric": "error_counter_alignment_errors", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -1572,8 +1572,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "Ethernet1", + "metric": "packet_counter_unicast_in", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -1586,8 +1586,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "Ethernet2", + "metric": "error_counter_multiple_collision_frames", + "label": "Ethernet3", "value": 0, "unit": "c", "thresholds": { @@ -1600,10 +1600,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "Ethernet2", + "metric": "packet_counter_broadcast_in", + "label": "Management1", "value": 0, - "unit": "", + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1614,8 +1614,8 @@ "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "Ethernet2", + "metric": "packet_counter_broadcast_out", + "label": "Ethernet1", "value": 0, "unit": "c", "thresholds": { @@ -1628,8 +1628,8 @@ "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "Management1", + "metric": "packet_counter_discard_in", + "label": "Ethernet2", "value": 0, "unit": "c", "thresholds": { @@ -1646,7 +1646,7 @@ "messages": [ { "status": 0, - "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"Ethernet1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Ethernet1\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:03:00:01\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"2\",\"ifDescr\":\"Ethernet2\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Ethernet2\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:03:00:02\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"3\",\"ifDescr\":\"Ethernet3\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Ethernet3\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:03:00:03\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"999001\",\"ifDescr\":\"Management1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Management1\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:03:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null}]" + "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"Ethernet1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Ethernet1\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:03:00:01\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"0\",\"maxSpeedOut\":\"0\",\"subType\":null},{\"ifIndex\":\"2\",\"ifDescr\":\"Ethernet2\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Ethernet2\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:03:00:02\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"0\",\"maxSpeedOut\":\"0\",\"subType\":null},{\"ifIndex\":\"3\",\"ifDescr\":\"Ethernet3\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Ethernet3\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:03:00:03\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"0\",\"maxSpeedOut\":\"0\",\"subType\":null},{\"ifIndex\":\"999001\",\"ifDescr\":\"Management1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Management1\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:03:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null}]" } ] }, diff --git a/test/testdata/devices/comware/VSR1000/public.testdata b/test/testdata/devices/comware/VSR1000/public.testdata index afe9607..6dfc58e 100644 --- a/test/testdata/devices/comware/VSR1000/public.testdata +++ b/test/testdata/devices/comware/VSR1000/public.testdata @@ -18,22 +18,8 @@ "status_code": 0, "performance_data": [ { - "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet6/0", - "value": 0, - "unit": "c", - "thresholds": { - "warningMin": null, - "warningMax": null, - "criticalMin": null, - "criticalMax": null - }, - "min": null, - "max": null - }, - { - "metric": "error_counter_in", - "label": "GigabitEthernet7/0", + "metric": "error_counter_single_collision_frames", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -46,10 +32,10 @@ "max": null }, { - "metric": "interface_oper_status", + "metric": "error_counter_internal_mac_receive_errors", "label": "GigabitEthernet8/0", - "value": 1, - "unit": "", + "value": 185, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -60,8 +46,8 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet8/0", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -74,9 +60,9 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "NULL0", - "value": 1000000000, + "metric": "interface_admin_status", + "label": "GigabitEthernet5/0", + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -88,8 +74,8 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "GigabitEthernet1/0", + "metric": "error_counter_alignment_errors", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -102,8 +88,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet6/0", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -116,7 +102,7 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", + "metric": "error_counter_alignment_errors", "label": "GigabitEthernet3/0", "value": 0, "unit": "c", @@ -130,8 +116,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet4/0", + "metric": "packet_counter_discard_in", + "label": "InLoopBack0", "value": 0, "unit": "c", "thresholds": { @@ -145,7 +131,7 @@ }, { "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet4/0", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -158,7 +144,7 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", + "metric": "error_counter_single_collision_frames", "label": "GigabitEthernet6/0", "value": 0, "unit": "c", @@ -172,9 +158,9 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "GigabitEthernet2/0", - "value": 0, + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet8/0", + "value": 7255, "unit": "c", "thresholds": { "warningMin": null, @@ -186,8 +172,8 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet2/0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -201,7 +187,7 @@ }, { "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet6/0", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -214,9 +200,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet8/0", - "value": 7288, + "metric": "packet_counter_discard_in", + "label": "GigabitEthernet2/0", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -228,10 +214,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet8/0", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "GigabitEthernet4/0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -242,10 +228,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet8/0", - "value": 1000000000, - "unit": "", + "metric": "error_counter_single_collision_frames", + "label": "GigabitEthernet5/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -256,10 +242,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet5/0", - "value": 1000000000, - "unit": "", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet7/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -270,8 +256,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -284,7 +270,7 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", + "metric": "packet_counter_multicast_out", "label": "GigabitEthernet3/0", "value": 0, "unit": "c", @@ -298,10 +284,10 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet4/0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "GigabitEthernet3/0", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -312,8 +298,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet7/0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -326,10 +312,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "InLoopBack0", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "NULL0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -340,7 +326,7 @@ "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "traffic_counter_in", "label": "GigabitEthernet1/0", "value": 0, "unit": "c", @@ -354,8 +340,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet3/0", + "metric": "error_counter_out", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -368,10 +354,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "NULL0", - "value": 1, - "unit": "", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet6/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -382,8 +368,8 @@ "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet6/0", + "metric": "error_counter_in", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -396,8 +382,8 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "GigabitEthernet8/0", + "metric": "packet_counter_discard_in", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -410,9 +396,9 @@ "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet1/0", - "value": 0, + "metric": "traffic_counter_in", + "label": "GigabitEthernet8/0", + "value": 693224, "unit": "c", "thresholds": { "warningMin": null, @@ -424,8 +410,8 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_discard_in", + "label": "NULL0", "value": 0, "unit": "c", "thresholds": { @@ -438,10 +424,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet8/0", - "value": 1000000000, - "unit": "", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet1/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -452,8 +438,8 @@ "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -466,8 +452,8 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -480,8 +466,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet6/0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -494,10 +480,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet8/0", - "value": 1, - "unit": "", + "metric": "traffic_counter_out", + "label": "InLoopBack0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -508,7 +494,7 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", + "metric": "traffic_counter_out", "label": "GigabitEthernet2/0", "value": 0, "unit": "c", @@ -522,8 +508,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet3/0", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -536,7 +522,7 @@ "max": null }, { - "metric": "error_counter_FCSErrors", + "metric": "packet_counter_discard_out", "label": "GigabitEthernet6/0", "value": 0, "unit": "c", @@ -550,8 +536,8 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -564,10 +550,10 @@ "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet8/0", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "GigabitEthernet3/0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -578,10 +564,10 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet8/0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet3/0", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -592,8 +578,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "GigabitEthernet1/0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -606,8 +592,8 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet5/0", + "metric": "error_counter_in", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -621,7 +607,7 @@ }, { "metric": "error_counter_out", - "label": "GigabitEthernet4/0", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -634,8 +620,8 @@ "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet3/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -648,10 +634,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet5/0", - "value": 1000000000, - "unit": "", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet1/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -662,7 +648,7 @@ "max": null }, { - "metric": "packet_counter_multicast_in", + "metric": "packet_counter_broadcast_out", "label": "GigabitEthernet6/0", "value": 0, "unit": "c", @@ -676,9 +662,9 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", + "metric": "error_counter_in", "label": "GigabitEthernet8/0", - "value": 0, + "value": 185, "unit": "c", "thresholds": { "warningMin": null, @@ -690,8 +676,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet1/0", + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -704,8 +690,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_discard_out", + "label": "NULL0", "value": 0, "unit": "c", "thresholds": { @@ -718,10 +704,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet4/0", - "value": 1, - "unit": "", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet8/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -732,8 +718,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet4/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -746,10 +732,10 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet7/0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "NULL0", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -760,8 +746,8 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet1/0", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -774,10 +760,10 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "GigabitEthernet3/0", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "GigabitEthernet4/0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -788,8 +774,8 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet1/0", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -802,8 +788,8 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "GigabitEthernet6/0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -816,8 +802,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet6/0", + "metric": "error_counter_out", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -830,9 +816,9 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet6/0", - "value": 1000000000, + "metric": "interface_oper_status", + "label": "GigabitEthernet8/0", + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -844,22 +830,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet4/0", - "value": 0, - "unit": "c", - "thresholds": { - "warningMin": null, - "warningMax": null, - "criticalMin": null, - "criticalMax": null - }, - "min": null, - "max": null - }, - { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -872,8 +844,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -886,8 +858,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet2/0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -900,8 +872,8 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "GigabitEthernet5/0", + "metric": "interface_admin_status", + "label": "InLoopBack0", "value": 1, "unit": "", "thresholds": { @@ -914,8 +886,8 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "GigabitEthernet6/0", + "metric": "error_counter_alignment_errors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -928,8 +900,8 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "NULL0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -942,9 +914,9 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet1/0", - "value": 0, + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet8/0", + "value": 27, "unit": "c", "thresholds": { "warningMin": null, @@ -956,8 +928,8 @@ "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet5/0", + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -970,8 +942,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet5/0", + "metric": "traffic_counter_in", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -984,7 +956,7 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", + "metric": "error_counter_FCSErrors", "label": "GigabitEthernet5/0", "value": 0, "unit": "c", @@ -998,10 +970,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet6/0", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "GigabitEthernet3/0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1012,8 +984,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet3/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -1026,10 +998,10 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet3/0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "GigabitEthernet7/0", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1040,10 +1012,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "GigabitEthernet4/0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "GigabitEthernet8/0", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1054,10 +1026,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet7/0", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet4/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1068,9 +1040,9 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet8/0", - "value": 693224, + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet7/0", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -1082,8 +1054,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet1/0", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -1096,8 +1068,8 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -1110,8 +1082,8 @@ "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet3/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -1124,10 +1096,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet5/0", + "metric": "interface_maxspeed_out", + "label": "Register-Tunnel0", "value": 0, - "unit": "c", + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1138,8 +1110,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -1152,8 +1124,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet3/0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -1166,10 +1138,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "GigabitEthernet3/0", - "value": 1, - "unit": "", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet4/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1180,8 +1152,8 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "GigabitEthernet7/0", + "metric": "error_counter_in", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -1194,10 +1166,10 @@ "max": null }, { - "metric": "error_counter_out", + "metric": "interface_maxspeed_in", "label": "GigabitEthernet1/0", - "value": 0, - "unit": "c", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1208,8 +1180,8 @@ "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet1/0", + "metric": "packet_counter_discard_in", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -1222,10 +1194,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet5/0", - "value": 1, - "unit": "", + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet6/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1236,8 +1208,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet8/0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -1250,10 +1222,10 @@ "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet3/0", + "metric": "interface_maxspeed_in", + "label": "InLoopBack0", "value": 0, - "unit": "c", + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1264,8 +1236,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet3/0", + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -1278,8 +1250,8 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet7/0", + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet4/0", "value": 1000000000, "unit": "", "thresholds": { @@ -1293,7 +1265,7 @@ }, { "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet8/0", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -1306,10 +1278,10 @@ "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet2/0", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "GigabitEthernet6/0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1320,8 +1292,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet3/0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -1334,8 +1306,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet8/0", + "metric": "traffic_counter_in", + "label": "NULL0", "value": 0, "unit": "c", "thresholds": { @@ -1348,8 +1320,8 @@ "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet8/0", + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -1362,8 +1334,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "Register-Tunnel0", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -1377,7 +1349,7 @@ }, { "metric": "interface_oper_status", - "label": "GigabitEthernet2/0", + "label": "Register-Tunnel0", "value": 1, "unit": "", "thresholds": { @@ -1390,8 +1362,8 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -1404,8 +1376,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet3/0", + "metric": "traffic_counter_in", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -1418,8 +1390,22 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet6/0", + "metric": "traffic_counter_out", + "label": "GigabitEthernet7/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_oper_status", + "label": "NULL0", "value": 1, "unit": "", "thresholds": { @@ -1432,8 +1418,8 @@ "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet7/0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -1446,9 +1432,9 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet8/0", - "value": 185, + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet5/0", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -1460,10 +1446,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet2/0", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet6/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1474,7 +1460,7 @@ "max": null }, { - "metric": "error_counter_excessive_collisions", + "metric": "packet_counter_broadcast_out", "label": "GigabitEthernet2/0", "value": 0, "unit": "c", @@ -1488,8 +1474,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet7/0", + "metric": "error_counter_FCSErrors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -1502,8 +1488,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "GigabitEthernet8/0", + "metric": "error_counter_FCSErrors", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -1516,8 +1502,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet2/0", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -1530,9 +1516,9 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "NULL0", - "value": 1000000000, + "metric": "interface_admin_status", + "label": "Register-Tunnel0", + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -1544,9 +1530,9 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet8/0", - "value": 5, + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet1/0", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -1558,10 +1544,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "Register-Tunnel0", - "value": 1, - "unit": "", + "metric": "error_counter_out", + "label": "GigabitEthernet4/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1572,8 +1558,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet4/0", + "metric": "error_counter_in", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -1586,10 +1572,10 @@ "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet5/0", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "GigabitEthernet6/0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1600,9 +1586,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "GigabitEthernet8/0", - "value": 1315474, + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet7/0", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -1614,10 +1600,10 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", + "metric": "interface_admin_status", "label": "GigabitEthernet8/0", - "value": 0, - "unit": "c", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1628,8 +1614,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet1/0", + "metric": "error_counter_FCSErrors", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -1642,8 +1628,8 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet2/0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -1656,10 +1642,10 @@ "max": null }, { - "metric": "interface_oper_status", + "metric": "error_counter_in", "label": "GigabitEthernet4/0", - "value": 1, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1670,9 +1656,9 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet8/0", - "value": 7255, + "metric": "error_counter_alignment_errors", + "label": "GigabitEthernet6/0", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -1684,10 +1670,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "InLoopBack0", - "value": 1, - "unit": "", + "metric": "packet_counter_discard_in", + "label": "GigabitEthernet1/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1698,8 +1684,8 @@ "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet1/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -1712,10 +1698,10 @@ "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet3/0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet7/0", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1726,8 +1712,8 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "GigabitEthernet2/0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -1740,10 +1726,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet3/0", - "value": 1000000000, - "unit": "", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet5/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1754,10 +1740,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "GigabitEthernet7/0", - "value": 1, - "unit": "", + "metric": "traffic_counter_out", + "label": "GigabitEthernet6/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1768,8 +1754,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet1/0", + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -1782,8 +1768,8 @@ "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet1/0", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -1796,8 +1782,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -1810,8 +1796,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "NULL0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -1824,10 +1810,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "NULL0", - "value": 1, - "unit": "", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet8/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1838,8 +1824,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet1/0", + "metric": "traffic_counter_out", + "label": "NULL0", "value": 0, "unit": "c", "thresholds": { @@ -1852,8 +1838,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet1/0", + "metric": "traffic_counter_in", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -1866,8 +1852,8 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet8/0", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -1880,8 +1866,8 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet3/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -1894,8 +1880,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet4/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -1908,8 +1894,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet5/0", + "metric": "error_counter_single_collision_frames", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -1922,8 +1908,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet7/0", + "metric": "error_counter_in", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -1936,7 +1922,7 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", + "metric": "error_counter_internal_mac_receive_errors", "label": "GigabitEthernet5/0", "value": 0, "unit": "c", @@ -1950,8 +1936,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet4/0", + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -1964,8 +1950,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -1978,8 +1964,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet7/0", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -1992,8 +1978,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -2006,8 +1992,8 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet3/0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -2034,9 +2020,9 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet4/0", - "value": 1000000000, + "metric": "interface_maxspeed_out", + "label": "InLoopBack0", + "value": 0, "unit": "", "thresholds": { "warningMin": null, @@ -2048,7 +2034,7 @@ "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "traffic_counter_out", "label": "GigabitEthernet5/0", "value": 0, "unit": "c", @@ -2062,8 +2048,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet2/0", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -2076,8 +2062,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet2/0", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -2090,8 +2076,8 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet4/0", + "metric": "error_counter_out", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -2104,8 +2090,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -2118,8 +2104,8 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet6/0", + "metric": "error_counter_alignment_errors", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -2132,8 +2118,8 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_discard_in", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -2146,10 +2132,10 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", + "metric": "interface_admin_status", "label": "GigabitEthernet7/0", - "value": 0, - "unit": "c", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2160,9 +2146,9 @@ "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet7/0", - "value": 0, + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet8/0", + "value": 5, "unit": "c", "thresholds": { "warningMin": null, @@ -2174,10 +2160,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "GigabitEthernet1/0", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "GigabitEthernet2/0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2188,10 +2174,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet3/0", - "value": 1000000000, - "unit": "", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet4/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2203,7 +2189,7 @@ }, { "metric": "packet_counter_discard_in", - "label": "Register-Tunnel0", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -2216,8 +2202,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet5/0", + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -2230,8 +2216,8 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet6/0", + "metric": "traffic_counter_out", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -2244,8 +2230,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet6/0", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -2258,10 +2244,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "GigabitEthernet6/0", - "value": 1, - "unit": "", + "metric": "error_counter_FCSErrors", + "label": "GigabitEthernet7/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2272,7 +2258,7 @@ "max": null }, { - "metric": "error_counter_out", + "metric": "traffic_counter_in", "label": "GigabitEthernet7/0", "value": 0, "unit": "c", @@ -2286,9 +2272,9 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "NULL0", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet8/0", + "value": 7288, "unit": "c", "thresholds": { "warningMin": null, @@ -2300,10 +2286,10 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "Register-Tunnel0", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "InLoopBack0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2314,10 +2300,10 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet4/0", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "GigabitEthernet5/0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2328,8 +2314,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -2342,8 +2328,8 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet3/0", + "metric": "interface_oper_status", + "label": "GigabitEthernet7/0", "value": 1, "unit": "", "thresholds": { @@ -2356,8 +2342,8 @@ "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet8/0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -2370,8 +2356,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "InLoopBack0", + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -2384,10 +2370,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet1/0", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet6/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2398,8 +2384,8 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet3/0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -2412,7 +2398,7 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", + "metric": "error_counter_out", "label": "GigabitEthernet5/0", "value": 0, "unit": "c", @@ -2426,8 +2412,8 @@ "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet3/0", + "metric": "error_counter_out", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -2440,10 +2426,10 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet4/0", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "GigabitEthernet1/0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2454,8 +2440,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -2468,8 +2454,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet3/0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -2482,8 +2468,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet5/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -2496,8 +2482,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "GigabitEthernet7/0", + "metric": "error_counter_FCSErrors", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -2510,8 +2496,8 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet7/0", + "metric": "error_counter_alignment_errors", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -2524,8 +2510,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet7/0", + "metric": "error_counter_alignment_errors", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -2538,7 +2524,7 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", + "metric": "error_counter_excessive_collisions", "label": "GigabitEthernet4/0", "value": 0, "unit": "c", @@ -2552,22 +2538,8 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet6/0", - "value": 1000000000, - "unit": "", - "thresholds": { - "warningMin": null, - "warningMax": null, - "criticalMin": null, - "criticalMax": null - }, - "min": null, - "max": null - }, - { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet4/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -2580,8 +2552,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet4/0", + "metric": "packet_counter_discard_out", + "label": "InLoopBack0", "value": 0, "unit": "c", "thresholds": { @@ -2594,8 +2566,8 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -2608,8 +2580,8 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -2622,10 +2594,10 @@ "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "interface_maxspeed_out", "label": "GigabitEthernet6/0", - "value": 0, - "unit": "c", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2636,8 +2608,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet7/0", + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -2650,8 +2622,8 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet2/0", + "metric": "error_counter_in", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -2664,8 +2636,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet4/0", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -2678,10 +2650,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "Register-Tunnel0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet8/0", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2692,8 +2664,8 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet8/0", + "metric": "traffic_counter_in", + "label": "InLoopBack0", "value": 0, "unit": "c", "thresholds": { @@ -2706,8 +2678,8 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "InLoopBack0", + "metric": "interface_oper_status", + "label": "GigabitEthernet1/0", "value": 1, "unit": "", "thresholds": { @@ -2720,9 +2692,9 @@ "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet8/0", - "value": 185, + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet1/0", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -2734,8 +2706,8 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet1/0", + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -2748,7 +2720,7 @@ "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "error_counter_FCSErrors", "label": "GigabitEthernet4/0", "value": 0, "unit": "c", @@ -2762,10 +2734,10 @@ "max": null }, { - "metric": "error_counter_excessive_collisions", + "metric": "interface_maxspeed_out", "label": "GigabitEthernet5/0", - "value": 0, - "unit": "c", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2776,10 +2748,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "Register-Tunnel0", - "value": 1, - "unit": "", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet6/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2790,8 +2762,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet1/0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -2804,8 +2776,8 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -2818,10 +2790,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet2/0", - "value": 1, - "unit": "", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet1/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2832,8 +2804,8 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "GigabitEthernet3/0", + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -2846,10 +2818,10 @@ "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet4/0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet2/0", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2860,8 +2832,8 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet4/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -2874,8 +2846,8 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "GigabitEthernet1/0", + "metric": "interface_admin_status", + "label": "GigabitEthernet2/0", "value": 1, "unit": "", "thresholds": { @@ -2888,8 +2860,8 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet1/0", + "metric": "interface_maxspeed_out", + "label": "GigabitEthernet4/0", "value": 1000000000, "unit": "", "thresholds": { @@ -2902,8 +2874,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet2/0", + "metric": "traffic_counter_out", + "label": "Register-Tunnel0", "value": 0, "unit": "c", "thresholds": { @@ -2916,8 +2888,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet3/0", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -2930,8 +2902,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "InLoopBack0", + "metric": "packet_counter_discard_out", + "label": "Register-Tunnel0", "value": 0, "unit": "c", "thresholds": { @@ -2944,10 +2916,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "interface_maxspeed_out", "label": "GigabitEthernet1/0", - "value": 0, - "unit": "c", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2958,8 +2930,8 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "GigabitEthernet2/0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -2972,7 +2944,7 @@ "max": null }, { - "metric": "error_counter_late_collisions", + "metric": "error_counter_single_collision_frames", "label": "GigabitEthernet4/0", "value": 0, "unit": "c", @@ -2986,9 +2958,9 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet8/0", - "value": 27, + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet1/0", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -3001,7 +2973,7 @@ }, { "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet6/0", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -3013,9 +2985,23 @@ "min": null, "max": null }, + { + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet5/0", + "value": 1000000000, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, { "metric": "interface_maxspeed_out", - "label": "GigabitEthernet4/0", + "label": "NULL0", "value": 1000000000, "unit": "", "thresholds": { @@ -3028,7 +3014,7 @@ "max": null }, { - "metric": "traffic_counter_in", + "metric": "error_counter_alignment_errors", "label": "GigabitEthernet5/0", "value": 0, "unit": "c", @@ -3042,8 +3028,8 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "GigabitEthernet5/0", + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -3056,8 +3042,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet6/0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -3071,7 +3057,7 @@ }, { "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet7/0", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -3084,10 +3070,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet1/0", - "value": 1, - "unit": "", + "metric": "packet_counter_discard_in", + "label": "Register-Tunnel0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3098,8 +3084,8 @@ "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet2/0", + "metric": "traffic_counter_in", + "label": "Register-Tunnel0", "value": 0, "unit": "c", "thresholds": { @@ -3112,8 +3098,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet4/0", + "metric": "error_counter_single_collision_frames", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", "thresholds": { @@ -3126,8 +3112,8 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet6/0", + "metric": "error_counter_out", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -3140,8 +3126,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet2/0", + "metric": "traffic_counter_in", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -3154,9 +3140,9 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet3/0", - "value": 0, + "metric": "traffic_counter_out", + "label": "GigabitEthernet8/0", + "value": 1315474, "unit": "c", "thresholds": { "warningMin": null, @@ -3168,8 +3154,8 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet4/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -3196,7 +3182,7 @@ "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "traffic_counter_out", "label": "GigabitEthernet1/0", "value": 0, "unit": "c", @@ -3211,7 +3197,7 @@ }, { "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet1/0", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -3238,7 +3224,21 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", + "metric": "packet_counter_discard_in", + "label": "GigabitEthernet6/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_discard_in", "label": "GigabitEthernet8/0", "value": 0, "unit": "c", @@ -3252,10 +3252,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "InLoopBack0", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet2/0", "value": 0, - "unit": "", + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3266,10 +3266,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "Register-Tunnel0", + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet4/0", "value": 0, - "unit": "", + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3280,8 +3280,8 @@ "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -3294,8 +3294,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "InLoopBack0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", "thresholds": { @@ -3308,10 +3308,10 @@ "max": null }, { - "metric": "interface_admin_status", + "metric": "error_counter_single_collision_frames", "label": "GigabitEthernet7/0", - "value": 1, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3322,8 +3322,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "NULL0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -3336,8 +3336,8 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet1/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", "thresholds": { @@ -3364,8 +3364,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", "thresholds": { @@ -3379,7 +3379,7 @@ }, { "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet6/0", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -3392,7 +3392,7 @@ "max": null }, { - "metric": "error_counter_excessive_collisions", + "metric": "traffic_counter_out", "label": "GigabitEthernet4/0", "value": 0, "unit": "c", @@ -3406,8 +3406,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet5/0", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", "thresholds": { @@ -3420,8 +3420,8 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", "thresholds": { @@ -3434,8 +3434,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "GigabitEthernet6/0", + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", "thresholds": { @@ -3448,10 +3448,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "InLoopBack0", + "metric": "error_counter_FCSErrors", + "label": "GigabitEthernet3/0", "value": 0, - "unit": "", + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3462,8 +3462,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet2/0", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", "thresholds": { @@ -3476,10 +3476,10 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "GigabitEthernet5/0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet6/0", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3494,7 +3494,7 @@ "messages": [ { "status": 0, - "message": "[{\"ifIndex\":\"17\",\"ifDescr\":\"GigabitEthernet1/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet1/0\",\"ifAlias\":\"GigabitEthernet1/0 Interface\",\"ifPhysAddress\":\"52:54:00:A0:CA:01\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"33\",\"ifDescr\":\"GigabitEthernet2/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet2/0\",\"ifAlias\":\"GigabitEthernet2/0 Interface\",\"ifPhysAddress\":\"52:54:00:D1:2D:02\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"49\",\"ifDescr\":\"GigabitEthernet3/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet3/0\",\"ifAlias\":\"GigabitEthernet3/0 Interface\",\"ifPhysAddress\":\"52:54:00:FC:26:03\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"65\",\"ifDescr\":\"GigabitEthernet4/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet4/0\",\"ifAlias\":\"GigabitEthernet4/0 Interface\",\"ifPhysAddress\":\"52:54:00:CB:2A:04\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"81\",\"ifDescr\":\"GigabitEthernet5/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet5/0\",\"ifAlias\":\"GigabitEthernet5/0 Interface\",\"ifPhysAddress\":\"52:54:00:EA:66:05\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"97\",\"ifDescr\":\"GigabitEthernet6/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet6/0\",\"ifAlias\":\"GigabitEthernet6/0 Interface\",\"ifPhysAddress\":\"52:54:00:30:75:06\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"113\",\"ifDescr\":\"GigabitEthernet7/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet7/0\",\"ifAlias\":\"GigabitEthernet7/0 Interface\",\"ifPhysAddress\":\"52:54:00:77:9D:07\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"129\",\"ifDescr\":\"GigabitEthernet8/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet8/0\",\"ifAlias\":\"GigabitEthernet8/0 Interface\",\"ifPhysAddress\":\"52:54:00:BB:FC:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"401\",\"ifDescr\":\"NULL0\",\"ifType\":\"other\",\"ifName\":\"NULL0\",\"ifAlias\":\"NULL0 Interface\",\"ifPhysAddress\":\"00:00:00:00:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"402\",\"ifDescr\":\"InLoopBack0\",\"ifType\":\"softwareLoopback\",\"ifName\":\"InLoopBack0\",\"ifAlias\":\"InLoopBack0 Interface\",\"ifPhysAddress\":\"00:00:00:00:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"403\",\"ifDescr\":\"Register-Tunnel0\",\"ifType\":\"other\",\"ifName\":\"Register-Tunnel0\",\"ifAlias\":\"Register-Tunnel0 Interface\",\"ifPhysAddress\":\"00:00:00:00:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null}]" + "message": "[{\"ifIndex\":\"17\",\"ifDescr\":\"GigabitEthernet1/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet1/0\",\"ifAlias\":\"GigabitEthernet1/0 Interface\",\"ifPhysAddress\":\"52:54:00:A0:CA:01\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"33\",\"ifDescr\":\"GigabitEthernet2/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet2/0\",\"ifAlias\":\"GigabitEthernet2/0 Interface\",\"ifPhysAddress\":\"52:54:00:D1:2D:02\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"49\",\"ifDescr\":\"GigabitEthernet3/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet3/0\",\"ifAlias\":\"GigabitEthernet3/0 Interface\",\"ifPhysAddress\":\"52:54:00:FC:26:03\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"65\",\"ifDescr\":\"GigabitEthernet4/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet4/0\",\"ifAlias\":\"GigabitEthernet4/0 Interface\",\"ifPhysAddress\":\"52:54:00:CB:2A:04\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"81\",\"ifDescr\":\"GigabitEthernet5/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet5/0\",\"ifAlias\":\"GigabitEthernet5/0 Interface\",\"ifPhysAddress\":\"52:54:00:EA:66:05\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"97\",\"ifDescr\":\"GigabitEthernet6/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet6/0\",\"ifAlias\":\"GigabitEthernet6/0 Interface\",\"ifPhysAddress\":\"52:54:00:30:75:06\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"113\",\"ifDescr\":\"GigabitEthernet7/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet7/0\",\"ifAlias\":\"GigabitEthernet7/0 Interface\",\"ifPhysAddress\":\"52:54:00:77:9D:07\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"129\",\"ifDescr\":\"GigabitEthernet8/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"GigabitEthernet8/0\",\"ifAlias\":\"GigabitEthernet8/0 Interface\",\"ifPhysAddress\":\"52:54:00:BB:FC:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"401\",\"ifDescr\":\"NULL0\",\"ifType\":\"other\",\"ifName\":\"NULL0\",\"ifAlias\":\"NULL0 Interface\",\"ifPhysAddress\":\"00:00:00:00:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"402\",\"ifDescr\":\"InLoopBack0\",\"ifType\":\"softwareLoopback\",\"ifName\":\"InLoopBack0\",\"ifAlias\":\"InLoopBack0 Interface\",\"ifPhysAddress\":\"00:00:00:00:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"0\",\"maxSpeedOut\":\"0\",\"subType\":null},{\"ifIndex\":\"403\",\"ifDescr\":\"Register-Tunnel0\",\"ifType\":\"other\",\"ifName\":\"Register-Tunnel0\",\"ifAlias\":\"Register-Tunnel0 Interface\",\"ifPhysAddress\":\"00:00:00:00:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"0\",\"maxSpeedOut\":\"0\",\"subType\":null}]" } ] }, diff --git a/test/testdata/devices/ios/7206VXR/public.testdata b/test/testdata/devices/ios/7206VXR/public.testdata index ce355e3..82079df 100644 --- a/test/testdata/devices/ios/7206VXR/public.testdata +++ b/test/testdata/devices/ios/7206VXR/public.testdata @@ -18,10 +18,10 @@ "status_code": 0, "performance_data": [ { - "metric": "traffic_counter_in", - "label": "VoIP-Null0", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "FastEthernet0/0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -32,8 +32,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "Null0", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "FastEthernet0/0", "value": 0, "unit": "c", "thresholds": { @@ -46,8 +46,8 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "Null0", + "metric": "packet_counter_discard_in", + "label": "VoIP-Null0", "value": 0, "unit": "c", "thresholds": { @@ -60,8 +60,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "FastEthernet0/0", + "metric": "traffic_counter_out", + "label": "VoIP-Null0", "value": 0, "unit": "c", "thresholds": { @@ -74,8 +74,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "FastEthernet0/0", + "metric": "packet_counter_multicast_out", + "label": "VoIP-Null0", "value": 0, "unit": "c", "thresholds": { @@ -88,10 +88,10 @@ "max": null }, { - "metric": "interface_admin_status", + "metric": "traffic_counter_in", "label": "FastEthernet0/0", - "value": 1, - "unit": "", + "value": 7040724, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -102,8 +102,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "Null0", + "metric": "error_counter_CRCAlign_errors", + "label": "VoIP-Null0", "value": 0, "unit": "c", "thresholds": { @@ -116,10 +116,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "Null0", - "value": 10000000000, - "unit": "", + "metric": "error_counter_out", + "label": "FastEthernet0/0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -130,10 +130,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", + "metric": "error_counter_deferred_transmissions", "label": "FastEthernet0/0", - "value": 100000000, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -144,7 +144,7 @@ "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "traffic_counter_in", "label": "VoIP-Null0", "value": 0, "unit": "c", @@ -158,8 +158,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "Null0", + "metric": "packet_counter_unicast_in", + "label": "VoIP-Null0", "value": 0, "unit": "c", "thresholds": { @@ -172,7 +172,7 @@ "max": null }, { - "metric": "interface_maxspeed_in", + "metric": "interface_maxspeed_out", "label": "VoIP-Null0", "value": 10000000000, "unit": "", @@ -186,10 +186,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "VoIP-Null0", - "value": 10000000000, - "unit": "", + "metric": "traffic_counter_out", + "label": "Null0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -200,10 +200,10 @@ "max": null }, { - "metric": "error_counter_in", - "label": "Null0", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "FastEthernet0/0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -215,7 +215,7 @@ }, { "metric": "packet_counter_broadcast_out", - "label": "Null0", + "label": "VoIP-Null0", "value": 0, "unit": "c", "thresholds": { @@ -229,7 +229,7 @@ }, { "metric": "error_counter_out", - "label": "FastEthernet0/0", + "label": "Null0", "value": 0, "unit": "c", "thresholds": { @@ -242,9 +242,9 @@ "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "packet_counter_discard_out", "label": "FastEthernet0/0", - "value": 9091, + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -256,9 +256,9 @@ "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "packet_counter_unicast_out", "label": "FastEthernet0/0", - "value": 4854, + "value": 22951, "unit": "c", "thresholds": { "warningMin": null, @@ -270,8 +270,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "VoIP-Null0", + "metric": "error_counter_multiple_collision_frames", + "label": "FastEthernet0/0", "value": 0, "unit": "c", "thresholds": { @@ -284,10 +284,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "VoIP-Null0", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "Null0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -298,9 +298,9 @@ "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", + "metric": "traffic_counter_out", "label": "FastEthernet0/0", - "value": 0, + "value": 3399486, "unit": "c", "thresholds": { "warningMin": null, @@ -313,7 +313,7 @@ }, { "metric": "error_counter_CRCAlign_errors", - "label": "VoIP-Null0", + "label": "FastEthernet0/0", "value": 0, "unit": "c", "thresholds": { @@ -326,7 +326,7 @@ "max": null }, { - "metric": "error_counter_CRCAlign_errors", + "metric": "packet_counter_unicast_out", "label": "Null0", "value": 0, "unit": "c", @@ -340,8 +340,8 @@ "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "FastEthernet0/0", + "metric": "packet_counter_broadcast_out", + "label": "Null0", "value": 0, "unit": "c", "thresholds": { @@ -354,10 +354,10 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "VoIP-Null0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "Null0", + "value": 10000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -368,9 +368,9 @@ "max": null }, { - "metric": "interface_admin_status", + "metric": "interface_maxspeed_out", "label": "Null0", - "value": 1, + "value": 10000000000, "unit": "", "thresholds": { "warningMin": null, @@ -382,9 +382,9 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", + "metric": "packet_counter_broadcast_in", "label": "FastEthernet0/0", - "value": 2, + "value": 23653, "unit": "c", "thresholds": { "warningMin": null, @@ -396,8 +396,8 @@ "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "FastEthernet0/0", + "metric": "traffic_counter_in", + "label": "Null0", "value": 0, "unit": "c", "thresholds": { @@ -410,8 +410,8 @@ "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "FastEthernet0/0", + "metric": "packet_counter_multicast_in", + "label": "Null0", "value": 0, "unit": "c", "thresholds": { @@ -424,9 +424,9 @@ "max": null }, { - "metric": "error_counter_excessive_collisions", + "metric": "packet_counter_unicast_in", "label": "FastEthernet0/0", - "value": 0, + "value": 9091, "unit": "c", "thresholds": { "warningMin": null, @@ -438,8 +438,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "VoIP-Null0", + "metric": "error_counter_alignment_errors", + "label": "FastEthernet0/0", "value": 0, "unit": "c", "thresholds": { @@ -452,10 +452,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "Null0", - "value": 1, - "unit": "", + "metric": "error_counter_in", + "label": "VoIP-Null0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -466,10 +466,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "Null0", - "value": 10000000000, - "unit": "", + "metric": "packet_counter_discard_out", + "label": "VoIP-Null0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -481,7 +481,7 @@ }, { "metric": "interface_oper_status", - "label": "FastEthernet0/0", + "label": "VoIP-Null0", "value": 1, "unit": "", "thresholds": { @@ -495,8 +495,8 @@ }, { "metric": "packet_counter_unicast_out", - "label": "FastEthernet0/0", - "value": 22951, + "label": "VoIP-Null0", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -508,10 +508,10 @@ "max": null }, { - "metric": "interface_oper_status", + "metric": "packet_counter_broadcast_in", "label": "VoIP-Null0", - "value": 1, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -522,9 +522,9 @@ "max": null }, { - "metric": "packet_counter_multicast_in", + "metric": "packet_counter_multicast_out", "label": "FastEthernet0/0", - "value": 19554, + "value": 4854, "unit": "c", "thresholds": { "warningMin": null, @@ -536,7 +536,7 @@ "max": null }, { - "metric": "error_counter_late_collisions", + "metric": "error_counter_SQETest_errors", "label": "FastEthernet0/0", "value": 0, "unit": "c", @@ -550,8 +550,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "Null0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "FastEthernet0/0", "value": 0, "unit": "c", "thresholds": { @@ -564,8 +564,8 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "VoIP-Null0", + "metric": "error_counter_late_collisions", + "label": "FastEthernet0/0", "value": 0, "unit": "c", "thresholds": { @@ -578,8 +578,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "VoIP-Null0", + "metric": "error_counter_excessive_collisions", + "label": "FastEthernet0/0", "value": 0, "unit": "c", "thresholds": { @@ -592,10 +592,10 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "Null0", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "VoIP-Null0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -606,9 +606,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "FastEthernet0/0", - "value": 3399486, + "metric": "packet_counter_discard_out", + "label": "Null0", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -620,8 +620,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "VoIP-Null0", + "metric": "packet_counter_unicast_in", + "label": "Null0", "value": 0, "unit": "c", "thresholds": { @@ -634,10 +634,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "VoIP-Null0", - "value": 1, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "Null0", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -648,8 +648,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "VoIP-Null0", + "metric": "packet_counter_discard_in", + "label": "FastEthernet0/0", "value": 0, "unit": "c", "thresholds": { @@ -662,9 +662,9 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", + "metric": "packet_counter_multicast_in", "label": "FastEthernet0/0", - "value": 23653, + "value": 19554, "unit": "c", "thresholds": { "warningMin": null, @@ -690,8 +690,8 @@ "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "FastEthernet0/0", + "metric": "error_counter_out", + "label": "VoIP-Null0", "value": 0, "unit": "c", "thresholds": { @@ -704,10 +704,10 @@ "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "FastEthernet0/0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "VoIP-Null0", + "value": 10000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -718,9 +718,9 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "Null0", - "value": 0, + "metric": "packet_counter_broadcast_out", + "label": "FastEthernet0/0", + "value": 2, "unit": "c", "thresholds": { "warningMin": null, @@ -732,7 +732,7 @@ "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "error_counter_frame_too_longs", "label": "FastEthernet0/0", "value": 0, "unit": "c", @@ -746,9 +746,9 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "FastEthernet0/0", - "value": 7040724, + "metric": "packet_counter_multicast_out", + "label": "Null0", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -760,7 +760,7 @@ "max": null }, { - "metric": "error_counter_SQETest_errors", + "metric": "error_counter_in", "label": "FastEthernet0/0", "value": 0, "unit": "c", @@ -774,10 +774,10 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "Null0", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "FastEthernet0/0", + "value": 100000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -788,8 +788,8 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "Null0", + "metric": "error_counter_carrier_sense_errors", + "label": "FastEthernet0/0", "value": 0, "unit": "c", "thresholds": { @@ -802,8 +802,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "Null0", + "metric": "packet_counter_multicast_in", + "label": "VoIP-Null0", "value": 0, "unit": "c", "thresholds": { @@ -816,8 +816,8 @@ "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "FastEthernet0/0", + "metric": "packet_counter_discard_in", + "label": "Null0", "value": 0, "unit": "c", "thresholds": { @@ -830,10 +830,10 @@ "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "FastEthernet0/0", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "Null0", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -845,7 +845,7 @@ }, { "metric": "error_counter_CRCAlign_errors", - "label": "FastEthernet0/0", + "label": "Null0", "value": 0, "unit": "c", "thresholds": { @@ -872,8 +872,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "VoIP-Null0", + "metric": "error_counter_single_collision_frames", + "label": "FastEthernet0/0", "value": 0, "unit": "c", "thresholds": { @@ -886,8 +886,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "VoIP-Null0", + "metric": "error_counter_in", + "label": "Null0", "value": 0, "unit": "c", "thresholds": { @@ -904,7 +904,7 @@ "messages": [ { "status": 0, - "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"FastEthernet0/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Fa0/0\",\"ifAlias\":null,\"ifPhysAddress\":\"CA:01:16:E4:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"2\",\"ifDescr\":\"VoIP-Null0\",\"ifType\":\"other\",\"ifName\":\"Vo0\",\"ifAlias\":null,\"ifPhysAddress\":null,\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"3\",\"ifDescr\":\"Null0\",\"ifType\":\"other\",\"ifName\":\"Nu0\",\"ifAlias\":null,\"ifPhysAddress\":null,\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null}]" + "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"FastEthernet0/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Fa0/0\",\"ifAlias\":null,\"ifPhysAddress\":\"CA:01:16:E4:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"100000000\",\"maxSpeedOut\":\"100000000\",\"subType\":null},{\"ifIndex\":\"2\",\"ifDescr\":\"VoIP-Null0\",\"ifType\":\"other\",\"ifName\":\"Vo0\",\"ifAlias\":null,\"ifPhysAddress\":null,\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"10000000000\",\"maxSpeedOut\":\"10000000000\",\"subType\":null},{\"ifIndex\":\"3\",\"ifDescr\":\"Null0\",\"ifType\":\"other\",\"ifName\":\"Nu0\",\"ifAlias\":null,\"ifPhysAddress\":null,\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"10000000000\",\"maxSpeedOut\":\"10000000000\",\"subType\":null}]" } ] }, diff --git a/test/testdata/devices/routeros/CHR_1/public.testdata b/test/testdata/devices/routeros/CHR_1/public.testdata index 274e6cb..8240d8b 100644 --- a/test/testdata/devices/routeros/CHR_1/public.testdata +++ b/test/testdata/devices/routeros/CHR_1/public.testdata @@ -18,9 +18,9 @@ "status_code": 0, "performance_data": [ { - "metric": "interface_maxspeed_out", - "label": "ether32", - "value": 1000000000, + "metric": "interface_admin_status", + "label": "ether29", + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -32,8 +32,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether28", + "metric": "packet_counter_multicast_out", + "label": "ether29", "value": 0, "unit": "c", "thresholds": { @@ -46,10 +46,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether29", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_multicast_in", + "label": "ether30", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -60,9 +60,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether5", - "value": 546, + "metric": "packet_counter_broadcast_in", + "label": "ether32", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -74,10 +74,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether8", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "ether3", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -88,8 +88,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether31", + "metric": "packet_counter_unicast_in", + "label": "ether18", "value": 0, "unit": "c", "thresholds": { @@ -102,8 +102,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether26", + "metric": "packet_counter_discard_out", + "label": "ether25", "value": 0, "unit": "c", "thresholds": { @@ -117,7 +117,7 @@ }, { "metric": "packet_counter_multicast_in", - "label": "ether13", + "label": "ether28", "value": 0, "unit": "c", "thresholds": { @@ -130,10 +130,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether15", - "value": 61488, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether29", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -144,10 +144,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether19", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "ether31", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -158,9 +158,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether20", - "value": 61488, + "metric": "error_counter_out", + "label": "ether13", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -172,10 +172,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether12", - "value": 1, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "ether15", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -186,8 +186,8 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether20", + "metric": "interface_oper_status", + "label": "ether17", "value": 1, "unit": "", "thresholds": { @@ -200,10 +200,10 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether24", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether2", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -214,8 +214,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether31", + "metric": "packet_counter_multicast_in", + "label": "ether9", "value": 0, "unit": "c", "thresholds": { @@ -228,8 +228,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether25", + "metric": "packet_counter_multicast_out", + "label": "ether16", "value": 0, "unit": "c", "thresholds": { @@ -242,10 +242,10 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether28", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether7", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -256,10 +256,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether22", - "value": 61152, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether24", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -270,10 +270,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether15", - "value": 1, - "unit": "", + "metric": "traffic_counter_in", + "label": "ether28", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -284,10 +284,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether16", - "value": 549, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether18", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -298,10 +298,10 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether20", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether22", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -313,7 +313,7 @@ }, { "metric": "interface_maxspeed_out", - "label": "ether20", + "label": "ether30", "value": 1000000000, "unit": "", "thresholds": { @@ -326,9 +326,9 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether22", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether4", + "value": 60939, "unit": "c", "thresholds": { "warningMin": null, @@ -340,8 +340,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether22", + "metric": "packet_counter_discard_out", + "label": "ether11", "value": 0, "unit": "c", "thresholds": { @@ -354,10 +354,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether30", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether13", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -368,8 +368,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether32", + "metric": "error_counter_in", + "label": "ether20", "value": 0, "unit": "c", "thresholds": { @@ -382,9 +382,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether2", - "value": 549, + "metric": "error_counter_in", + "label": "ether22", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -396,8 +396,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether9", + "metric": "packet_counter_multicast_in", + "label": "ether23", "value": 0, "unit": "c", "thresholds": { @@ -410,9 +410,9 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether1", - "value": 12788, + "metric": "packet_counter_unicast_out", + "label": "ether2", + "value": 549, "unit": "c", "thresholds": { "warningMin": null, @@ -424,9 +424,9 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether2", - "value": 1, + "metric": "interface_maxspeed_out", + "label": "ether6", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -438,8 +438,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether18", + "metric": "packet_counter_discard_in", + "label": "ether8", "value": 0, "unit": "c", "thresholds": { @@ -452,10 +452,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether23", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether13", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -466,8 +466,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether30", + "metric": "packet_counter_multicast_in", + "label": "ether17", "value": 0, "unit": "c", "thresholds": { @@ -480,9 +480,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether30", - "value": 546, + "metric": "traffic_counter_out", + "label": "ether22", + "value": 61152, "unit": "c", "thresholds": { "warningMin": null, @@ -494,8 +494,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether10", + "metric": "packet_counter_discard_in", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -509,7 +509,7 @@ }, { "metric": "packet_counter_multicast_in", - "label": "ether12", + "label": "ether5", "value": 0, "unit": "c", "thresholds": { @@ -522,10 +522,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether15", - "value": 1000000000, - "unit": "", + "metric": "traffic_counter_in", + "label": "ether7", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -536,8 +536,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether17", + "metric": "packet_counter_broadcast_in", + "label": "ether27", "value": 0, "unit": "c", "thresholds": { @@ -550,8 +550,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether26", + "metric": "packet_counter_unicast_in", + "label": "ether31", "value": 0, "unit": "c", "thresholds": { @@ -564,10 +564,10 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether32", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether2", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -578,9 +578,9 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether1", - "value": 1, + "metric": "interface_maxspeed_out", + "label": "ether8", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -592,8 +592,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether4", + "metric": "packet_counter_unicast_in", + "label": "ether19", "value": 0, "unit": "c", "thresholds": { @@ -606,10 +606,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether7", - "value": 1, - "unit": "", + "metric": "traffic_counter_in", + "label": "ether27", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -620,9 +620,9 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether9", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether28", + "value": 546, "unit": "c", "thresholds": { "warningMin": null, @@ -634,10 +634,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether19", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether5", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -648,8 +648,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether32", + "metric": "packet_counter_discard_out", + "label": "ether12", "value": 0, "unit": "c", "thresholds": { @@ -662,22 +662,8 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether3", - "value": 1000000000, - "unit": "", - "thresholds": { - "warningMin": null, - "warningMax": null, - "criticalMin": null, - "criticalMax": null - }, - "min": null, - "max": null - }, - { - "metric": "error_counter_in", - "label": "ether5", + "metric": "packet_counter_broadcast_out", + "label": "ether19", "value": 0, "unit": "c", "thresholds": { @@ -690,9 +676,9 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether6", - "value": 1000000000, + "metric": "interface_admin_status", + "label": "ether20", + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -704,8 +690,8 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether7", + "metric": "interface_maxspeed_out", + "label": "ether26", "value": 1000000000, "unit": "", "thresholds": { @@ -718,8 +704,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether19", + "metric": "traffic_counter_in", + "label": "ether11", "value": 0, "unit": "c", "thresholds": { @@ -732,10 +718,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether29", - "value": 1000000000, - "unit": "", + "metric": "traffic_counter_out", + "label": "ether15", + "value": 61488, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -746,9 +732,9 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether1", - "value": 1348329, + "metric": "packet_counter_unicast_in", + "label": "ether15", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -760,8 +746,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether1", + "metric": "packet_counter_multicast_in", + "label": "ether26", "value": 0, "unit": "c", "thresholds": { @@ -774,8 +760,8 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether1", + "metric": "interface_maxspeed_in", + "label": "ether28", "value": 1000000000, "unit": "", "thresholds": { @@ -788,8 +774,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether7", + "metric": "packet_counter_discard_out", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -802,10 +788,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether22", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_multicast_out", + "label": "ether7", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -816,10 +802,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether24", - "value": 61152, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether21", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -830,8 +816,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether29", + "metric": "packet_counter_multicast_out", + "label": "ether27", "value": 0, "unit": "c", "thresholds": { @@ -844,8 +830,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether8", + "metric": "packet_counter_discard_in", + "label": "ether1", "value": 0, "unit": "c", "thresholds": { @@ -858,8 +844,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether12", + "metric": "packet_counter_multicast_out", + "label": "ether21", "value": 0, "unit": "c", "thresholds": { @@ -872,8 +858,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether14", + "metric": "packet_counter_multicast_out", + "label": "ether25", "value": 0, "unit": "c", "thresholds": { @@ -886,10 +872,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether19", - "value": 1, - "unit": "", + "metric": "packet_counter_discard_in", + "label": "ether13", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -900,8 +886,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether6", + "metric": "packet_counter_broadcast_in", + "label": "ether20", "value": 0, "unit": "c", "thresholds": { @@ -915,7 +901,7 @@ }, { "metric": "packet_counter_unicast_in", - "label": "ether14", + "label": "ether27", "value": 0, "unit": "c", "thresholds": { @@ -928,8 +914,8 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether23", + "metric": "interface_maxspeed_out", + "label": "ether27", "value": 1000000000, "unit": "", "thresholds": { @@ -942,8 +928,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether16", + "metric": "packet_counter_discard_out", + "label": "ether5", "value": 0, "unit": "c", "thresholds": { @@ -956,8 +942,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether20", + "metric": "packet_counter_discard_in", + "label": "ether7", "value": 0, "unit": "c", "thresholds": { @@ -970,8 +956,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether22", + "metric": "packet_counter_multicast_in", + "label": "ether7", "value": 0, "unit": "c", "thresholds": { @@ -984,9 +970,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether25", - "value": 61152, + "metric": "packet_counter_discard_in", + "label": "ether32", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -998,23 +984,9 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether13", - "value": 1, - "unit": "", - "thresholds": { - "warningMin": null, - "warningMax": null, - "criticalMin": null, - "criticalMax": null - }, - "min": null, - "max": null - }, - { - "metric": "error_counter_in", - "label": "ether19", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether29", + "value": 546, "unit": "c", "thresholds": { "warningMin": null, @@ -1026,10 +998,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether29", - "value": 61152, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether3", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1040,10 +1012,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether30", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "ether8", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1054,8 +1026,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether15", + "metric": "packet_counter_multicast_in", + "label": "ether25", "value": 0, "unit": "c", "thresholds": { @@ -1068,10 +1040,10 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether21", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether8", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1082,8 +1054,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether12", + "metric": "error_counter_in", + "label": "ether23", "value": 0, "unit": "c", "thresholds": { @@ -1096,9 +1068,9 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether21", - "value": 1000000000, + "metric": "interface_oper_status", + "label": "ether27", + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -1111,7 +1083,7 @@ }, { "metric": "packet_counter_multicast_out", - "label": "ether27", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -1124,10 +1096,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether30", - "value": 1, - "unit": "", + "metric": "traffic_counter_in", + "label": "ether8", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1138,8 +1110,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether7", + "metric": "packet_counter_unicast_in", + "label": "ether11", "value": 0, "unit": "c", "thresholds": { @@ -1152,8 +1124,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether18", + "metric": "packet_counter_multicast_out", + "label": "ether1", "value": 0, "unit": "c", "thresholds": { @@ -1167,7 +1139,7 @@ }, { "metric": "packet_counter_discard_out", - "label": "ether22", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -1180,8 +1152,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether22", + "metric": "error_counter_in", + "label": "ether8", "value": 0, "unit": "c", "thresholds": { @@ -1194,9 +1166,9 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether4", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether9", + "value": 60606, "unit": "c", "thresholds": { "warningMin": null, @@ -1208,9 +1180,9 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether9", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether14", + "value": 546, "unit": "c", "thresholds": { "warningMin": null, @@ -1223,7 +1195,7 @@ }, { "metric": "packet_counter_multicast_in", - "label": "ether19", + "label": "ether14", "value": 0, "unit": "c", "thresholds": { @@ -1236,9 +1208,9 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether3", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether25", + "value": 546, "unit": "c", "thresholds": { "warningMin": null, @@ -1251,7 +1223,7 @@ }, { "metric": "packet_counter_discard_in", - "label": "ether21", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -1264,8 +1236,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether3", + "metric": "error_counter_out", + "label": "ether5", "value": 0, "unit": "c", "thresholds": { @@ -1278,8 +1250,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether15", + "metric": "packet_counter_broadcast_out", + "label": "ether24", "value": 0, "unit": "c", "thresholds": { @@ -1292,8 +1264,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether16", + "metric": "error_counter_out", + "label": "ether11", "value": 0, "unit": "c", "thresholds": { @@ -1306,10 +1278,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether28", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether25", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1320,8 +1292,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether3", + "metric": "packet_counter_discard_in", + "label": "ether28", "value": 0, "unit": "c", "thresholds": { @@ -1334,8 +1306,8 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether11", + "metric": "interface_admin_status", + "label": "ether30", "value": 1, "unit": "", "thresholds": { @@ -1348,8 +1320,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether21", + "metric": "traffic_counter_in", + "label": "ether15", "value": 0, "unit": "c", "thresholds": { @@ -1362,10 +1334,10 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether7", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether16", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1376,9 +1348,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether7", - "value": 546, + "metric": "packet_counter_discard_out", + "label": "ether17", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -1390,8 +1362,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether24", + "metric": "packet_counter_multicast_out", + "label": "ether14", "value": 0, "unit": "c", "thresholds": { @@ -1405,7 +1377,7 @@ }, { "metric": "packet_counter_discard_out", - "label": "ether15", + "label": "ether23", "value": 0, "unit": "c", "thresholds": { @@ -1418,10 +1390,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether25", - "value": 1, - "unit": "", + "metric": "traffic_counter_out", + "label": "ether23", + "value": 61152, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1446,8 +1418,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether27", + "metric": "packet_counter_unicast_in", + "label": "ether3", "value": 0, "unit": "c", "thresholds": { @@ -1460,10 +1432,10 @@ "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "interface_admin_status", "label": "ether4", - "value": 0, - "unit": "c", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1474,8 +1446,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether11", + "metric": "traffic_counter_in", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -1488,10 +1460,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether11", - "value": 1, - "unit": "", + "metric": "packet_counter_unicast_in", + "label": "ether9", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1502,8 +1474,8 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether16", + "metric": "interface_maxspeed_out", + "label": "ether11", "value": 1000000000, "unit": "", "thresholds": { @@ -1516,10 +1488,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether25", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_in", + "label": "ether12", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1530,10 +1502,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether9", - "value": 1, - "unit": "", + "metric": "traffic_counter_in", + "label": "ether13", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1544,8 +1516,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether10", + "metric": "packet_counter_discard_in", + "label": "ether19", "value": 0, "unit": "c", "thresholds": { @@ -1558,8 +1530,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether13", + "metric": "error_counter_out", + "label": "ether1", "value": 0, "unit": "c", "thresholds": { @@ -1572,8 +1544,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether13", + "metric": "packet_counter_broadcast_in", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -1586,9 +1558,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether5", - "value": 60606, + "metric": "error_counter_in", + "label": "ether9", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -1600,10 +1572,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether28", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether25", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1614,8 +1586,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether23", + "metric": "packet_counter_broadcast_out", + "label": "ether8", "value": 0, "unit": "c", "thresholds": { @@ -1628,7 +1600,7 @@ "max": null }, { - "metric": "traffic_counter_in", + "metric": "error_counter_in", "label": "ether25", "value": 0, "unit": "c", @@ -1642,23 +1614,9 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether3", - "value": 1000000000, - "unit": "", - "thresholds": { - "warningMin": null, - "warningMax": null, - "criticalMin": null, - "criticalMax": null - }, - "min": null, - "max": null - }, - { - "metric": "packet_counter_unicast_out", - "label": "ether13", - "value": 549, + "metric": "packet_counter_multicast_out", + "label": "ether26", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -1671,7 +1629,7 @@ }, { "metric": "interface_maxspeed_in", - "label": "ether13", + "label": "ether16", "value": 1000000000, "unit": "", "thresholds": { @@ -1684,9 +1642,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether16", - "value": 61488, + "metric": "traffic_counter_in", + "label": "ether20", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -1698,10 +1656,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether17", - "value": 1, - "unit": "", + "metric": "traffic_counter_out", + "label": "ether25", + "value": 61152, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1712,8 +1670,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether19", + "metric": "packet_counter_broadcast_out", + "label": "ether1", "value": 0, "unit": "c", "thresholds": { @@ -1726,9 +1684,9 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether27", - "value": 1, + "metric": "interface_maxspeed_in", + "label": "ether8", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -1740,8 +1698,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether4", + "metric": "error_counter_in", + "label": "ether15", "value": 0, "unit": "c", "thresholds": { @@ -1754,10 +1712,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether6", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_in", + "label": "ether32", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1768,10 +1726,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether10", - "value": 1, - "unit": "", + "metric": "packet_counter_multicast_in", + "label": "ether1", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1782,9 +1740,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether13", - "value": 61488, + "metric": "packet_counter_unicast_out", + "label": "ether7", + "value": 546, "unit": "c", "thresholds": { "warningMin": null, @@ -1796,8 +1754,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether29", + "metric": "packet_counter_broadcast_in", + "label": "ether12", "value": 0, "unit": "c", "thresholds": { @@ -1810,9 +1768,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether29", - "value": 546, + "metric": "packet_counter_broadcast_out", + "label": "ether28", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -1824,7 +1782,7 @@ "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "packet_counter_discard_out", "label": "ether29", "value": 0, "unit": "c", @@ -1839,7 +1797,7 @@ }, { "metric": "interface_oper_status", - "label": "ether13", + "label": "ether31", "value": 1, "unit": "", "thresholds": { @@ -1852,10 +1810,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether20", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_discard_in", + "label": "ether10", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -1866,8 +1824,8 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether30", + "metric": "interface_maxspeed_in", + "label": "ether17", "value": 1000000000, "unit": "", "thresholds": { @@ -1880,8 +1838,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether3", + "metric": "traffic_counter_in", + "label": "ether19", "value": 0, "unit": "c", "thresholds": { @@ -1894,8 +1852,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether4", + "metric": "packet_counter_discard_out", + "label": "ether24", "value": 0, "unit": "c", "thresholds": { @@ -1908,9 +1866,9 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether5", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether11", + "value": 546, "unit": "c", "thresholds": { "warningMin": null, @@ -1922,8 +1880,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether10", + "metric": "error_counter_in", + "label": "ether16", "value": 0, "unit": "c", "thresholds": { @@ -1936,9 +1894,9 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether1", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether18", + "value": 61488, "unit": "c", "thresholds": { "warningMin": null, @@ -1951,7 +1909,7 @@ }, { "metric": "packet_counter_discard_out", - "label": "ether8", + "label": "ether14", "value": 0, "unit": "c", "thresholds": { @@ -1964,10 +1922,10 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether9", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether21", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -1978,12 +1936,12 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether21", - "value": 0, - "unit": "c", - "thresholds": { - "warningMin": null, + "metric": "interface_maxspeed_in", + "label": "ether29", + "value": 1000000000, + "unit": "", + "thresholds": { + "warningMin": null, "warningMax": null, "criticalMin": null, "criticalMax": null @@ -1992,8 +1950,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether27", + "metric": "packet_counter_broadcast_out", + "label": "ether31", "value": 0, "unit": "c", "thresholds": { @@ -2007,7 +1965,7 @@ }, { "metric": "interface_maxspeed_out", - "label": "ether9", + "label": "ether31", "value": 1000000000, "unit": "", "thresholds": { @@ -2020,8 +1978,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether10", + "metric": "packet_counter_unicast_in", + "label": "ether7", "value": 0, "unit": "c", "thresholds": { @@ -2034,10 +1992,10 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether11", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether10", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2048,8 +2006,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether16", + "metric": "packet_counter_multicast_out", + "label": "ether12", "value": 0, "unit": "c", "thresholds": { @@ -2062,10 +2020,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether17", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_in", + "label": "ether26", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2076,10 +2034,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether4", - "value": 1, - "unit": "", + "metric": "error_counter_out", + "label": "ether27", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2090,10 +2048,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether7", - "value": 1000000000, - "unit": "", + "metric": "traffic_counter_in", + "label": "ether30", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2105,7 +2063,7 @@ }, { "metric": "packet_counter_unicast_out", - "label": "ether14", + "label": "ether30", "value": 546, "unit": "c", "thresholds": { @@ -2118,8 +2076,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether15", + "metric": "error_counter_out", + "label": "ether12", "value": 0, "unit": "c", "thresholds": { @@ -2132,10 +2090,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether5", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether12", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2146,8 +2104,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether6", + "metric": "packet_counter_discard_in", + "label": "ether16", "value": 0, "unit": "c", "thresholds": { @@ -2160,9 +2118,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether19", - "value": 61488, + "metric": "packet_counter_discard_out", + "label": "ether8", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -2174,8 +2132,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether30", + "metric": "packet_counter_unicast_in", + "label": "ether16", "value": 0, "unit": "c", "thresholds": { @@ -2189,7 +2147,7 @@ }, { "metric": "error_counter_out", - "label": "ether4", + "label": "ether30", "value": 0, "unit": "c", "thresholds": { @@ -2202,10 +2160,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether5", - "value": 1, - "unit": "", + "metric": "packet_counter_broadcast_out", + "label": "ether23", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2216,8 +2174,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether5", + "metric": "packet_counter_multicast_in", + "label": "ether32", "value": 0, "unit": "c", "thresholds": { @@ -2230,9 +2188,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether15", - "value": 549, + "metric": "packet_counter_multicast_out", + "label": "ether3", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -2244,8 +2202,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether29", + "metric": "packet_counter_discard_in", + "label": "ether9", "value": 0, "unit": "c", "thresholds": { @@ -2258,10 +2216,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether2", - "value": 1, - "unit": "", + "metric": "traffic_counter_in", + "label": "ether32", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2272,8 +2230,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether3", + "metric": "packet_counter_discard_in", + "label": "ether23", "value": 0, "unit": "c", "thresholds": { @@ -2286,10 +2244,10 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether18", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether15", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2301,7 +2259,7 @@ }, { "metric": "error_counter_out", - "label": "ether28", + "label": "ether19", "value": 0, "unit": "c", "thresholds": { @@ -2314,9 +2272,9 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether5", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether20", + "value": 549, "unit": "c", "thresholds": { "warningMin": null, @@ -2328,9 +2286,9 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether10", - "value": 1, + "metric": "interface_maxspeed_in", + "label": "ether26", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -2342,9 +2300,9 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether15", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether27", + "value": 546, "unit": "c", "thresholds": { "warningMin": null, @@ -2356,8 +2314,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether27", + "metric": "packet_counter_broadcast_out", + "label": "ether10", "value": 0, "unit": "c", "thresholds": { @@ -2370,8 +2328,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether15", + "metric": "traffic_counter_in", + "label": "ether17", "value": 0, "unit": "c", "thresholds": { @@ -2384,9 +2342,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether21", - "value": 61488, + "metric": "packet_counter_broadcast_in", + "label": "ether17", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -2399,8 +2357,8 @@ }, { "metric": "traffic_counter_out", - "label": "ether4", - "value": 60939, + "label": "ether11", + "value": 61152, "unit": "c", "thresholds": { "warningMin": null, @@ -2412,10 +2370,10 @@ "max": null }, { - "metric": "traffic_counter_in", + "metric": "interface_admin_status", "label": "ether7", - "value": 0, - "unit": "c", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2426,8 +2384,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether11", + "metric": "packet_counter_broadcast_out", + "label": "ether20", "value": 0, "unit": "c", "thresholds": { @@ -2440,9 +2398,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether12", - "value": 549, + "metric": "packet_counter_multicast_out", + "label": "ether22", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -2454,8 +2412,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether8", + "metric": "packet_counter_discard_in", + "label": "ether17", "value": 0, "unit": "c", "thresholds": { @@ -2468,8 +2426,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether26", + "metric": "packet_counter_broadcast_out", + "label": "ether21", "value": 0, "unit": "c", "thresholds": { @@ -2482,10 +2440,10 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether29", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether22", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2496,8 +2454,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether12", + "metric": "traffic_counter_in", + "label": "ether24", "value": 0, "unit": "c", "thresholds": { @@ -2510,9 +2468,9 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether17", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether8", + "value": 60606, "unit": "c", "thresholds": { "warningMin": null, @@ -2524,10 +2482,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether24", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether11", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2538,9 +2496,9 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether27", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether13", + "value": 549, "unit": "c", "thresholds": { "warningMin": null, @@ -2552,8 +2510,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether30", + "metric": "error_counter_in", + "label": "ether14", "value": 0, "unit": "c", "thresholds": { @@ -2566,10 +2524,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether14", - "value": 1, - "unit": "", + "metric": "traffic_counter_in", + "label": "ether1", + "value": 1348329, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2580,9 +2538,9 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether27", - "value": 1000000000, + "metric": "interface_admin_status", + "label": "ether5", + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -2594,10 +2552,10 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether30", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether6", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2608,8 +2566,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether2", + "metric": "packet_counter_discard_out", + "label": "ether10", "value": 0, "unit": "c", "thresholds": { @@ -2622,9 +2580,9 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether7", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether12", + "value": 61488, "unit": "c", "thresholds": { "warningMin": null, @@ -2636,8 +2594,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether27", + "metric": "error_counter_out", + "label": "ether15", "value": 0, "unit": "c", "thresholds": { @@ -2650,10 +2608,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether28", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_out", + "label": "ether31", + "value": 549, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2665,7 +2623,7 @@ }, { "metric": "interface_maxspeed_in", - "label": "ether32", + "label": "ether7", "value": 1000000000, "unit": "", "thresholds": { @@ -2678,10 +2636,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether6", - "value": 60606, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether14", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2693,7 +2651,7 @@ }, { "metric": "packet_counter_discard_in", - "label": "ether16", + "label": "ether25", "value": 0, "unit": "c", "thresholds": { @@ -2706,9 +2664,9 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether18", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether1", + "value": 13374, "unit": "c", "thresholds": { "warningMin": null, @@ -2720,9 +2678,9 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether23", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether21", + "value": 549, "unit": "c", "thresholds": { "warningMin": null, @@ -2734,7 +2692,7 @@ "max": null }, { - "metric": "error_counter_in", + "metric": "packet_counter_multicast_out", "label": "ether18", "value": 0, "unit": "c", @@ -2748,10 +2706,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether19", - "value": 1, - "unit": "", + "metric": "packet_counter_discard_out", + "label": "ether30", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2762,10 +2720,10 @@ "max": null }, { - "metric": "interface_admin_status", + "metric": "packet_counter_multicast_out", "label": "ether31", - "value": 1, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2776,8 +2734,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether32", + "metric": "error_counter_out", + "label": "ether6", "value": 0, "unit": "c", "thresholds": { @@ -2790,10 +2748,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether4", - "value": 1, - "unit": "", + "metric": "packet_counter_unicast_in", + "label": "ether6", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -2804,8 +2762,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether12", + "metric": "packet_counter_multicast_out", + "label": "ether13", "value": 0, "unit": "c", "thresholds": { @@ -2818,8 +2776,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether24", + "metric": "packet_counter_broadcast_in", + "label": "ether29", "value": 0, "unit": "c", "thresholds": { @@ -2832,9 +2790,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether30", - "value": 61152, + "metric": "packet_counter_unicast_out", + "label": "ether32", + "value": 549, "unit": "c", "thresholds": { "warningMin": null, @@ -2846,8 +2804,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether9", + "metric": "packet_counter_unicast_in", + "label": "ether20", "value": 0, "unit": "c", "thresholds": { @@ -2861,7 +2819,7 @@ }, { "metric": "packet_counter_broadcast_in", - "label": "ether9", + "label": "ether23", "value": 0, "unit": "c", "thresholds": { @@ -2874,10 +2832,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether18", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether25", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -2888,8 +2846,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether24", + "metric": "packet_counter_multicast_in", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -2902,8 +2860,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether10", + "metric": "error_counter_out", + "label": "ether21", "value": 0, "unit": "c", "thresholds": { @@ -2916,8 +2874,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether19", + "metric": "error_counter_in", + "label": "ether31", "value": 0, "unit": "c", "thresholds": { @@ -2930,8 +2888,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether20", + "metric": "packet_counter_multicast_out", + "label": "ether11", "value": 0, "unit": "c", "thresholds": { @@ -2945,7 +2903,7 @@ }, { "metric": "packet_counter_broadcast_in", - "label": "ether25", + "label": "ether26", "value": 0, "unit": "c", "thresholds": { @@ -2958,8 +2916,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether4", + "metric": "packet_counter_discard_out", + "label": "ether1", "value": 0, "unit": "c", "thresholds": { @@ -2972,8 +2930,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether8", + "metric": "traffic_counter_in", + "label": "ether5", "value": 0, "unit": "c", "thresholds": { @@ -2986,10 +2944,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether30", - "value": 1, - "unit": "", + "metric": "packet_counter_unicast_out", + "label": "ether8", + "value": 546, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3000,8 +2958,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether31", + "metric": "packet_counter_multicast_in", + "label": "ether10", "value": 0, "unit": "c", "thresholds": { @@ -3014,8 +2972,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether14", + "metric": "error_counter_in", + "label": "ether26", "value": 0, "unit": "c", "thresholds": { @@ -3028,8 +2986,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether17", + "metric": "error_counter_in", + "label": "ether5", "value": 0, "unit": "c", "thresholds": { @@ -3042,8 +3000,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether29", + "metric": "packet_counter_broadcast_out", + "label": "ether7", "value": 0, "unit": "c", "thresholds": { @@ -3056,10 +3014,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether3", - "value": 1, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "ether22", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3070,10 +3028,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether11", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "ether24", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3084,9 +3042,9 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether12", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether29", + "value": 61152, "unit": "c", "thresholds": { "warningMin": null, @@ -3099,7 +3057,7 @@ }, { "metric": "interface_maxspeed_out", - "label": "ether13", + "label": "ether1", "value": 1000000000, "unit": "", "thresholds": { @@ -3112,9 +3070,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether6", - "value": 546, + "metric": "error_counter_out", + "label": "ether2", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -3126,10 +3084,10 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether10", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether4", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3140,7 +3098,7 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", + "metric": "packet_counter_unicast_in", "label": "ether29", "value": 0, "unit": "c", @@ -3155,7 +3113,7 @@ }, { "metric": "interface_admin_status", - "label": "ether32", + "label": "ether23", "value": 1, "unit": "", "thresholds": { @@ -3168,8 +3126,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether5", + "metric": "packet_counter_broadcast_out", + "label": "ether18", "value": 0, "unit": "c", "thresholds": { @@ -3182,10 +3140,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether17", - "value": 546, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether19", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3196,8 +3154,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether14", + "metric": "packet_counter_discard_out", + "label": "ether22", "value": 0, "unit": "c", "thresholds": { @@ -3210,10 +3168,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether15", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "ether16", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3224,10 +3182,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether27", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_discard_in", + "label": "ether24", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3238,8 +3196,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether20", + "metric": "packet_counter_multicast_out", + "label": "ether32", "value": 0, "unit": "c", "thresholds": { @@ -3252,8 +3210,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether26", + "metric": "packet_counter_broadcast_in", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -3267,7 +3225,7 @@ }, { "metric": "packet_counter_broadcast_out", - "label": "ether26", + "label": "ether12", "value": 0, "unit": "c", "thresholds": { @@ -3280,8 +3238,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether28", + "metric": "packet_counter_discard_in", + "label": "ether15", "value": 0, "unit": "c", "thresholds": { @@ -3294,8 +3252,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether1", + "metric": "error_counter_in", + "label": "ether28", "value": 0, "unit": "c", "thresholds": { @@ -3308,10 +3266,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether2", - "value": 1000000000, - "unit": "", + "metric": "traffic_counter_out", + "label": "ether5", + "value": 60606, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3322,10 +3280,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether3", - "value": 549, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether32", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3336,9 +3294,9 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether8", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether26", + "value": 61488, "unit": "c", "thresholds": { "warningMin": null, @@ -3350,8 +3308,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether31", + "metric": "error_counter_in", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -3364,8 +3322,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether26", + "metric": "packet_counter_discard_in", + "label": "ether6", "value": 0, "unit": "c", "thresholds": { @@ -3378,7 +3336,7 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", + "metric": "packet_counter_broadcast_out", "label": "ether15", "value": 0, "unit": "c", @@ -3392,10 +3350,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether19", - "value": 549, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether5", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3406,9 +3364,9 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether23", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether32", + "value": 61488, "unit": "c", "thresholds": { "warningMin": null, @@ -3420,8 +3378,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether24", + "metric": "packet_counter_discard_in", + "label": "ether31", "value": 0, "unit": "c", "thresholds": { @@ -3434,10 +3392,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether16", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_multicast_out", + "label": "ether20", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3448,10 +3406,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether24", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether2", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3462,10 +3420,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether27", - "value": 546, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether10", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3476,8 +3434,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether29", + "metric": "packet_counter_multicast_in", + "label": "ether15", "value": 0, "unit": "c", "thresholds": { @@ -3490,10 +3448,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether12", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether23", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3504,10 +3462,10 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether19", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether1", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3518,10 +3476,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether31", - "value": 1000000000, - "unit": "", + "metric": "error_counter_in", + "label": "ether6", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3532,8 +3490,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether12", + "metric": "packet_counter_broadcast_out", + "label": "ether16", "value": 0, "unit": "c", "thresholds": { @@ -3546,8 +3504,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether23", + "metric": "error_counter_out", + "label": "ether7", "value": 0, "unit": "c", "thresholds": { @@ -3560,7 +3518,7 @@ "max": null }, { - "metric": "traffic_counter_in", + "metric": "packet_counter_broadcast_out", "label": "ether27", "value": 0, "unit": "c", @@ -3574,8 +3532,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether31", + "metric": "error_counter_out", + "label": "ether28", "value": 0, "unit": "c", "thresholds": { @@ -3588,10 +3546,10 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether2", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether28", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3602,10 +3560,10 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether6", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether1", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3616,9 +3574,9 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether22", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether3", + "value": 60939, "unit": "c", "thresholds": { "warningMin": null, @@ -3630,9 +3588,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether1", - "value": 13374, + "metric": "packet_counter_multicast_out", + "label": "ether4", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -3644,8 +3602,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether20", + "metric": "packet_counter_multicast_in", + "label": "ether19", "value": 0, "unit": "c", "thresholds": { @@ -3659,7 +3617,7 @@ }, { "metric": "interface_admin_status", - "label": "ether26", + "label": "ether18", "value": 1, "unit": "", "thresholds": { @@ -3672,9 +3630,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether31", - "value": 549, + "metric": "packet_counter_discard_in", + "label": "ether20", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -3686,7 +3644,7 @@ "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "packet_counter_multicast_out", "label": "ether30", "value": 0, "unit": "c", @@ -3700,8 +3658,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether30", + "metric": "packet_counter_discard_out", + "label": "ether32", "value": 0, "unit": "c", "thresholds": { @@ -3714,8 +3672,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether32", + "metric": "packet_counter_multicast_out", + "label": "ether9", "value": 0, "unit": "c", "thresholds": { @@ -3728,9 +3686,9 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether9", - "value": 1000000000, + "metric": "interface_admin_status", + "label": "ether10", + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -3742,8 +3700,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether13", + "metric": "traffic_counter_in", + "label": "ether12", "value": 0, "unit": "c", "thresholds": { @@ -3756,8 +3714,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether16", + "metric": "packet_counter_multicast_out", + "label": "ether17", "value": 0, "unit": "c", "thresholds": { @@ -3770,8 +3728,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether23", + "metric": "packet_counter_discard_out", + "label": "ether19", "value": 0, "unit": "c", "thresholds": { @@ -3784,8 +3742,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether4", + "metric": "error_counter_in", + "label": "ether12", "value": 0, "unit": "c", "thresholds": { @@ -3798,10 +3756,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether11", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether12", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3812,9 +3770,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether10", - "value": 549, + "metric": "traffic_counter_out", + "label": "ether14", + "value": 61152, "unit": "c", "thresholds": { "warningMin": null, @@ -3826,10 +3784,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether17", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_multicast_out", + "label": "ether19", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3840,8 +3798,8 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether22", + "metric": "interface_oper_status", + "label": "ether9", "value": 1, "unit": "", "thresholds": { @@ -3854,8 +3812,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether25", + "metric": "error_counter_in", + "label": "ether11", "value": 0, "unit": "c", "thresholds": { @@ -3868,10 +3826,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether4", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether14", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3882,10 +3840,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether5", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_discard_out", + "label": "ether21", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -3896,10 +3854,10 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether16", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether30", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3910,8 +3868,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether31", + "metric": "packet_counter_multicast_in", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -3924,10 +3882,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether16", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether2", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3938,8 +3896,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether25", + "metric": "packet_counter_multicast_in", + "label": "ether12", "value": 0, "unit": "c", "thresholds": { @@ -3952,8 +3910,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether6", + "metric": "traffic_counter_in", + "label": "ether22", "value": 0, "unit": "c", "thresholds": { @@ -3966,10 +3924,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether7", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether4", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -3980,8 +3938,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether9", + "metric": "packet_counter_unicast_in", + "label": "ether13", "value": 0, "unit": "c", "thresholds": { @@ -3994,8 +3952,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether11", + "metric": "packet_counter_broadcast_out", + "label": "ether13", "value": 0, "unit": "c", "thresholds": { @@ -4008,8 +3966,22 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether28", + "metric": "traffic_counter_out", + "label": "ether24", + "value": 61152, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_admin_status", + "label": "ether28", "value": 1, "unit": "", "thresholds": { @@ -4022,9 +3994,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether9", - "value": 546, + "metric": "error_counter_out", + "label": "ether31", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -4037,7 +4009,7 @@ }, { "metric": "packet_counter_broadcast_out", - "label": "ether21", + "label": "ether32", "value": 0, "unit": "c", "thresholds": { @@ -4050,10 +4022,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether23", - "value": 1, - "unit": "", + "metric": "packet_counter_unicast_in", + "label": "ether5", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4064,10 +4036,10 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether25", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether13", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4078,8 +4050,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether24", + "metric": "packet_counter_multicast_in", + "label": "ether22", "value": 0, "unit": "c", "thresholds": { @@ -4092,9 +4064,9 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether25", - "value": 1, + "metric": "interface_maxspeed_in", + "label": "ether30", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -4106,9 +4078,9 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether2", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether5", + "value": 546, "unit": "c", "thresholds": { "warningMin": null, @@ -4120,8 +4092,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether9", + "metric": "packet_counter_broadcast_in", + "label": "ether10", "value": 0, "unit": "c", "thresholds": { @@ -4134,8 +4106,36 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether9", + "metric": "interface_admin_status", + "label": "ether27", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_maxspeed_in", + "label": "ether3", + "value": 1000000000, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_broadcast_in", + "label": "ether11", "value": 0, "unit": "c", "thresholds": { @@ -4148,8 +4148,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether21", + "metric": "packet_counter_broadcast_in", + "label": "ether14", "value": 0, "unit": "c", "thresholds": { @@ -4162,9 +4162,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether18", - "value": 61488, + "metric": "error_counter_out", + "label": "ether17", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -4177,7 +4177,7 @@ }, { "metric": "interface_maxspeed_out", - "label": "ether21", + "label": "ether23", "value": 1000000000, "unit": "", "thresholds": { @@ -4190,10 +4190,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether32", - "value": 1, - "unit": "", + "metric": "packet_counter_discard_in", + "label": "ether26", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4204,9 +4204,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether21", - "value": 549, + "metric": "packet_counter_unicast_in", + "label": "ether10", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -4219,7 +4219,7 @@ }, { "metric": "interface_maxspeed_in", - "label": "ether24", + "label": "ether20", "value": 1000000000, "unit": "", "thresholds": { @@ -4232,10 +4232,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether26", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether15", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4246,8 +4246,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether5", + "metric": "traffic_counter_in", + "label": "ether26", "value": 0, "unit": "c", "thresholds": { @@ -4260,8 +4260,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether5", + "metric": "packet_counter_broadcast_in", + "label": "ether1", "value": 0, "unit": "c", "thresholds": { @@ -4274,10 +4274,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether9", - "value": 1, - "unit": "", + "metric": "packet_counter_broadcast_out", + "label": "ether3", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4288,10 +4288,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether18", - "value": 1, - "unit": "", + "metric": "packet_counter_discard_out", + "label": "ether6", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4302,10 +4302,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether12", - "value": 1000000000, - "unit": "", + "metric": "traffic_counter_out", + "label": "ether1", + "value": 3121399, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4316,8 +4316,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether25", + "metric": "packet_counter_discard_out", + "label": "ether9", "value": 0, "unit": "c", "thresholds": { @@ -4330,10 +4330,10 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether30", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether14", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4344,10 +4344,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether6", - "value": 1, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "ether18", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4358,10 +4358,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether7", - "value": 60606, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether32", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4372,8 +4372,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether15", + "metric": "error_counter_in", + "label": "ether30", "value": 0, "unit": "c", "thresholds": { @@ -4386,10 +4386,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether26", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_multicast_out", + "label": "ether10", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4400,8 +4400,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether3", + "metric": "error_counter_in", + "label": "ether24", "value": 0, "unit": "c", "thresholds": { @@ -4414,8 +4414,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether14", + "metric": "packet_counter_multicast_out", + "label": "ether28", "value": 0, "unit": "c", "thresholds": { @@ -4429,7 +4429,7 @@ }, { "metric": "error_counter_out", - "label": "ether25", + "label": "ether29", "value": 0, "unit": "c", "thresholds": { @@ -4442,10 +4442,10 @@ "max": null }, { - "metric": "traffic_counter_out", + "metric": "interface_maxspeed_in", "label": "ether32", - "value": 61488, - "unit": "c", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4456,10 +4456,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether13", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether7", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4470,10 +4470,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "interface_maxspeed_out", "label": "ether17", - "value": 0, - "unit": "c", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4484,8 +4484,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether2", + "metric": "error_counter_in", + "label": "ether21", "value": 0, "unit": "c", "thresholds": { @@ -4498,10 +4498,10 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether8", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether22", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4512,10 +4512,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether10", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether5", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4526,10 +4526,10 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether13", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether9", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4538,12 +4538,12 @@ }, "min": null, "max": null - }, - { - "metric": "traffic_counter_out", - "label": "ether23", - "value": 61152, - "unit": "c", + }, + { + "metric": "interface_oper_status", + "label": "ether20", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4554,9 +4554,9 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether1", - "value": 1158, + "metric": "packet_counter_multicast_out", + "label": "ether8", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -4568,8 +4568,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether1", + "metric": "error_counter_in", + "label": "ether18", "value": 0, "unit": "c", "thresholds": { @@ -4582,10 +4582,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether8", - "value": 1, - "unit": "", + "metric": "packet_counter_discard_out", + "label": "ether20", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4596,8 +4596,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether11", + "metric": "packet_counter_multicast_out", + "label": "ether24", "value": 0, "unit": "c", "thresholds": { @@ -4610,9 +4610,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether2", - "value": 60939, + "metric": "packet_counter_discard_out", + "label": "ether26", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -4624,8 +4624,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether20", + "metric": "packet_counter_unicast_in", + "label": "ether28", "value": 0, "unit": "c", "thresholds": { @@ -4638,8 +4638,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether20", + "metric": "packet_counter_broadcast_in", + "label": "ether6", "value": 0, "unit": "c", "thresholds": { @@ -4652,8 +4652,8 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether24", + "metric": "interface_oper_status", + "label": "ether8", "value": 1, "unit": "", "thresholds": { @@ -4666,8 +4666,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether6", + "metric": "packet_counter_multicast_in", + "label": "ether16", "value": 0, "unit": "c", "thresholds": { @@ -4680,10 +4680,10 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether10", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether11", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4695,7 +4695,7 @@ }, { "metric": "traffic_counter_out", - "label": "ether14", + "label": "ether17", "value": 61152, "unit": "c", "thresholds": { @@ -4708,10 +4708,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether21", - "value": 1, - "unit": "", + "metric": "packet_counter_unicast_out", + "label": "ether3", + "value": 549, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4722,9 +4722,9 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether32", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether10", + "value": 61488, "unit": "c", "thresholds": { "warningMin": null, @@ -4736,10 +4736,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether8", - "value": 1, - "unit": "", + "metric": "packet_counter_discard_in", + "label": "ether11", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4750,9 +4750,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether17", - "value": 61152, + "metric": "packet_counter_multicast_in", + "label": "ether11", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -4764,10 +4764,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether29", - "value": 1, - "unit": "", + "metric": "packet_counter_discard_in", + "label": "ether14", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4778,8 +4778,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether31", + "metric": "packet_counter_discard_out", + "label": "ether16", "value": 0, "unit": "c", "thresholds": { @@ -4793,7 +4793,7 @@ }, { "metric": "packet_counter_multicast_in", - "label": "ether24", + "label": "ether18", "value": 0, "unit": "c", "thresholds": { @@ -4806,8 +4806,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether2", + "metric": "packet_counter_broadcast_in", + "label": "ether21", "value": 0, "unit": "c", "thresholds": { @@ -4820,9 +4820,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether8", - "value": 60606, + "metric": "packet_counter_multicast_out", + "label": "ether5", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -4834,8 +4834,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether18", + "metric": "error_counter_in", + "label": "ether7", "value": 0, "unit": "c", "thresholds": { @@ -4848,10 +4848,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether18", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "ether9", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -4862,10 +4862,10 @@ "max": null }, { - "metric": "error_counter_out", + "metric": "interface_maxspeed_in", "label": "ether27", - "value": 0, - "unit": "c", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4876,8 +4876,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether31", + "metric": "packet_counter_broadcast_out", + "label": "ether30", "value": 0, "unit": "c", "thresholds": { @@ -4891,7 +4891,7 @@ }, { "metric": "interface_oper_status", - "label": "ether31", + "label": "ether1", "value": 1, "unit": "", "thresholds": { @@ -4904,9 +4904,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether4", - "value": 549, + "metric": "traffic_counter_out", + "label": "ether13", + "value": 61488, "unit": "c", "thresholds": { "warningMin": null, @@ -4918,8 +4918,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether11", + "metric": "packet_counter_unicast_in", + "label": "ether22", "value": 0, "unit": "c", "thresholds": { @@ -4932,10 +4932,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether11", - "value": 61152, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether26", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -4946,8 +4946,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether26", + "metric": "error_counter_in", + "label": "ether27", "value": 0, "unit": "c", "thresholds": { @@ -4960,8 +4960,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether21", + "metric": "packet_counter_unicast_in", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -4975,8 +4975,8 @@ }, { "metric": "packet_counter_unicast_out", - "label": "ether25", - "value": 546, + "label": "ether12", + "value": 549, "unit": "c", "thresholds": { "warningMin": null, @@ -4988,9 +4988,9 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether26", - "value": 1, + "metric": "interface_maxspeed_out", + "label": "ether18", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -5002,10 +5002,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether32", - "value": 549, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether24", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -5016,8 +5016,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether7", + "metric": "error_counter_in", + "label": "ether32", "value": 0, "unit": "c", "thresholds": { @@ -5030,10 +5030,10 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether12", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether32", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -5044,10 +5044,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether12", - "value": 1000000000, - "unit": "", + "metric": "traffic_counter_in", + "label": "ether2", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5058,9 +5058,9 @@ "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "traffic_counter_out", "label": "ether19", - "value": 0, + "value": 61488, "unit": "c", "thresholds": { "warningMin": null, @@ -5072,9 +5072,9 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether29", - "value": 1, + "metric": "interface_maxspeed_in", + "label": "ether23", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -5086,8 +5086,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether32", + "metric": "packet_counter_broadcast_out", + "label": "ether26", "value": 0, "unit": "c", "thresholds": { @@ -5100,8 +5100,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether11", + "metric": "packet_counter_multicast_in", + "label": "ether31", "value": 0, "unit": "c", "thresholds": { @@ -5114,10 +5114,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether14", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "ether13", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5129,7 +5129,7 @@ }, { "metric": "traffic_counter_in", - "label": "ether22", + "label": "ether16", "value": 0, "unit": "c", "thresholds": { @@ -5142,8 +5142,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether28", + "metric": "error_counter_in", + "label": "ether19", "value": 0, "unit": "c", "thresholds": { @@ -5156,10 +5156,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether2", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_in", + "label": "ether14", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5170,9 +5170,9 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether17", - "value": 1, + "metric": "interface_maxspeed_in", + "label": "ether25", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -5184,9 +5184,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether26", - "value": 549, + "metric": "traffic_counter_in", + "label": "ether23", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -5198,8 +5198,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether11", + "metric": "error_counter_out", + "label": "ether10", "value": 0, "unit": "c", "thresholds": { @@ -5212,10 +5212,10 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether13", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether10", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -5226,8 +5226,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether3", + "metric": "packet_counter_multicast_in", + "label": "ether13", "value": 0, "unit": "c", "thresholds": { @@ -5240,10 +5240,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether5", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_out", + "label": "ether17", + "value": 546, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5254,8 +5254,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether20", + "metric": "packet_counter_broadcast_out", + "label": "ether9", "value": 0, "unit": "c", "thresholds": { @@ -5269,7 +5269,7 @@ }, { "metric": "packet_counter_broadcast_out", - "label": "ether25", + "label": "ether11", "value": 0, "unit": "c", "thresholds": { @@ -5282,9 +5282,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether28", - "value": 546, + "metric": "error_counter_in", + "label": "ether17", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -5296,8 +5296,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether7", + "metric": "packet_counter_broadcast_out", + "label": "ether22", "value": 0, "unit": "c", "thresholds": { @@ -5311,7 +5311,7 @@ }, { "metric": "packet_counter_unicast_out", - "label": "ether11", + "label": "ether23", "value": 546, "unit": "c", "thresholds": { @@ -5324,8 +5324,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether17", + "metric": "packet_counter_discard_in", + "label": "ether27", "value": 0, "unit": "c", "thresholds": { @@ -5338,9 +5338,9 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether19", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether4", + "value": 549, "unit": "c", "thresholds": { "warningMin": null, @@ -5352,10 +5352,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether3", - "value": 60939, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether14", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -5366,10 +5366,10 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether11", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether17", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -5380,8 +5380,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether17", + "metric": "error_counter_in", + "label": "ether3", "value": 0, "unit": "c", "thresholds": { @@ -5394,8 +5394,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether30", + "metric": "packet_counter_discard_in", + "label": "ether3", "value": 0, "unit": "c", "thresholds": { @@ -5408,9 +5408,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether20", - "value": 549, + "metric": "traffic_counter_in", + "label": "ether14", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -5422,10 +5422,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether24", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_discard_out", + "label": "ether15", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5436,8 +5436,8 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether1", + "metric": "interface_maxspeed_out", + "label": "ether3", "value": 1000000000, "unit": "", "thresholds": { @@ -5450,9 +5450,9 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether6", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether10", + "value": 549, "unit": "c", "thresholds": { "warningMin": null, @@ -5464,8 +5464,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether13", + "metric": "packet_counter_unicast_in", + "label": "ether25", "value": 0, "unit": "c", "thresholds": { @@ -5478,10 +5478,10 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether15", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether18", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -5492,10 +5492,10 @@ "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "interface_maxspeed_in", "label": "ether19", - "value": 0, - "unit": "c", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -5506,10 +5506,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether19", - "value": 1000000000, - "unit": "", + "metric": "traffic_counter_out", + "label": "ether27", + "value": 61152, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5520,10 +5520,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether23", - "value": 546, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether4", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -5534,8 +5534,8 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether24", + "metric": "interface_admin_status", + "label": "ether15", "value": 1, "unit": "", "thresholds": { @@ -5548,8 +5548,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether2", + "metric": "packet_counter_discard_out", + "label": "ether18", "value": 0, "unit": "c", "thresholds": { @@ -5562,8 +5562,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether2", + "metric": "error_counter_out", + "label": "ether25", "value": 0, "unit": "c", "thresholds": { @@ -5577,7 +5577,7 @@ }, { "metric": "packet_counter_broadcast_in", - "label": "ether14", + "label": "ether28", "value": 0, "unit": "c", "thresholds": { @@ -5590,8 +5590,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether18", + "metric": "packet_counter_discard_out", + "label": "ether31", "value": 0, "unit": "c", "thresholds": { @@ -5604,8 +5604,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether29", + "metric": "packet_counter_multicast_in", + "label": "ether6", "value": 0, "unit": "c", "thresholds": { @@ -5618,8 +5618,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether22", + "metric": "packet_counter_discard_out", + "label": "ether7", "value": 0, "unit": "c", "thresholds": { @@ -5632,9 +5632,9 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether28", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether22", + "value": 546, "unit": "c", "thresholds": { "warningMin": null, @@ -5646,10 +5646,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether7", - "value": 1, - "unit": "", + "metric": "packet_counter_multicast_in", + "label": "ether29", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5660,9 +5660,9 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether8", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether6", + "value": 546, "unit": "c", "thresholds": { "warningMin": null, @@ -5674,8 +5674,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether9", + "metric": "packet_counter_discard_in", + "label": "ether18", "value": 0, "unit": "c", "thresholds": { @@ -5689,7 +5689,7 @@ }, { "metric": "interface_maxspeed_out", - "label": "ether10", + "label": "ether20", "value": 1000000000, "unit": "", "thresholds": { @@ -5702,10 +5702,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether26", - "value": 1000000000, - "unit": "", + "metric": "error_counter_out", + "label": "ether8", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5716,8 +5716,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether28", + "metric": "traffic_counter_in", + "label": "ether25", "value": 0, "unit": "c", "thresholds": { @@ -5730,8 +5730,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether16", + "metric": "packet_counter_unicast_in", + "label": "ether30", "value": 0, "unit": "c", "thresholds": { @@ -5744,10 +5744,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether16", - "value": 1, - "unit": "", + "metric": "packet_counter_unicast_in", + "label": "ether1", + "value": 12788, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5758,8 +5758,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether20", + "metric": "error_counter_in", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -5772,8 +5772,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether23", + "metric": "traffic_counter_in", + "label": "ether6", "value": 0, "unit": "c", "thresholds": { @@ -5786,10 +5786,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether1", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether9", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -5800,9 +5800,9 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether18", - "value": 1, + "metric": "interface_maxspeed_out", + "label": "ether16", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -5814,10 +5814,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether18", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether12", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -5828,10 +5828,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether20", - "value": 1, - "unit": "", + "metric": "packet_counter_discard_out", + "label": "ether13", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5842,8 +5842,8 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether15", + "metric": "interface_oper_status", + "label": "ether19", "value": 1, "unit": "", "thresholds": { @@ -5856,8 +5856,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether21", + "metric": "packet_counter_broadcast_out", + "label": "ether14", "value": 0, "unit": "c", "thresholds": { @@ -5869,10 +5869,10 @@ "min": null, "max": null }, - { - "metric": "traffic_counter_out", - "label": "ether26", - "value": 61488, + { + "metric": "error_counter_out", + "label": "ether4", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -5884,8 +5884,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether1", + "metric": "packet_counter_broadcast_out", + "label": "ether5", "value": 0, "unit": "c", "thresholds": { @@ -5898,10 +5898,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether8", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_broadcast_out", + "label": "ether6", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5913,7 +5913,7 @@ }, { "metric": "packet_counter_multicast_in", - "label": "ether22", + "label": "ether8", "value": 0, "unit": "c", "thresholds": { @@ -5926,10 +5926,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether27", - "value": 1, - "unit": "", + "metric": "error_counter_in", + "label": "ether29", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5940,8 +5940,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether7", + "metric": "packet_counter_multicast_out", + "label": "ether15", "value": 0, "unit": "c", "thresholds": { @@ -5954,9 +5954,9 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether8", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether16", + "value": 61488, "unit": "c", "thresholds": { "warningMin": null, @@ -5968,10 +5968,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether22", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_multicast_in", + "label": "ether27", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -5982,9 +5982,9 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether29", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether28", + "value": 61152, "unit": "c", "thresholds": { "warningMin": null, @@ -5997,7 +5997,7 @@ }, { "metric": "packet_counter_broadcast_out", - "label": "ether6", + "label": "ether29", "value": 0, "unit": "c", "thresholds": { @@ -6010,8 +6010,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether7", + "metric": "error_counter_out", + "label": "ether3", "value": 0, "unit": "c", "thresholds": { @@ -6024,9 +6024,9 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether14", - "value": 1000000000, + "metric": "interface_admin_status", + "label": "ether11", + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -6038,8 +6038,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether17", + "metric": "error_counter_out", + "label": "ether14", "value": 0, "unit": "c", "thresholds": { @@ -6052,10 +6052,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether4", - "value": 1000000000, - "unit": "", + "metric": "traffic_counter_out", + "label": "ether20", + "value": 61488, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6066,8 +6066,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether5", + "metric": "packet_counter_discard_out", + "label": "ether27", "value": 0, "unit": "c", "thresholds": { @@ -6080,10 +6080,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether16", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether19", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -6094,8 +6094,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether27", + "metric": "error_counter_out", + "label": "ether20", "value": 0, "unit": "c", "thresholds": { @@ -6108,8 +6108,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether32", + "metric": "packet_counter_unicast_in", + "label": "ether21", "value": 0, "unit": "c", "thresholds": { @@ -6122,10 +6122,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether1", - "value": 1, - "unit": "", + "metric": "packet_counter_discard_in", + "label": "ether22", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6136,10 +6136,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether21", - "value": 1, - "unit": "", + "metric": "packet_counter_multicast_out", + "label": "ether23", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6150,10 +6150,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether22", - "value": 546, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether6", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -6164,10 +6164,10 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether23", - "value": 0, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether15", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -6179,8 +6179,8 @@ }, { "metric": "traffic_counter_out", - "label": "ether1", - "value": 3121399, + "label": "ether21", + "value": 61488, "unit": "c", "thresholds": { "warningMin": null, @@ -6192,10 +6192,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether11", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_out", + "label": "ether19", + "value": 549, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6206,8 +6206,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether28", + "metric": "packet_counter_broadcast_in", + "label": "ether19", "value": 0, "unit": "c", "thresholds": { @@ -6220,10 +6220,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether10", - "value": 1000000000, - "unit": "", + "metric": "error_counter_out", + "label": "ether24", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6234,10 +6234,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether23", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_in", + "label": "ether24", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6248,8 +6248,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether30", + "metric": "packet_counter_broadcast_in", + "label": "ether25", "value": 0, "unit": "c", "thresholds": { @@ -6262,10 +6262,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether31", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_in", + "label": "ether8", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6276,10 +6276,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether3", - "value": 1, - "unit": "", + "metric": "traffic_counter_in", + "label": "ether9", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6290,8 +6290,8 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether4", + "metric": "interface_maxspeed_in", + "label": "ether9", "value": 1000000000, "unit": "", "thresholds": { @@ -6304,10 +6304,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether5", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether31", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -6318,10 +6318,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether31", - "value": 61488, - "unit": "c", + "metric": "interface_maxspeed_in", + "label": "ether24", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -6332,9 +6332,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether9", - "value": 60606, + "metric": "packet_counter_unicast_out", + "label": "ether15", + "value": 549, "unit": "c", "thresholds": { "warningMin": null, @@ -6360,10 +6360,10 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether1", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether29", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -6374,8 +6374,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether4", + "metric": "traffic_counter_in", + "label": "ether31", "value": 0, "unit": "c", "thresholds": { @@ -6388,9 +6388,9 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether12", - "value": 1, + "metric": "interface_maxspeed_in", + "label": "ether31", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -6402,8 +6402,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether25", + "metric": "packet_counter_unicast_in", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -6416,8 +6416,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether2", + "metric": "packet_counter_discard_out", + "label": "ether3", "value": 0, "unit": "c", "thresholds": { @@ -6430,10 +6430,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether6", - "value": 1, - "unit": "", + "metric": "traffic_counter_in", + "label": "ether3", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6444,9 +6444,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether10", - "value": 61488, + "metric": "packet_counter_multicast_in", + "label": "ether24", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -6458,10 +6458,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether22", - "value": 1, - "unit": "", + "metric": "traffic_counter_out", + "label": "ether7", + "value": 60606, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6472,8 +6472,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether6", + "metric": "packet_counter_multicast_in", + "label": "ether20", "value": 0, "unit": "c", "thresholds": { @@ -6486,8 +6486,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether6", + "metric": "packet_counter_multicast_in", + "label": "ether21", "value": 0, "unit": "c", "thresholds": { @@ -6500,9 +6500,9 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether31", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether18", + "value": 549, "unit": "c", "thresholds": { "warningMin": null, @@ -6514,10 +6514,10 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether15", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether21", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -6528,9 +6528,9 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether23", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether2", + "value": 60939, "unit": "c", "thresholds": { "warningMin": null, @@ -6542,9 +6542,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether28", - "value": 61152, + "metric": "error_counter_in", + "label": "ether13", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -6556,8 +6556,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether3", + "metric": "packet_counter_unicast_in", + "label": "ether17", "value": 0, "unit": "c", "thresholds": { @@ -6570,10 +6570,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether18", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_broadcast_out", + "label": "ether25", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6584,9 +6584,9 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether25", - "value": 1000000000, + "metric": "interface_oper_status", + "label": "ether26", + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -6598,8 +6598,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether26", + "metric": "packet_counter_discard_in", + "label": "ether30", "value": 0, "unit": "c", "thresholds": { @@ -6612,9 +6612,9 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether32", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether31", + "value": 61488, "unit": "c", "thresholds": { "warningMin": null, @@ -6626,9 +6626,9 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether3", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether6", + "value": 60606, "unit": "c", "thresholds": { "warningMin": null, @@ -6640,8 +6640,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether8", + "metric": "error_counter_out", + "label": "ether16", "value": 0, "unit": "c", "thresholds": { @@ -6654,8 +6654,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether14", + "metric": "traffic_counter_in", + "label": "ether21", "value": 0, "unit": "c", "thresholds": { @@ -6668,10 +6668,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether18", - "value": 549, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether21", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -6682,10 +6682,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether5", - "value": 1, - "unit": "", + "metric": "packet_counter_unicast_out", + "label": "ether26", + "value": 549, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6696,8 +6696,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether16", + "metric": "packet_counter_broadcast_out", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -6710,8 +6710,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether6", + "metric": "packet_counter_broadcast_out", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -6724,10 +6724,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether16", - "value": 1, - "unit": "", + "metric": "packet_counter_multicast_out", + "label": "ether6", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6738,9 +6738,9 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether17", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether30", + "value": 61152, "unit": "c", "thresholds": { "warningMin": null, @@ -6752,8 +6752,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether21", + "metric": "packet_counter_broadcast_in", + "label": "ether5", "value": 0, "unit": "c", "thresholds": { @@ -6767,7 +6767,7 @@ }, { "metric": "error_counter_out", - "label": "ether23", + "label": "ether9", "value": 0, "unit": "c", "thresholds": { @@ -6780,8 +6780,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether2", + "metric": "traffic_counter_in", + "label": "ether29", "value": 0, "unit": "c", "thresholds": { @@ -6794,10 +6794,10 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether8", - "value": 546, - "unit": "c", + "metric": "interface_maxspeed_out", + "label": "ether28", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -6808,8 +6808,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether10", + "metric": "packet_counter_broadcast_out", + "label": "ether17", "value": 0, "unit": "c", "thresholds": { @@ -6822,8 +6822,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether13", + "metric": "error_counter_out", + "label": "ether18", "value": 0, "unit": "c", "thresholds": { @@ -6836,8 +6836,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether24", + "metric": "error_counter_out", + "label": "ether23", "value": 0, "unit": "c", "thresholds": { @@ -6851,7 +6851,7 @@ }, { "metric": "packet_counter_unicast_in", - "label": "ether27", + "label": "ether23", "value": 0, "unit": "c", "thresholds": { @@ -6864,8 +6864,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether32", + "metric": "packet_counter_broadcast_in", + "label": "ether30", "value": 0, "unit": "c", "thresholds": { @@ -6878,10 +6878,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether28", - "value": 1, - "unit": "", + "metric": "error_counter_in", + "label": "ether1", + "value": 1158, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -6892,8 +6892,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether8", + "metric": "packet_counter_broadcast_in", + "label": "ether7", "value": 0, "unit": "c", "thresholds": { @@ -6907,7 +6907,7 @@ }, { "metric": "packet_counter_discard_in", - "label": "ether14", + "label": "ether12", "value": 0, "unit": "c", "thresholds": { @@ -6920,8 +6920,8 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether14", + "metric": "error_counter_out", + "label": "ether22", "value": 0, "unit": "c", "thresholds": { @@ -6934,8 +6934,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether17", + "metric": "error_counter_out", + "label": "ether32", "value": 0, "unit": "c", "thresholds": { @@ -6948,10 +6948,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", + "metric": "interface_admin_status", "label": "ether3", - "value": 0, - "unit": "c", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -6962,10 +6962,10 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether12", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether6", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -6976,8 +6976,8 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether31", + "metric": "error_counter_in", + "label": "ether10", "value": 0, "unit": "c", "thresholds": { @@ -6991,7 +6991,7 @@ }, { "metric": "interface_admin_status", - "label": "ether14", + "label": "ether16", "value": 1, "unit": "", "thresholds": { @@ -7004,8 +7004,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether22", + "metric": "packet_counter_discard_in", + "label": "ether29", "value": 0, "unit": "c", "thresholds": { @@ -7018,8 +7018,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether21", + "metric": "packet_counter_discard_in", + "label": "ether5", "value": 0, "unit": "c", "thresholds": { @@ -7032,10 +7032,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether28", - "value": 1000000000, - "unit": "", + "metric": "packet_counter_unicast_out", + "label": "ether9", + "value": 546, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -7047,7 +7047,7 @@ }, { "metric": "traffic_counter_in", - "label": "ether2", + "label": "ether10", "value": 0, "unit": "c", "thresholds": { @@ -7060,8 +7060,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether14", + "metric": "packet_counter_multicast_in", + "label": "ether3", "value": 0, "unit": "c", "thresholds": { @@ -7074,10 +7074,10 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether17", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether22", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -7088,10 +7088,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether20", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether24", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -7102,8 +7102,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether10", + "metric": "error_counter_out", + "label": "ether26", "value": 0, "unit": "c", "thresholds": { @@ -7116,10 +7116,10 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether12", - "value": 61488, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether13", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -7130,9 +7130,9 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether13", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether16", + "value": 549, "unit": "c", "thresholds": { "warningMin": null, @@ -7144,9 +7144,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether27", - "value": 61152, + "metric": "packet_counter_discard_in", + "label": "ether21", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -7159,7 +7159,7 @@ }, { "metric": "interface_admin_status", - "label": "ether23", + "label": "ether12", "value": 1, "unit": "", "thresholds": { @@ -7172,8 +7172,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether26", + "metric": "packet_counter_discard_out", + "label": "ether28", "value": 0, "unit": "c", "thresholds": { @@ -7190,7 +7190,7 @@ "messages": [ { "status": 0, - "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"ether1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether1\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:0F:6E:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"2\",\"ifDescr\":\"ether2\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether2\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:4E:4A:01\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"3\",\"ifDescr\":\"ether3\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether3\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:42:91:02\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"4\",\"ifDescr\":\"ether4\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether4\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:F1:7C:03\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"5\",\"ifDescr\":\"ether5\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether5\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:F3:22:04\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"6\",\"ifDescr\":\"ether6\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether6\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:B3:D8:05\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"7\",\"ifDescr\":\"ether7\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether7\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:66:B3:06\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"8\",\"ifDescr\":\"ether8\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether8\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:02:AB:07\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"9\",\"ifDescr\":\"ether9\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether9\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:1A:DE:08\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"10\",\"ifDescr\":\"ether10\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether10\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:AC:54:09\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"11\",\"ifDescr\":\"ether11\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether11\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:07:68:0A\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"12\",\"ifDescr\":\"ether12\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether12\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:FC:A6:0B\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"13\",\"ifDescr\":\"ether13\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether13\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:F1:5D:0C\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"14\",\"ifDescr\":\"ether14\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether14\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:DC:6D:0D\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"15\",\"ifDescr\":\"ether15\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether15\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:E7:61:0E\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"16\",\"ifDescr\":\"ether16\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether16\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:CD:D0:0F\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"17\",\"ifDescr\":\"ether17\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether17\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:16:C8:10\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"18\",\"ifDescr\":\"ether18\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether18\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:44:59:11\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"19\",\"ifDescr\":\"ether19\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether19\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:48:AF:12\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"20\",\"ifDescr\":\"ether20\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether20\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:30:52:13\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"21\",\"ifDescr\":\"ether21\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether21\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:CA:6D:14\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"22\",\"ifDescr\":\"ether22\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether22\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:9B:97:15\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"23\",\"ifDescr\":\"ether23\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether23\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:30:64:16\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"24\",\"ifDescr\":\"ether24\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether24\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:70:D2:17\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"25\",\"ifDescr\":\"ether25\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether25\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:0D:F4:18\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"26\",\"ifDescr\":\"ether26\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether26\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:46:A0:19\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"27\",\"ifDescr\":\"ether27\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether27\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:6F:A8:1A\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"28\",\"ifDescr\":\"ether28\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether28\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:B8:E6:1B\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"29\",\"ifDescr\":\"ether29\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether29\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:FB:BA:1C\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"30\",\"ifDescr\":\"ether30\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether30\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:76:D5:1D\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"31\",\"ifDescr\":\"ether31\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether31\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:9F:4E:1E\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"32\",\"ifDescr\":\"ether32\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether32\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:FD:4E:1F\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null}]" + "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"ether1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether1\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:0F:6E:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"2\",\"ifDescr\":\"ether2\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether2\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:4E:4A:01\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"3\",\"ifDescr\":\"ether3\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether3\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:42:91:02\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"4\",\"ifDescr\":\"ether4\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether4\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:F1:7C:03\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"5\",\"ifDescr\":\"ether5\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether5\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:F3:22:04\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"6\",\"ifDescr\":\"ether6\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether6\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:B3:D8:05\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"7\",\"ifDescr\":\"ether7\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether7\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:66:B3:06\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"8\",\"ifDescr\":\"ether8\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether8\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:02:AB:07\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"9\",\"ifDescr\":\"ether9\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether9\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:1A:DE:08\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"10\",\"ifDescr\":\"ether10\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether10\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:AC:54:09\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"11\",\"ifDescr\":\"ether11\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether11\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:07:68:0A\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"12\",\"ifDescr\":\"ether12\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether12\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:FC:A6:0B\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"13\",\"ifDescr\":\"ether13\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether13\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:F1:5D:0C\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"14\",\"ifDescr\":\"ether14\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether14\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:DC:6D:0D\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"15\",\"ifDescr\":\"ether15\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether15\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:E7:61:0E\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"16\",\"ifDescr\":\"ether16\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether16\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:CD:D0:0F\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"17\",\"ifDescr\":\"ether17\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether17\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:16:C8:10\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"18\",\"ifDescr\":\"ether18\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether18\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:44:59:11\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"19\",\"ifDescr\":\"ether19\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether19\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:48:AF:12\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"20\",\"ifDescr\":\"ether20\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether20\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:30:52:13\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"21\",\"ifDescr\":\"ether21\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether21\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:CA:6D:14\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"22\",\"ifDescr\":\"ether22\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether22\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:9B:97:15\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"23\",\"ifDescr\":\"ether23\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether23\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:30:64:16\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"24\",\"ifDescr\":\"ether24\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether24\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:70:D2:17\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"25\",\"ifDescr\":\"ether25\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether25\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:0D:F4:18\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"26\",\"ifDescr\":\"ether26\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether26\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:46:A0:19\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"27\",\"ifDescr\":\"ether27\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether27\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:6F:A8:1A\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"28\",\"ifDescr\":\"ether28\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether28\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:B8:E6:1B\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"29\",\"ifDescr\":\"ether29\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether29\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:FB:BA:1C\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"30\",\"ifDescr\":\"ether30\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether30\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:76:D5:1D\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"31\",\"ifDescr\":\"ether31\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether31\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:9F:4E:1E\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"32\",\"ifDescr\":\"ether32\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether32\",\"ifAlias\":null,\"ifPhysAddress\":\"52:54:00:FD:4E:1F\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null}]" } ] }, diff --git a/test/testdata/devices/routeros/CHR_2/public.testdata b/test/testdata/devices/routeros/CHR_2/public.testdata index 18d58af..6f62a34 100644 --- a/test/testdata/devices/routeros/CHR_2/public.testdata +++ b/test/testdata/devices/routeros/CHR_2/public.testdata @@ -18,10 +18,10 @@ "status_code": 0, "performance_data": [ { - "metric": "packet_counter_broadcast_in", - "label": "ether3", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether2", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -32,8 +32,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether4", + "metric": "packet_counter_broadcast_out", + "label": "ether3", "value": 0, "unit": "c", "thresholds": { @@ -46,10 +46,10 @@ "max": null }, { - "metric": "interface_oper_status", + "metric": "packet_counter_discard_in", "label": "ether1", - "value": 1, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -75,7 +75,7 @@ }, { "metric": "packet_counter_unicast_out", - "label": "ether3", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -88,10 +88,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", + "metric": "traffic_counter_in", "label": "ether3", "value": 0, - "unit": "", + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -102,9 +102,9 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether1", - "value": 4243004, + "metric": "packet_counter_discard_in", + "label": "ether4", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -116,9 +116,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether1", - "value": 1176294015, + "metric": "packet_counter_unicast_out", + "label": "ether4", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -130,10 +130,10 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether2", - "value": 1, - "unit": "", + "metric": "packet_counter_broadcast_in", + "label": "ether1", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -144,8 +144,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether3", + "metric": "packet_counter_broadcast_out", + "label": "ether1", "value": 0, "unit": "c", "thresholds": { @@ -158,8 +158,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether3", + "metric": "error_counter_out", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -172,8 +172,8 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether4", + "metric": "packet_counter_unicast_in", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -186,10 +186,10 @@ "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "interface_maxspeed_in", "label": "ether4", "value": 0, - "unit": "c", + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -200,10 +200,10 @@ "max": null }, { - "metric": "error_counter_in", + "metric": "interface_maxspeed_in", "label": "ether1", - "value": 191167640, - "unit": "c", + "value": 1000000000, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -215,7 +215,7 @@ }, { "metric": "packet_counter_discard_out", - "label": "ether2", + "label": "ether3", "value": 0, "unit": "c", "thresholds": { @@ -228,9 +228,9 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether2", - "value": 0, + "metric": "interface_admin_status", + "label": "ether4", + "value": 1, "unit": "", "thresholds": { "warningMin": null, @@ -242,7 +242,7 @@ "max": null }, { - "metric": "packet_counter_multicast_in", + "metric": "error_counter_out", "label": "ether3", "value": 0, "unit": "c", @@ -256,10 +256,10 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", + "metric": "interface_maxspeed_out", "label": "ether4", "value": 0, - "unit": "c", + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -270,10 +270,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", + "metric": "error_counter_out", "label": "ether1", - "value": 1000000000, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -284,8 +284,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether1", + "metric": "traffic_counter_out", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -298,10 +298,10 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether1", + "metric": "interface_maxspeed_in", + "label": "ether2", "value": 0, - "unit": "c", + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -312,8 +312,8 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether2", + "metric": "interface_admin_status", + "label": "ether3", "value": 1, "unit": "", "thresholds": { @@ -326,10 +326,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether1", - "value": 1000000000, - "unit": "", + "metric": "error_counter_in", + "label": "ether4", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -340,8 +340,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether3", + "metric": "packet_counter_multicast_out", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -354,10 +354,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether3", + "metric": "error_counter_in", + "label": "ether2", "value": 0, - "unit": "", + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -368,8 +368,8 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether1", + "metric": "error_counter_in", + "label": "ether3", "value": 0, "unit": "c", "thresholds": { @@ -382,10 +382,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether4", - "value": 1, - "unit": "", + "metric": "traffic_counter_out", + "label": "ether3", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -396,8 +396,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether4", + "metric": "packet_counter_unicast_in", + "label": "ether3", "value": 0, "unit": "c", "thresholds": { @@ -410,7 +410,7 @@ "max": null }, { - "metric": "error_counter_out", + "metric": "packet_counter_multicast_in", "label": "ether4", "value": 0, "unit": "c", @@ -424,7 +424,7 @@ "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "packet_counter_discard_in", "label": "ether2", "value": 0, "unit": "c", @@ -438,10 +438,10 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether3", + "metric": "interface_maxspeed_out", + "label": "ether2", "value": 0, - "unit": "c", + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -452,10 +452,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "interface_oper_status", "label": "ether3", - "value": 0, - "unit": "c", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -467,7 +467,7 @@ }, { "metric": "interface_maxspeed_out", - "label": "ether4", + "label": "ether3", "value": 0, "unit": "", "thresholds": { @@ -495,7 +495,7 @@ }, { "metric": "packet_counter_multicast_out", - "label": "ether2", + "label": "ether1", "value": 0, "unit": "c", "thresholds": { @@ -508,9 +508,9 @@ "max": null }, { - "metric": "interface_admin_status", - "label": "ether4", - "value": 1, + "metric": "interface_maxspeed_out", + "label": "ether1", + "value": 1000000000, "unit": "", "thresholds": { "warningMin": null, @@ -522,8 +522,8 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether4", + "metric": "packet_counter_multicast_in", + "label": "ether1", "value": 0, "unit": "c", "thresholds": { @@ -536,8 +536,8 @@ "max": null }, { - "metric": "error_counter_in", - "label": "ether2", + "metric": "packet_counter_discard_out", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -550,8 +550,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether1", + "metric": "traffic_counter_in", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -564,8 +564,8 @@ "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether2", + "metric": "packet_counter_broadcast_out", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -578,7 +578,7 @@ "max": null }, { - "metric": "packet_counter_broadcast_out", + "metric": "packet_counter_multicast_out", "label": "ether2", "value": 0, "unit": "c", @@ -592,10 +592,10 @@ "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether2", + "metric": "packet_counter_discard_out", + "label": "ether1", "value": 0, - "unit": "", + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -606,9 +606,9 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether3", - "value": 0, + "metric": "traffic_counter_in", + "label": "ether1", + "value": 724932470, "unit": "c", "thresholds": { "warningMin": null, @@ -620,10 +620,10 @@ "max": null }, { - "metric": "interface_oper_status", - "label": "ether3", - "value": 1, - "unit": "", + "metric": "packet_counter_unicast_out", + "label": "ether1", + "value": 4243004, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -634,10 +634,10 @@ "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether4", + "metric": "traffic_counter_in", + "label": "ether2", "value": 0, - "unit": "", + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -648,9 +648,9 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether1", - "value": 3528563, + "metric": "packet_counter_broadcast_in", + "label": "ether3", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -662,7 +662,7 @@ "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "error_counter_out", "label": "ether4", "value": 0, "unit": "c", @@ -676,7 +676,7 @@ "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "packet_counter_broadcast_in", "label": "ether4", "value": 0, "unit": "c", @@ -691,8 +691,8 @@ }, { "metric": "traffic_counter_out", - "label": "ether2", - "value": 0, + "label": "ether1", + "value": 1176294015, "unit": "c", "thresholds": { "warningMin": null, @@ -704,8 +704,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether1", + "metric": "packet_counter_discard_out", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -719,7 +719,7 @@ }, { "metric": "packet_counter_multicast_in", - "label": "ether2", + "label": "ether3", "value": 0, "unit": "c", "thresholds": { @@ -732,10 +732,10 @@ "max": null }, { - "metric": "interface_admin_status", + "metric": "packet_counter_multicast_out", "label": "ether3", - "value": 1, - "unit": "", + "value": 0, + "unit": "c", "thresholds": { "warningMin": null, "warningMax": null, @@ -746,10 +746,10 @@ "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether4", + "metric": "interface_maxspeed_in", + "label": "ether3", "value": 0, - "unit": "c", + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -760,9 +760,9 @@ "max": null }, { - "metric": "traffic_counter_in", - "label": "ether1", - "value": 724932470, + "metric": "packet_counter_unicast_out", + "label": "ether3", + "value": 0, "unit": "c", "thresholds": { "warningMin": null, @@ -774,10 +774,10 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether2", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether4", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -788,10 +788,10 @@ "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether4", - "value": 0, - "unit": "c", + "metric": "interface_oper_status", + "label": "ether1", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -802,9 +802,9 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether2", - "value": 0, + "metric": "packet_counter_unicast_in", + "label": "ether1", + "value": 3528563, "unit": "c", "thresholds": { "warningMin": null, @@ -816,10 +816,10 @@ "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether1", - "value": 0, - "unit": "c", + "metric": "interface_admin_status", + "label": "ether2", + "value": 1, + "unit": "", "thresholds": { "warningMin": null, "warningMax": null, @@ -830,7 +830,7 @@ "max": null }, { - "metric": "traffic_counter_in", + "metric": "packet_counter_multicast_in", "label": "ether2", "value": 0, "unit": "c", @@ -844,8 +844,8 @@ "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether2", + "metric": "packet_counter_unicast_in", + "label": "ether4", "value": 0, "unit": "c", "thresholds": { @@ -858,9 +858,9 @@ "max": null }, { - "metric": "traffic_counter_out", - "label": "ether3", - "value": 0, + "metric": "error_counter_in", + "label": "ether1", + "value": 191167640, "unit": "c", "thresholds": { "warningMin": null, @@ -872,8 +872,8 @@ "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether3", + "metric": "traffic_counter_out", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -886,8 +886,8 @@ "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether4", + "metric": "packet_counter_broadcast_in", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -900,8 +900,8 @@ "max": null }, { - "metric": "error_counter_out", - "label": "ether1", + "metric": "packet_counter_broadcast_out", + "label": "ether2", "value": 0, "unit": "c", "thresholds": { @@ -918,7 +918,7 @@ "messages": [ { "status": 0, - "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"ether1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether1\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:01:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"2\",\"ifDescr\":\"ether2\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether2\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:01:00:01\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"3\",\"ifDescr\":\"ether3\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether3\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:01:00:02\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null},{\"ifIndex\":\"4\",\"ifDescr\":\"ether4\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether4\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:01:00:03\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":null}]" + "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"ether1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether1\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:01:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"1000000000\",\"maxSpeedOut\":\"1000000000\",\"subType\":null},{\"ifIndex\":\"2\",\"ifDescr\":\"ether2\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether2\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:01:00:01\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"0\",\"maxSpeedOut\":\"0\",\"subType\":null},{\"ifIndex\":\"3\",\"ifDescr\":\"ether3\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether3\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:01:00:02\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"0\",\"maxSpeedOut\":\"0\",\"subType\":null},{\"ifIndex\":\"4\",\"ifDescr\":\"ether4\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether4\",\"ifAlias\":null,\"ifPhysAddress\":\"50:00:00:01:00:03\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"maxSpeedIn\":\"0\",\"maxSpeedOut\":\"0\",\"subType\":null}]" } ] },