From 872a37c30bfe752dd54a1e83fa1fc5334fec585e Mon Sep 17 00:00:00 2001 From: Toberd Date: Thu, 25 Mar 2021 11:48:01 +0100 Subject: [PATCH 01/11] Changed check disk --- cmd/check_disk.go | 2 +- core/request/check_disk_request_process.go | 27 +++++++------------ doc/api_doc.json | 31 ++++++++++++++++++++++ go.mod | 2 +- go.sum | 4 +-- 5 files changed, 44 insertions(+), 22 deletions(-) diff --git a/cmd/check_disk.go b/cmd/check_disk.go index d195405..7db33df 100644 --- a/cmd/check_disk.go +++ b/cmd/check_disk.go @@ -21,7 +21,7 @@ var checkDiskCMD = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { r := request.CheckDiskRequest{ CheckDeviceRequest: getCheckDeviceRequest(args[0]), - DiskThresholds: generateCheckThresholds(cmd, "warning", "", "critical", "", false), + DiskThresholds: generateCheckThresholds(cmd, "", "warning", "", "critical", true), } handleRequest(&r) }, diff --git a/core/request/check_disk_request_process.go b/core/request/check_disk_request_process.go index d61664a..67f7a4f 100644 --- a/core/request/check_disk_request_process.go +++ b/core/request/check_disk_request_process.go @@ -4,7 +4,6 @@ package request import ( "context" - "fmt" "github.com/inexio/go-monitoringplugin" ) @@ -20,25 +19,17 @@ func (r *CheckDiskRequest) process(ctx context.Context) (Response, error) { for _, storage := range disk.Storages { if storage.Type != nil && storage.Description != nil && storage.Available != nil && storage.Used != nil { - p := monitoringplugin.NewPerformanceDataPoint("disk_available", *storage.Available).SetUnit("KB").SetLabel(*storage.Description) - err = r.mon.AddPerformanceDataPoint(p) - if r.mon.UpdateStatusOnError(err, monitoringplugin.UNKNOWN, "error while adding performance data point", true) { - r.mon.PrintPerformanceData(false) - return &CheckResponse{r.mon.GetInfo()}, nil - } - - p = monitoringplugin.NewPerformanceDataPoint("disk_used", *storage.Used).SetUnit("KB").SetLabel(*storage.Description) - err = r.mon.AddPerformanceDataPoint(p) - if r.mon.UpdateStatusOnError(err, monitoringplugin.UNKNOWN, "error while adding performance data point", true) { - r.mon.PrintPerformanceData(false) - return &CheckResponse{r.mon.GetInfo()}, nil + var p *monitoringplugin.PerformanceDataPoint + + if r.DiskThresholds.HasWarning() && r.DiskThresholds.HasCritical() { // check if max thresholds exist + warningMax := float64(*storage.Available) * r.DiskThresholds.WarningMax.(float64) / 100 + criticalMax := float64(*storage.Available) * r.DiskThresholds.CriticalMax.(float64) / 100 + thresholds := monitoringplugin.Thresholds{WarningMin: 0, WarningMax: warningMax, CriticalMin: 0, CriticalMax: criticalMax} + p = monitoringplugin.NewPerformanceDataPoint("disk_used", *storage.Used).SetUnit("KB").SetLabel(*storage.Description).SetThresholds(thresholds).SetMax(float64(*storage.Available)) + } else { + p = monitoringplugin.NewPerformanceDataPoint("disk_used", *storage.Used).SetUnit("KB").SetLabel(*storage.Description).SetMax(float64(*storage.Available)) } - // get percentage of free part on the storage - free := fmt.Sprintf("%.2f", 100-float64(*storage.Used)/float64(*storage.Available)*100) - p = monitoringplugin.NewPerformanceDataPoint("disk_free", free).SetUnit("%"). - SetLabel(*storage.Description). - SetThresholds(r.DiskThresholds) err = r.mon.AddPerformanceDataPoint(p) if r.mon.UpdateStatusOnError(err, monitoringplugin.UNKNOWN, "error while adding performance data point", true) { r.mon.PrintPerformanceData(false) diff --git a/doc/api_doc.json b/doc/api_doc.json index 3a82994..6c2cf64 100644 --- a/doc/api_doc.json +++ b/doc/api_doc.json @@ -1442,6 +1442,13 @@ }, "x-go-name": "Channels" }, + "corrected_fec": { + "type": "array", + "items": { + "$ref": "#/definitions/Rate" + }, + "x-go-name": "CorrectedFEC" + }, "rx_power": { "type": "number", "format": "double", @@ -1461,6 +1468,13 @@ "type": "number", "format": "double", "x-go-name": "TXPower100G" + }, + "uncorrected_fec": { + "type": "array", + "items": { + "$ref": "#/definitions/Rate" + }, + "x-go-name": "UncorrectedFEC" } }, "x-go-package": "github.com/inexio/thola/core/device" @@ -2199,6 +2213,23 @@ }, "x-go-package": "github.com/inexio/thola/core/device" }, + "Rate": { + "description": "Rate encapsulates values which refer to a time span.", + "type": "object", + "title": "Rate", + "properties": { + "time": { + "type": "string", + "x-go-name": "Time" + }, + "value": { + "type": "number", + "format": "double", + "x-go-name": "Value" + } + }, + "x-go-package": "github.com/inexio/thola/core/device" + }, "ReadAvailableComponentsRequest": { "description": "ReadAvailableComponentsRequest is a the request struct for the read available-components request.", "type": "object", diff --git a/go.mod b/go.mod index b0a1a54..7303729 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/google/go-cmp v0.5.4 github.com/gosnmp/gosnmp v1.30.0 github.com/huandu/go-sqlbuilder v1.8.0 - github.com/inexio/go-monitoringplugin v1.0.4 + github.com/inexio/go-monitoringplugin v1.0.6 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 3039495..00864cf 100644 --- a/go.sum +++ b/go.sum @@ -154,8 +154,8 @@ github.com/huandu/go-sqlbuilder v1.8.0 h1:1KP21dzROt03II0aoX/rD2Y6TX1VCIixSX5mvk github.com/huandu/go-sqlbuilder v1.8.0/go.mod h1:cM38aLPrMXaGxsUkHFh1e2skthPnQRPK7h8//X5LQMc= 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.4 h1:szt6siVww0dtgkeuUGofOPGFMdLGEeTWWpbJIRI3rlg= -github.com/inexio/go-monitoringplugin v1.0.4/go.mod h1:kzHRJGZ2iE/0IElB4NYI38h3h0HM5wqTTH7KyUCjkM8= +github.com/inexio/go-monitoringplugin v1.0.6 h1:tnxWon7lMtbDjWf2LdvUiMcaJ8DnnJ8CqeF462qJ5bg= +github.com/inexio/go-monitoringplugin v1.0.6/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= From e689fdb2d6c1fdada81609669617c92b193e1a45 Mon Sep 17 00:00:00 2001 From: mikameyer Date: Thu, 25 Mar 2021 13:18:03 +0100 Subject: [PATCH 02/11] print interfaces null instead of empty string --- ...check_interface_metrics_request_process.go | 59 ++++++++----------- 1 file changed, 24 insertions(+), 35 deletions(-) diff --git a/core/request/check_interface_metrics_request_process.go b/core/request/check_interface_metrics_request_process.go index 13ef3a2..4a2e1b3 100644 --- a/core/request/check_interface_metrics_request_process.go +++ b/core/request/check_interface_metrics_request_process.go @@ -13,16 +13,15 @@ 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"` + 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"` } func (r *CheckInterfaceMetricsRequest) process(ctx context.Context) (Response, error) { @@ -37,34 +36,24 @@ func (r *CheckInterfaceMetricsRequest) process(ctx context.Context) (Response, e if r.PrintInterfaces { var interfaces []interfaceCheckOutput for _, interf := range readInterfacesResponse.Interfaces { - x := interfaceCheckOutput{} + var index *string if interf.IfIndex != nil { - x.IfIndex = fmt.Sprint(*interf.IfIndex) + i := fmt.Sprint(*interf.IfIndex) + index = &i } - if interf.IfDescr != nil { - x.IfDescr = *interf.IfDescr - } - if interf.IfName != nil { - x.IfName = *interf.IfName - } - if interf.IfType != nil { - x.IfType = *interf.IfType - } - if interf.IfAlias != nil { - x.IfAlias = *interf.IfAlias - } - if interf.IfPhysAddress != nil { - x.IfPhysAddress = *interf.IfPhysAddress - } - if interf.IfAdminStatus != nil { - x.IfAdminStatus = string(*interf.IfAdminStatus) - } - if interf.IfOperStatus != nil { - x.IfOperStatus = string(*interf.IfOperStatus) - } - if interf.SubType != nil { - x.SubType = *interf.SubType + + x := interfaceCheckOutput{ + IfIndex: index, + IfDescr: interf.IfDescr, + IfName: interf.IfName, + IfType: interf.IfType, + IfAlias: interf.IfAlias, + IfPhysAddress: interf.IfPhysAddress, + IfAdminStatus: (*string)(interf.IfAdminStatus), + IfOperStatus: (*string)(interf.IfOperStatus), + SubType: interf.SubType, } + interfaces = append(interfaces, x) } output, err := parser.Parse(interfaces, "json") From 860d2b19a58477a87aa0901d9c822e11d679ff3d Mon Sep 17 00:00:00 2001 From: mikameyer Date: Thu, 25 Mar 2021 13:36:26 +0100 Subject: [PATCH 03/11] fixed testdata --- .../arista_eos/device_1/test_data.json | 1474 ++-- .../devices/comware/VSR1000/test_data.json | 3294 +++++--- .../devices/ios/7206VXR/test_data.json | 798 +- .../devices/routeros/CHR_1/test_data.json | 6962 +++++++++++------ .../devices/routeros/CHR_2/test_data.json | 842 +- 5 files changed, 8709 insertions(+), 4661 deletions(-) diff --git a/test/testdata/devices/arista_eos/device_1/test_data.json b/test/testdata/devices/arista_eos/device_1/test_data.json index 0c966b8..61e8e6d 100644 --- a/test/testdata/devices/arista_eos/device_1/test_data.json +++ b/test/testdata/devices/arista_eos/device_1/test_data.json @@ -18,1192 +18,1668 @@ "status_code": 0, "performance_data": [ { - "metric": "error_counter_alignment_errors", - "label": "Ethernet2", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "Ethernet3", + "metric": "packet_counter_broadcast_out", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "Management1", + "metric": "error_counter_out", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "Ethernet2", + "metric": "error_counter_multiple_collision_frames", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "Management1", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "Ethernet2", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "Ethernet2", - "value": 237534, + "metric": "error_counter_single_collision_frames", + "label": "Management1", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "error_counter_CRCAlign_errors", "label": "Ethernet3", - "value": 237534, + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "Management1", + "metric": "packet_counter_unicast_out", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "Ethernet1", + "metric": "interface_maxspeed_in", + "label": "Ethernet2", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "Ethernet2", + "label": "Ethernet3", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "interface_maxspeed_out", "label": "Management1", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "Ethernet2", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_dot3HCStatsFCSErrors", + "label": "Management1", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", + "metric": "error_counter_excessive_collisions", "label": "Ethernet1", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "Ethernet2", + "metric": "error_counter_alignment_errors", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_late_collisions", - "label": "Ethernet2", + "metric": "packet_counter_unicast_in", + "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "Ethernet2", + "metric": "error_counter_in", + "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "Ethernet3", + "metric": "interface_maxspeed_out", + "label": "Ethernet1", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "Ethernet3", + "metric": "packet_counter_multicast_in", + "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "Ethernet1", + "metric": "packet_counter_multicast_in", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_dot3HCStatsFCSErrors", - "label": "Ethernet2", + "metric": "packet_counter_discard_out", + "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "Ethernet3", + "metric": "error_counter_internal_mac_receive_errors", + "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", + "metric": "error_counter_dot3HCStatsFCSErrors", + "label": "Ethernet1", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "error_counter_alignment_errors", "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "Ethernet1", + "metric": "error_counter_in", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "packet_counter_broadcast_out", "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", + "metric": "error_counter_FCSErrors", "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "Ethernet2", + "metric": "error_counter_excessive_collisions", + "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_admin_status", - "label": "Ethernet3", + "label": "Ethernet1", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_dot3HCStatsFCSErrors", - "label": "Management1", + "metric": "error_counter_deferred_transmissions", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "Ethernet1", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "Ethernet3", + "metric": "error_counter_dot3HCStatsFCSErrors", + "label": "Ethernet2", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", + "metric": "error_counter_late_collisions", "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "Ethernet2", + "metric": "packet_counter_discard_in", + "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "Ethernet2", + "metric": "packet_counter_unicast_in", + "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "Management1", + "metric": "error_counter_frame_too_longs", + "label": "Ethernet1", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "Management1", - "value": 156523, + "metric": "error_counter_carrier_sense_errors", + "label": "Ethernet3", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", + "metric": "error_counter_out", "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_frame_too_longs", + "metric": "traffic_counter_out", "label": "Management1", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "Ethernet1", - "value": 30003997, - "unit": "B", - "warn": null, - "crit": null, + "metric": "error_counter_SQETest_errors", + "label": "Management1", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", + "metric": "packet_counter_discard_out", "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_excessive_collisions", - "label": "Ethernet3", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "Ethernet1", + "metric": "error_counter_excessive_collisions", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "Ethernet1", + "metric": "interface_maxspeed_out", + "label": "Ethernet2", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "Ethernet2", + "metric": "traffic_counter_in", + "label": "Ethernet3", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_alignment_errors", + "metric": "error_counter_internal_mac_receive_errors", "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "interface_admin_status", + "label": "Management1", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_discard_out", "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "Ethernet2", + "metric": "error_counter_SQETest_errors", + "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "Ethernet2", + "metric": "error_counter_internal_mac_receive_errors", + "label": "Ethernet1", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "Ethernet2", + "metric": "error_counter_dot3HCStatsFCSErrors", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "Ethernet3", + "metric": "packet_counter_multicast_out", + "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "Ethernet3", + "metric": "error_counter_deferred_transmissions", + "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", + "metric": "packet_counter_unicast_out", "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "Management1", + "metric": "packet_counter_broadcast_in", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", + "metric": "error_counter_late_collisions", "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_CRCAlign_errors", - "label": "Ethernet1", + "metric": "error_counter_carrier_sense_errors", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "interface_maxspeed_out", "label": "Ethernet3", "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_multicast_out", + "label": "Ethernet2", + "value": 237534, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "Management1", + "metric": "interface_admin_status", + "label": "Ethernet3", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "Management1", - "value": 1000000000, + "metric": "traffic_counter_out", + "label": "Ethernet3", + "value": 30003997, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "Ethernet1", + "metric": "error_counter_CRCAlign_errors", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_CRCAlign_errors", - "label": "Ethernet3", + "metric": "error_counter_multiple_collision_frames", + "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "Ethernet1", - "value": 1, - "unit": "", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "error_counter_frame_too_longs", + "metric": "error_counter_single_collision_frames", "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", + "metric": "traffic_counter_out", "label": "Ethernet2", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 30003997, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_CRCAlign_errors", + "metric": "error_counter_internal_mac_receive_errors", "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "Management1", + "metric": "error_counter_deferred_transmissions", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_in", - "label": "Ethernet1", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_discard_out", "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_oper_status", - "label": "Ethernet2", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", + "metric": "packet_counter_unicast_in", "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", + "metric": "error_counter_single_collision_frames", "label": "Ethernet3", - "value": 30003997, - "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_broadcast_in", - "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", + "metric": "packet_counter_discard_in", "label": "Management1", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", + "metric": "error_counter_carrier_sense_errors", "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "Management1", + "metric": "error_counter_alignment_errors", + "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "Management1", + "metric": "packet_counter_multicast_in", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "Ethernet1", + "metric": "error_counter_late_collisions", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "Ethernet3", + "metric": "error_counter_late_collisions", + "label": "Ethernet2", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_frame_too_longs", - "label": "Ethernet3", + "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_alignment_errors", + "metric": "traffic_counter_out", "label": "Ethernet1", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 30003997, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_broadcast_out", - "label": "Ethernet3", + "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_late_collisions", - "label": "Management1", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", + "metric": "interface_oper_status", + "label": "Ethernet2", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_oper_status", "label": "Ethernet1", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", + "metric": "traffic_counter_in", "label": "Ethernet1", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "Ethernet2", + "metric": "error_counter_carrier_sense_errors", + "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", + "metric": "error_counter_deferred_transmissions", "label": "Management1", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "error_counter_FCSErrors", "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", + "metric": "packet_counter_unicast_in", "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "Ethernet2", - "value": 0, + "metric": "packet_counter_multicast_out", + "label": "Ethernet3", + "value": 237534, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_dot3HCStatsFCSErrors", - "label": "Ethernet3", + "metric": "packet_counter_broadcast_in", + "label": "Management1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", + "metric": "interface_maxspeed_in", "label": "Ethernet1", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", + "metric": "packet_counter_discard_out", "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "Ethernet3", + "metric": "traffic_counter_in", + "label": "Management1", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", + "metric": "packet_counter_discard_in", "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "Ethernet2", + "metric": "packet_counter_broadcast_out", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "Ethernet3", + "metric": "error_counter_CRCAlign_errors", + "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "Management1", + "metric": "error_counter_out", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_dot3HCStatsFCSErrors", - "label": "Ethernet1", + "metric": "packet_counter_discard_in", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", + "metric": "error_counter_FCSErrors", "label": "Ethernet2", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", + "metric": "error_counter_internal_mac_transmit_errors", "label": "Ethernet3", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "Management1", + "metric": "packet_counter_broadcast_in", + "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_late_collisions", + "metric": "error_counter_multiple_collision_frames", "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "error_counter_FCSErrors", "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "Management1", + "metric": "error_counter_frame_too_longs", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "Management1", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "Ethernet3", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "Management1", + "metric": "error_counter_frame_too_longs", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", + "metric": "error_counter_out", "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", + "metric": "packet_counter_multicast_in", "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "Ethernet3", - "value": 0, + "metric": "packet_counter_multicast_out", + "label": "Ethernet1", + "value": 237534, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_late_collisions", - "label": "Ethernet3", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "Management1", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", + "metric": "packet_counter_unicast_out", "label": "Ethernet1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "Ethernet2", - "value": 30003997, - "unit": "B", - "warn": null, - "crit": null, + "metric": "error_counter_in", + "label": "Management1", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "Ethernet2", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "Management1", + "value": 156523, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", + "metric": "traffic_counter_in", "label": "Ethernet2", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", + "metric": "error_counter_alignment_errors", "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "Ethernet3", + "metric": "error_counter_single_collision_frames", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "Ethernet1", - "value": 237534, + "metric": "packet_counter_broadcast_in", + "label": "Ethernet2", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "Ethernet1", + "metric": "error_counter_multiple_collision_frames", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "Ethernet3", + "metric": "error_counter_SQETest_errors", + "label": "Ethernet2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "Management1", + "metric": "error_counter_SQETest_errors", + "label": "Ethernet3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "Ethernet1", + "metric": "interface_oper_status", + "label": "Management1", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null } @@ -1212,7 +1688,7 @@ "messages": [ { "status": 0, - "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"Ethernet1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Ethernet1\",\"ifAlias\":\"\",\"ifPhysAddress\":\"50:00:00:03:00:01\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"2\",\"ifDescr\":\"Ethernet2\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Ethernet2\",\"ifAlias\":\"\",\"ifPhysAddress\":\"50:00:00:03:00:02\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"3\",\"ifDescr\":\"Ethernet3\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Ethernet3\",\"ifAlias\":\"\",\"ifPhysAddress\":\"50:00:00:03:00:03\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"999001\",\"ifDescr\":\"Management1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Management1\",\"ifAlias\":\"\",\"ifPhysAddress\":\"50:00:00:03:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"}]" + "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}]" } ] }, diff --git a/test/testdata/devices/comware/VSR1000/test_data.json b/test/testdata/devices/comware/VSR1000/test_data.json index 16ce7fb..2661b09 100644 --- a/test/testdata/devices/comware/VSR1000/test_data.json +++ b/test/testdata/devices/comware/VSR1000/test_data.json @@ -18,102 +18,142 @@ "status_code": 0, "performance_data": [ { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet6/0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet3/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet5/0", - "value": 0, + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet8/0", + "value": 27, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_discard_out", + "label": "NULL0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", + "metric": "error_counter_FCSErrors", "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "GigabitEthernet3/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_single_collision_frames", + "label": "GigabitEthernet2/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet4/0", + "metric": "error_counter_out", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet5/0", + "metric": "error_counter_in", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet8/0", + "metric": "error_counter_single_collision_frames", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet8/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "NULL0", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -122,228 +162,306 @@ "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", + "metric": "packet_counter_broadcast_in", "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet5/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "GigabitEthernet4/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet1/0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet5/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_FCSErrors", + "label": "GigabitEthernet3/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet8/0", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet1/0", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", + "metric": "packet_counter_discard_in", "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "GigabitEthernet8/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "GigabitEthernet2/0", + "metric": "traffic_counter_out", + "label": "GigabitEthernet1/0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet3/0", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "packet_counter_discard_out", "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet3/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "GigabitEthernet4/0", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", + "metric": "error_counter_single_collision_frames", "label": "GigabitEthernet1/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet2/0", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "GigabitEthernet4/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet2/0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet1/0", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", + "metric": "packet_counter_discard_in", "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "traffic_counter_in", "label": "GigabitEthernet7/0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "InLoopBack0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_in", + "label": "GigabitEthernet3/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "Register-Tunnel0", + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet2/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -352,558 +470,782 @@ "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "interface_maxspeed_in", "label": "GigabitEthernet2/0", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet2/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet4/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet6/0", + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_out", - "label": "GigabitEthernet7/0", - "value": 1000000000, + "label": "Register-Tunnel0", + "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "GigabitEthernet3/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", + "metric": "packet_counter_multicast_in", "label": "GigabitEthernet6/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet8/0", + "metric": "traffic_counter_in", + "label": "GigabitEthernet2/0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", + "metric": "traffic_counter_out", "label": "GigabitEthernet3/0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet4/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "GigabitEthernet3/0", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet7/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "GigabitEthernet5/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", + "metric": "error_counter_alignment_errors", "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_dot3HCStatsFCSErrors", - "label": "GigabitEthernet3/0", + "metric": "error_counter_alignment_errors", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", + "metric": "error_counter_multiple_collision_frames", "label": "GigabitEthernet1/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet3/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "GigabitEthernet2/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet3/0", + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "GigabitEthernet7/0", - "value": 1000000000, + "label": "Register-Tunnel0", + "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet8/0", + "metric": "error_counter_out", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_maxspeed_out", - "label": "Register-Tunnel0", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet4/0", + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "error_counter_FCSErrors", "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "error_counter_frame_too_longs", "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet6/0", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_dot3HCStatsFCSErrors", - "label": "GigabitEthernet2/0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", + "metric": "packet_counter_multicast_in", "label": "GigabitEthernet3/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet3/0", + "metric": "error_counter_FCSErrors", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet8/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "GigabitEthernet8/0", + "metric": "packet_counter_discard_in", + "label": "Register-Tunnel0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "error_counter_late_collisions", "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", + "metric": "error_counter_frame_too_longs", "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", + "metric": "traffic_counter_in", "label": "GigabitEthernet3/0", - "value": 1000000000, + "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "GigabitEthernet6/0", + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet7/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet7/0", + "metric": "error_counter_dot3HCStatsFCSErrors", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet1/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_single_collision_frames", + "label": "GigabitEthernet4/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet5/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "GigabitEthernet6/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "GigabitEthernet3/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "NULL0", + "label": "GigabitEthernet7/0", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "InLoopBack0", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "GigabitEthernet8/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", + "metric": "packet_counter_broadcast_in", "label": "GigabitEthernet2/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "error_counter_in", "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet6/0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet2/0", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet8/0", + "value": 7288, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet7/0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "interface_admin_status", + "label": "Register-Tunnel0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_multicast_out", "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet8/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "InLoopBack0", + "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", + "metric": "error_counter_out", "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", + "metric": "error_counter_internal_mac_transmit_errors", "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "GigabitEthernet7/0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet6/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_out", - "label": "GigabitEthernet8/0", - "value": 1315474, + "label": "Register-Tunnel0", + "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet3/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet5/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "GigabitEthernet3/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", + "metric": "error_counter_internal_mac_transmit_errors", "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -912,208 +1254,320 @@ "label": "NULL0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet1/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "Register-Tunnel0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet7/0", + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet8/0", - "value": 185, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_in", + "label": "GigabitEthernet4/0", + "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet8/0", + "metric": "traffic_counter_out", + "label": "GigabitEthernet7/0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_discard_out", + "label": "InLoopBack0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet5/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "NULL0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet6/0", - "value": 0, + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet1/0", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_admin_status", + "label": "GigabitEthernet2/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet3/0", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet4/0", + "metric": "error_counter_dot3HCStatsFCSErrors", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet4/0", + "metric": "error_counter_dot3HCStatsFCSErrors", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet1/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "GigabitEthernet2/0", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet1/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "GigabitEthernet4/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "GigabitEthernet4/0", + "label": "GigabitEthernet5/0", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", + "metric": "traffic_counter_in", + "label": "NULL0", + "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "error_counter_FCSErrors", "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "NULL0", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet5/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "GigabitEthernet4/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet6/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet4/0", + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -1122,298 +1576,418 @@ "label": "GigabitEthernet7/0", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", + "metric": "error_counter_SQETest_errors", "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet1/0", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", + "metric": "error_counter_deferred_transmissions", "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet3/0", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet5/0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet6/0", + "metric": "traffic_counter_in", + "label": "GigabitEthernet1/0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet4/0", + "metric": "error_counter_FCSErrors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "GigabitEthernet4/0", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet4/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "GigabitEthernet7/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet1/0", + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", + "metric": "interface_oper_status", "label": "InLoopBack0", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_discard_out", + "label": "Register-Tunnel0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "NULL0", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "GigabitEthernet3/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet2/0", + "metric": "error_counter_deferred_transmissions", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet4/0", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet4/0", + "metric": "error_counter_in", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet2/0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "GigabitEthernet8/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet8/0", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet2/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet1/0", + "metric": "error_counter_alignment_errors", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet1/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "NULL0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_dot3HCStatsFCSErrors", - "label": "GigabitEthernet1/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet8/0", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "NULL0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet6/0", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "NULL0", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet7/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -1422,358 +1996,530 @@ "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet7/0", - "value": 0, + "metric": "error_counter_in", + "label": "GigabitEthernet8/0", + "value": 185, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_out", - "label": "InLoopBack0", - "value": 0, + "label": "GigabitEthernet7/0", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet3/0", + "metric": "interface_maxspeed_out", + "label": "GigabitEthernet8/0", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "error_counter_out", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_oper_status", - "label": "GigabitEthernet7/0", + "label": "GigabitEthernet5/0", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet5/0", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "GigabitEthernet7/0", - "value": 0, + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet8/0", + "value": 185, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet7/0", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet8/0", - "value": 7255, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet4/0", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet3/0", + "metric": "interface_oper_status", + "label": "GigabitEthernet6/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "error_counter_single_collision_frames", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_out", - "label": "GigabitEthernet5/0", + "label": "GigabitEthernet2/0", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_frame_too_longs", + "metric": "error_counter_carrier_sense_errors", "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet5/0", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet3/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", + "metric": "error_counter_FCSErrors", "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet8/0", - "value": 5, + "metric": "error_counter_single_collision_frames", + "label": "GigabitEthernet3/0", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet8/0", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet1/0", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet4/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", + "metric": "error_counter_SQETest_errors", "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet4/0", + "metric": "error_counter_alignment_errors", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "error_counter_alignment_errors", "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet8/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet4/0", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet7/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet4/0", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", + "metric": "error_counter_multiple_collision_frames", "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet3/0", + "metric": "error_counter_alignment_errors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_broadcast_in", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "Register-Tunnel0", + "metric": "packet_counter_multicast_out", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "GigabitEthernet4/0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_out", - "label": "GigabitEthernet4/0", - "value": 0, + "label": "GigabitEthernet8/0", + "value": 1315474, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet4/0", + "metric": "interface_oper_status", + "label": "GigabitEthernet1/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_dot3HCStatsFCSErrors", + "metric": "packet_counter_discard_in", "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "traffic_counter_in", + "label": "GigabitEthernet8/0", + "value": 693224, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -1782,648 +2528,880 @@ "label": "Register-Tunnel0", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet3/0", + "metric": "error_counter_dot3HCStatsFCSErrors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_dot3HCStatsFCSErrors", + "metric": "error_counter_single_collision_frames", "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", + "metric": "packet_counter_unicast_in", "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet2/0", + "metric": "error_counter_out", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet3/0", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_multicast_in", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet7/0", - "value": 0, + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet8/0", + "value": 7255, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "InLoopBack0", + "metric": "error_counter_carrier_sense_errors", + "label": "GigabitEthernet8/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_admin_status", - "label": "GigabitEthernet3/0", + "label": "GigabitEthernet1/0", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet4/0", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet6/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "GigabitEthernet8/0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet3/0", + "metric": "interface_maxspeed_in", + "label": "NULL0", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_discard_in", + "label": "InLoopBack0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "Register-Tunnel0", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet4/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet1/0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet6/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "GigabitEthernet2/0", + "metric": "packet_counter_discard_out", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet2/0", + "metric": "error_counter_in", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", - "label": "GigabitEthernet8/0", + "metric": "packet_counter_discard_in", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "InLoopBack0", + "metric": "traffic_counter_out", + "label": "GigabitEthernet4/0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "Register-Tunnel0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "GigabitEthernet5/0", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet2/0", + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet2/0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet6/0", - "value": 0, + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet8/0", + "value": 5, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_dot3HCStatsFCSErrors", - "label": "GigabitEthernet5/0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", - "label": "GigabitEthernet7/0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet8/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "Register-Tunnel0", + "metric": "error_counter_out", + "label": "GigabitEthernet2/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", + "metric": "error_counter_in", "label": "GigabitEthernet5/0", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", + "metric": "packet_counter_discard_in", "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet7/0", + "metric": "traffic_counter_out", + "label": "GigabitEthernet5/0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "GigabitEthernet8/0", - "value": 7288, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_in", + "label": "GigabitEthernet6/0", + "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "NULL0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_dot3HCStatsFCSErrors", + "label": "GigabitEthernet8/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet6/0", + "metric": "error_counter_dot3HCStatsFCSErrors", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet6/0", + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet4/0", + "metric": "error_counter_single_collision_frames", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "GigabitEthernet5/0", + "metric": "interface_admin_status", + "label": "InLoopBack0", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet1/0", + "metric": "traffic_counter_in", + "label": "InLoopBack0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet2/0", - "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet3/0", + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_oper_status", - "label": "GigabitEthernet6/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "GigabitEthernet7/0", + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_dot3HCStatsFCSErrors", - "label": "GigabitEthernet7/0", + "metric": "error_counter_late_collisions", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet2/0", - "value": 0, + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet8/0", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_alignment_errors", - "label": "GigabitEthernet5/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "GigabitEthernet6/0", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "interface_maxspeed_out", "label": "GigabitEthernet1/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", + "metric": "error_counter_carrier_sense_errors", "label": "GigabitEthernet1/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_discard_in", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", + "metric": "error_counter_dot3HCStatsFCSErrors", "label": "GigabitEthernet3/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet6/0", + "metric": "error_counter_FCSErrors", + "label": "GigabitEthernet7/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "GigabitEthernet1/0", + "metric": "interface_maxspeed_in", + "label": "InLoopBack0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet8/0", - "value": 693224, - "unit": "B", - "warn": null, - "crit": null, + "metric": "error_counter_SQETest_errors", + "label": "GigabitEthernet1/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", - "label": "GigabitEthernet8/0", - "value": 185, + "metric": "packet_counter_unicast_out", + "label": "GigabitEthernet2/0", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "NULL0", + "metric": "error_counter_in", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "GigabitEthernet2/0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "InLoopBack0", + "metric": "traffic_counter_out", + "label": "GigabitEthernet6/0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_discard_in", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "GigabitEthernet1/0", + "metric": "traffic_counter_out", + "label": "NULL0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet7/0", + "metric": "packet_counter_broadcast_out", + "label": "GigabitEthernet6/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "Register-Tunnel0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet7/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "GigabitEthernet5/0", + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet8/0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet6/0", + "metric": "interface_maxspeed_in", + "label": "GigabitEthernet3/0", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet8/0", + "metric": "error_counter_multiple_collision_frames", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -2432,148 +3410,194 @@ "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "GigabitEthernet8/0", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "error_counter_out", + "label": "GigabitEthernet5/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "GigabitEthernet1/0", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet8/0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_out", - "label": "GigabitEthernet2/0", + "label": "InLoopBack0", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", - "label": "GigabitEthernet2/0", + "metric": "error_counter_frame_too_longs", + "label": "GigabitEthernet3/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "GigabitEthernet5/0", + "metric": "error_counter_alignment_errors", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "GigabitEthernet8/0", - "value": 27, + "metric": "error_counter_internal_mac_transmit_errors", + "label": "GigabitEthernet4/0", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "InLoopBack0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "GigabitEthernet6/0", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", - "label": "GigabitEthernet1/0", + "metric": "packet_counter_unicast_in", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "GigabitEthernet2/0", + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet5/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "GigabitEthernet4/0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "GigabitEthernet2/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "GigabitEthernet8/0", + "metric": "error_counter_excessive_collisions", + "label": "GigabitEthernet4/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "GigabitEthernet4/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "error_counter_late_collisions", + "metric": "traffic_counter_in", "label": "GigabitEthernet5/0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_late_collisions", - "label": "GigabitEthernet7/0", + "metric": "error_counter_out", + "label": "GigabitEthernet6/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null } @@ -2582,7 +3606,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\":\"\"},{\"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\":\"\"},{\"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\":\"\"},{\"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\":\"\"},{\"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\":\"\"},{\"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\":\"\"},{\"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\":\"\"},{\"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\":\"\"},{\"ifIndex\":\"401\",\"ifDescr\":\"NULL0\",\"ifType\":\"other\",\"ifName\":\"NULL0\",\"ifAlias\":\"NULL0 Interface\",\"ifPhysAddress\":\"00:00:00:00:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"402\",\"ifDescr\":\"InLoopBack0\",\"ifType\":\"softwareLoopback\",\"ifName\":\"InLoopBack0\",\"ifAlias\":\"InLoopBack0 Interface\",\"ifPhysAddress\":\"00:00:00:00:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"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\":\"\"}]" + "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}]" } ] }, diff --git a/test/testdata/devices/ios/7206VXR/test_data.json b/test/testdata/devices/ios/7206VXR/test_data.json index 229dbef..48dbe02 100644 --- a/test/testdata/devices/ios/7206VXR/test_data.json +++ b/test/testdata/devices/ios/7206VXR/test_data.json @@ -18,142 +18,170 @@ "status_code": 0, "performance_data": [ { - "metric": "interface_oper_status", - "label": "VoIP-Null0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_carrier_sense_errors", + "label": "FastEthernet0/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": "", - "warn": null, - "crit": null, + "metric": "packet_counter_multicast_out", + "label": "VoIP-Null0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "Null0", - "value": 10000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_out", + "label": "FastEthernet0/0", + "value": 22951, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_deferred_transmissions", + "metric": "error_counter_SQETest_errors", "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_receive_errors", + "metric": "error_counter_excessive_collisions", "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "packet_counter_discard_in", "label": "VoIP-Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "Null0", + "metric": "packet_counter_discard_out", + "label": "VoIP-Null0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_maxspeed_out", - "label": "Null0", - "value": 10000000000, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "FastEthernet0/0", - "value": 100000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "VoIP-Null0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_carrier_sense_errors", + "metric": "error_counter_in", "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "VoIP-Null0", + "metric": "error_counter_late_collisions", + "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "interface_maxspeed_out", "label": "VoIP-Null0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 10000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_discard_in", - "label": "Null0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_unicast_out", - "label": "Null0", + "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -162,458 +190,670 @@ "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_late_collisions", + "metric": "error_counter_internal_mac_transmit_errors", "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_internal_mac_transmit_errors", - "label": "FastEthernet0/0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "Null0", + "value": 10000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", + "metric": "packet_counter_multicast_out", "label": "FastEthernet0/0", - "value": 2, + "value": 4854, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "Null0", + "metric": "packet_counter_broadcast_out", + "label": "VoIP-Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "FastEthernet0/0", - "value": 100000000, + "metric": "traffic_counter_in", + "label": "VoIP-Null0", + "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_single_collision_frames", - "label": "FastEthernet0/0", + "metric": "error_counter_in", + "label": "VoIP-Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "FastEthernet0/0", - "value": 3399486, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_in", + "label": "VoIP-Null0", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", + "metric": "packet_counter_broadcast_in", "label": "FastEthernet0/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "value": 23653, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "packet_counter_broadcast_out", "label": "FastEthernet0/0", - "value": 9091, + "value": 2, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", + "metric": "error_counter_FCSErrors", "label": "FastEthernet0/0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "error_counter_in", - "label": "VoIP-Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "FastEthernet0/0", - "value": 4854, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "VoIP-Null0", + "value": 10000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "VoIP-Null0", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "Null0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "VoIP-Null0", + "metric": "packet_counter_unicast_in", + "label": "Null0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "VoIP-Null0", + "metric": "packet_counter_unicast_out", + "label": "Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_SQETest_errors", + "metric": "packet_counter_discard_out", "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "Null0", + "metric": "interface_oper_status", + "label": "FastEthernet0/0", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_FCSErrors", - "label": "FastEthernet0/0", + "metric": "packet_counter_broadcast_in", + "label": "Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_multiple_collision_frames", + "metric": "error_counter_out", "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_excessive_collisions", - "label": "FastEthernet0/0", + "metric": "packet_counter_discard_in", + "label": "Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_frame_too_longs", - "label": "FastEthernet0/0", + "metric": "traffic_counter_out", + "label": "Null0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "error_counter_out", "label": "Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", + "metric": "interface_maxspeed_in", "label": "Null0", + "value": 10000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "traffic_counter_out", + "label": "VoIP-Null0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "FastEthernet0/0", + "metric": "packet_counter_broadcast_out", + "label": "Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "VoIP-Null0", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "FastEthernet0/0", + "value": 3399486, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "error_counter_multiple_collision_frames", "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", + "metric": "error_counter_out", "label": "VoIP-Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_maxspeed_out", + "label": "FastEthernet0/0", + "value": 100000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_maxspeed_in", + "label": "FastEthernet0/0", + "value": 100000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_in", - "label": "Null0", + "label": "VoIP-Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "error_counter_in", "label": "Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "VoIP-Null0", + "metric": "traffic_counter_in", + "label": "Null0", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "VoIP-Null0", + "metric": "packet_counter_multicast_out", + "label": "Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "VoIP-Null0", - "value": 10000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_multicast_in", + "label": "FastEthernet0/0", + "value": 19554, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "Null0", + "metric": "error_counter_deferred_transmissions", + "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "VoIP-Null0", + "metric": "error_counter_internal_mac_receive_errors", + "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "FastEthernet0/0", - "value": 7040724, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "Null0", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "error_counter_single_collision_frames", "label": "FastEthernet0/0", - "value": 22951, + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "VoIP-Null0", - "value": 10000000000, + "metric": "traffic_counter_in", + "label": "FastEthernet0/0", + "value": 7040724, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "Null0", + "metric": "error_counter_frame_too_longs", + "label": "FastEthernet0/0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "Null0", + "metric": "packet_counter_unicast_out", + "label": "VoIP-Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "FastEthernet0/0", + "metric": "packet_counter_broadcast_in", + "label": "VoIP-Null0", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_in", - "label": "FastEthernet0/0", - "value": 19554, + "label": "Null0", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", + "metric": "interface_admin_status", "label": "FastEthernet0/0", - "value": 23653, - "unit": "c", - "warn": null, - "crit": null, + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "interface_oper_status", "label": "VoIP-Null0", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", + "metric": "packet_counter_discard_out", "label": "Null0", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", + "metric": "packet_counter_unicast_in", "label": "FastEthernet0/0", - "value": 0, + "value": 9091, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null } @@ -622,7 +862,7 @@ "messages": [ { "status": 0, - "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"FastEthernet0/0\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"Fa0/0\",\"ifAlias\":\"\",\"ifPhysAddress\":\"CA:01:16:E4:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"2\",\"ifDescr\":\"VoIP-Null0\",\"ifType\":\"other\",\"ifName\":\"Vo0\",\"ifAlias\":\"\",\"ifPhysAddress\":\"\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"3\",\"ifDescr\":\"Null0\",\"ifType\":\"other\",\"ifName\":\"Nu0\",\"ifAlias\":\"\",\"ifPhysAddress\":\"\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"}]" + "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}]" } ] }, @@ -635,8 +875,12 @@ "label": "", "value": 5, "unit": "%", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null } diff --git a/test/testdata/devices/routeros/CHR_1/test_data.json b/test/testdata/devices/routeros/CHR_1/test_data.json index 291e00c..32f3080 100644 --- a/test/testdata/devices/routeros/CHR_1/test_data.json +++ b/test/testdata/devices/routeros/CHR_1/test_data.json @@ -18,422 +18,590 @@ "status_code": 0, "performance_data": [ { - "metric": "packet_counter_unicast_in", - "label": "ether21", + "metric": "packet_counter_multicast_out", + "label": "ether26", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_admin_status", - "label": "ether28", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether32", + "metric": "error_counter_out", + "label": "ether7", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether15", + "metric": "traffic_counter_in", + "label": "ether13", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_out", - "label": "ether19", + "label": "ether22", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether25", + "metric": "traffic_counter_in", + "label": "ether23", + "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_unicast_out", + "label": "ether5", + "value": 546, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_broadcast_out", + "label": "ether7", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether32", + "metric": "packet_counter_multicast_in", + "label": "ether14", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", + "metric": "interface_maxspeed_in", "label": "ether18", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether19", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether2", + "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_in", - "label": "ether22", + "label": "ether29", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", + "metric": "interface_oper_status", "label": "ether22", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", + "metric": "traffic_counter_in", "label": "ether1", - "value": 1000000000, + "value": 1348329, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether1", - "value": 13374, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether2", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether6", + "metric": "packet_counter_multicast_out", + "label": "ether3", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_oper_status", - "label": "ether17", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_out", - "label": "ether2", + "label": "ether19", "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether16", + "metric": "packet_counter_multicast_out", + "label": "ether17", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether20", + "metric": "packet_counter_multicast_out", + "label": "ether22", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether22", + "metric": "packet_counter_discard_out", + "label": "ether26", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether26", - "value": 61488, + "metric": "interface_maxspeed_out", + "label": "ether30", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether1", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_in", + "label": "ether10", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether4", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether16", + "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether4", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "ether29", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether14", + "metric": "traffic_counter_in", + "label": "ether4", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "ether15", + "label": "ether14", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether32", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether15", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether2", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether32", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether7", - "value": 1000000000, + "metric": "traffic_counter_out", + "label": "ether5", + "value": 60606, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether9", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether14", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether13", + "metric": "error_counter_in", + "label": "ether25", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether4", + "metric": "packet_counter_discard_in", + "label": "ether25", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether13", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "ether21", + "value": 61488, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether19", + "metric": "error_counter_in", + "label": "ether26", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether22", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether1", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether30", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether5", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether9", + "metric": "packet_counter_multicast_in", + "label": "ether12", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether13", + "metric": "packet_counter_broadcast_in", + "label": "ether16", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether15", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "ether11", + "value": 61152, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether16", + "metric": "packet_counter_discard_out", + "label": "ether18", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_in", - "label": "ether30", + "label": "ether18", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether27", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_multicast_in", + "label": "ether28", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether16", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_in", + "label": "ether12", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -442,238 +610,334 @@ "label": "ether25", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "traffic_counter_out", "label": "ether26", - "value": 549, - "unit": "c", - "warn": null, - "crit": null, + "value": 61488, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "ether32", + "label": "ether27", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether3", + "metric": "packet_counter_unicast_in", + "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether21", + "metric": "packet_counter_discard_out", + "label": "ether7", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "traffic_counter_out", - "label": "ether23", - "value": 61152, - "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "ether16", + "label": "ether20", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", + "metric": "error_counter_out", "label": "ether28", - "value": 61152, - "unit": "B", - "warn": null, - "crit": null, + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", + "metric": "packet_counter_unicast_in", "label": "ether28", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "traffic_counter_out", "label": "ether32", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 61488, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether2", - "value": 60939, + "metric": "interface_maxspeed_in", + "label": "ether9", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_oper_status", + "label": "ether11", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "ether2", + "label": "ether12", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether7", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether16", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether21", + "metric": "interface_oper_status", + "label": "ether8", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether25", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether28", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_in", - "label": "ether25", + "label": "ether32", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether28", - "value": 546, + "metric": "packet_counter_unicast_in", + "label": "ether3", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether2", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "ether13", + "value": 61488, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether5", - "value": 0, + "metric": "traffic_counter_out", + "label": "ether31", + "value": 61488, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether8", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether4", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether11", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "ether9", + "value": 60606, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether12", + "metric": "packet_counter_discard_in", + "label": "ether30", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether18", + "metric": "packet_counter_broadcast_in", + "label": "ether17", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether19", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether25", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -682,1238 +946,1762 @@ "label": "ether31", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether14", + "metric": "packet_counter_broadcast_out", + "label": "ether8", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether25", + "metric": "traffic_counter_in", + "label": "ether12", + "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_maxspeed_in", + "label": "ether23", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_discard_in", + "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether31", - "value": 549, + "metric": "interface_oper_status", + "label": "ether2", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_multicast_in", + "label": "ether2", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_out", - "label": "ether7", - "value": 546, + "label": "ether3", + "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether17", + "metric": "packet_counter_broadcast_out", + "label": "ether11", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether5", + "metric": "packet_counter_discard_in", + "label": "ether13", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether15", - "value": 1000000000, + "metric": "traffic_counter_out", + "label": "ether18", + "value": 61488, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether17", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether26", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_in", - "label": "ether3", + "label": "ether26", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether9", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether5", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether12", + "metric": "packet_counter_discard_out", + "label": "ether9", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether14", + "metric": "error_counter_out", + "label": "ether13", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_out", - "label": "ether5", - "value": 60606, + "label": "ether4", + "value": 60939, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether8", + "metric": "packet_counter_discard_in", + "label": "ether5", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether8", - "value": 1000000000, + "metric": "traffic_counter_out", + "label": "ether30", + "value": 61152, "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_broadcast_out", - "label": "ether11", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", + "metric": "traffic_counter_out", "label": "ether19", - "value": 1000000000, + "value": 61488, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether7", + "metric": "packet_counter_multicast_in", + "label": "ether25", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether10", + "metric": "traffic_counter_in", + "label": "ether27", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether31", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "ether29", + "value": 61152, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether1", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether4", + "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether2", + "metric": "packet_counter_multicast_in", + "label": "ether6", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether9", - "value": 60606, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_out", + "label": "ether10", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether9", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether16", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether25", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_multicast_out", + "label": "ether18", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether28", - "value": 1000000000, + "metric": "traffic_counter_out", + "label": "ether25", + "value": 61152, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether2", + "metric": "packet_counter_broadcast_out", + "label": "ether32", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "error_counter_out", "label": "ether3", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_unicast_out", - "label": "ether8", - "value": 546, - "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_in", - "label": "ether11", + "label": "ether9", "value": 0, "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_maxspeed_in", - "label": "ether13", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether29", + "metric": "packet_counter_broadcast_in", + "label": "ether14", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether17", + "metric": "error_counter_in", + "label": "ether18", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "error_counter_out", "label": "ether30", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether20", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "error_counter_out", - "label": "ether23", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether6", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether23", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether12", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether29", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether14", + "value": 546, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_broadcast_out", - "label": "ether1", + "label": "ether15", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether8", + "metric": "interface_admin_status", + "label": "ether21", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_broadcast_in", - "label": "ether12", + "label": "ether21", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_out", - "label": "ether14", + "label": "ether24", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_in", - "label": "ether2", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_broadcast_out", - "label": "ether10", + "label": "ether30", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether29", + "metric": "error_counter_out", + "label": "ether5", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_out", - "label": "ether6", + "label": "ether5", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "packet_counter_discard_in", "label": "ether7", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "error_counter_in", - "label": "ether9", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_in", - "label": "ether6", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_multicast_in", - "label": "ether10", + "label": "ether15", "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_maxspeed_in", - "label": "ether22", - "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether26", + "metric": "packet_counter_broadcast_in", + "label": "ether31", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_out", - "label": "ether20", - "value": 549, + "label": "ether28", + "value": 546, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether29", + "metric": "interface_oper_status", + "label": "ether31", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether29", + "metric": "error_counter_out", + "label": "ether32", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_maxspeed_out", - "label": "ether21", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", + "metric": "packet_counter_broadcast_in", "label": "ether1", - "value": 1348329, - "unit": "B", - "warn": null, - "crit": null, + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether11", + "metric": "error_counter_in", + "label": "ether5", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether21", + "metric": "error_counter_out", + "label": "ether17", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether25", - "value": 546, + "metric": "error_counter_out", + "label": "ether18", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether7", - "value": 0, + "metric": "interface_maxspeed_out", + "label": "ether2", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether8", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether6", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_in", - "label": "ether26", + "label": "ether16", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether26", + "metric": "traffic_counter_in", + "label": "ether19", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_discard_out", - "label": "ether15", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_broadcast_out", - "label": "ether25", + "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether23", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether5", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether29", + "metric": "interface_maxspeed_out", + "label": "ether10", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether29", - "value": 1000000000, + "metric": "traffic_counter_out", + "label": "ether20", + "value": 61488, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether31", - "value": 0, + "metric": "interface_maxspeed_in", + "label": "ether7", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether1", + "metric": "packet_counter_broadcast_in", + "label": "ether9", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether4", + "metric": "packet_counter_multicast_in", + "label": "ether15", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether14", - "value": 1000000000, + "metric": "interface_admin_status", + "label": "ether11", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "traffic_counter_out", + "label": "ether17", + "value": 61152, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether20", + "metric": "packet_counter_multicast_in", + "label": "ether1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether20", + "metric": "traffic_counter_in", + "label": "ether7", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether31", - "value": 1000000000, + "metric": "traffic_counter_in", + "label": "ether8", + "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "error_counter_in", + "label": "ether8", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_in", - "label": "ether1", - "value": 12788, + "label": "ether19", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether16", + "metric": "packet_counter_multicast_in", + "label": "ether22", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_out", - "label": "ether32", + "label": "ether26", "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether20", + "metric": "packet_counter_unicast_out", + "label": "ether10", + "value": 549, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_multicast_out", + "label": "ether14", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "interface_maxspeed_out", + "label": "ether14", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_discard_in", "label": "ether31", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether5", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_out", + "label": "ether17", + "value": 546, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "error_counter_in", + "label": "ether24", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "traffic_counter_out", + "label": "ether27", + "value": 61152, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_broadcast_out", + "label": "ether30", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_maxspeed_out", + "label": "ether9", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_oper_status", - "label": "ether10", + "label": "ether12", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "interface_maxspeed_out", + "label": "ether18", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_admin_status", "label": "ether20", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether29", - "value": 546, + "metric": "packet_counter_multicast_out", + "label": "ether23", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether3", - "value": 60939, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether29", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether4", + "metric": "error_counter_out", + "label": "ether31", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_in", - "label": "ether6", + "label": "ether29", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "error_counter_in", "label": "ether9", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether14", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "ether10", + "value": 61488, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", + "metric": "traffic_counter_out", "label": "ether15", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "value": 61488, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether24", + "metric": "packet_counter_broadcast_out", + "label": "ether17", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether30", + "metric": "packet_counter_multicast_in", + "label": "ether3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether11", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_in", + "label": "ether8", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether14", + "metric": "packet_counter_multicast_out", + "label": "ether9", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_out", - "label": "ether19", + "label": "ether12", "value": 61488, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether21", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_out", + "label": "ether22", + "value": 546, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether26", + "metric": "error_counter_in", + "label": "ether28", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether7", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "traffic_counter_out", - "label": "ether11", - "value": 61152, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_in", + "label": "ether28", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_admin_status", - "label": "ether15", + "label": "ether30", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether15", + "metric": "error_counter_out", + "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether20", - "value": 0, + "metric": "interface_maxspeed_out", + "label": "ether16", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether24", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether4", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether25", + "metric": "packet_counter_multicast_in", + "label": "ether24", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether26", + "metric": "packet_counter_broadcast_out", + "label": "ether3", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether26", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_in", + "label": "ether13", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether28", + "metric": "error_counter_out", + "label": "ether22", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", + "metric": "packet_counter_multicast_out", "label": "ether29", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether2", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_out", + "label": "ether32", + "value": 549, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether15", + "metric": "packet_counter_unicast_in", + "label": "ether11", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether15", - "value": 61488, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_multicast_in", + "label": "ether11", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether18", - "value": 61488, + "metric": "interface_maxspeed_out", + "label": "ether23", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether21", + "metric": "error_counter_out", + "label": "ether27", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether29", + "metric": "interface_oper_status", + "label": "ether30", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_multicast_out", + "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_out", - "label": "ether30", - "value": 61152, + "label": "ether16", + "value": 61488, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether14", + "metric": "packet_counter_broadcast_out", + "label": "ether26", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether20", + "metric": "traffic_counter_in", + "label": "ether28", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether24", + "metric": "packet_counter_broadcast_in", + "label": "ether26", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether5", + "metric": "packet_counter_unicast_in", + "label": "ether20", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether7", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether31", + "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether9", + "metric": "packet_counter_unicast_in", + "label": "ether8", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether10", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether14", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -1922,3218 +2710,4478 @@ "label": "ether18", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether26", + "metric": "error_counter_out", + "label": "ether19", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether28", + "metric": "error_counter_out", + "label": "ether29", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether1", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether32", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether8", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether4", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_in", - "label": "ether11", + "label": "ether14", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether14", + "metric": "interface_admin_status", + "label": "ether26", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether27", - "value": 546, + "metric": "packet_counter_multicast_in", + "label": "ether26", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_discard_in", - "label": "ether28", + "label": "ether24", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether30", + "metric": "error_counter_in", + "label": "ether31", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", + "metric": "packet_counter_discard_in", "label": "ether3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "interface_maxspeed_out", + "label": "ether3", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_multicast_in", "label": "ether8", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", + "metric": "packet_counter_multicast_out", "label": "ether11", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether13", + "metric": "packet_counter_discard_out", + "label": "ether27", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_in", - "label": "ether15", + "label": "ether27", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "packet_counter_unicast_in", "label": "ether22", - "value": 546, + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether24", - "value": 546, + "metric": "traffic_counter_out", + "label": "ether23", + "value": 61152, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_unicast_in", + "label": "ether1", + "value": 12788, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", + "metric": "traffic_counter_out", "label": "ether3", + "value": 60939, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_multicast_out", + "label": "ether15", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether14", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether21", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether18", + "metric": "error_counter_out", + "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether24", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether6", + "value": 546, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_in", - "label": "ether30", + "label": "ether7", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether31", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether23", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether7", + "metric": "packet_counter_multicast_out", + "label": "ether28", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether6", - "value": 60606, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_in", + "label": "ether30", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "ether17", + "label": "ether8", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether24", + "metric": "packet_counter_multicast_in", + "label": "ether23", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether16", + "metric": "packet_counter_broadcast_out", + "label": "ether24", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether20", + "metric": "interface_maxspeed_out", + "label": "ether27", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "ether3", + "label": "ether25", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether7", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether29", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether23", + "metric": "packet_counter_multicast_out", + "label": "ether31", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether24", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether31", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether31", + "metric": "packet_counter_broadcast_out", + "label": "ether28", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether13", + "metric": "packet_counter_unicast_in", + "label": "ether10", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "traffic_counter_in", "label": "ether14", - "value": 546, + "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_broadcast_out", + "label": "ether23", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", + "metric": "packet_counter_broadcast_out", "label": "ether25", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_admin_status", - "label": "ether5", + "label": "ether22", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "traffic_counter_out", + "label": "ether28", + "value": 61152, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "traffic_counter_in", + "label": "ether3", + "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_broadcast_in", + "label": "ether4", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether23", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether6", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether32", + "metric": "packet_counter_multicast_out", + "label": "ether16", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether32", - "value": 61488, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_out", + "label": "ether9", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_out", - "label": "ether2", + "label": "ether10", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether3", + "metric": "packet_counter_discard_out", + "label": "ether16", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_in", - "label": "ether4", + "label": "ether32", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_out", - "label": "ether4", + "label": "ether18", "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether14", + "metric": "packet_counter_multicast_out", + "label": "ether24", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether16", + "metric": "packet_counter_unicast_in", + "label": "ether32", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether30", + "metric": "packet_counter_broadcast_out", + "label": "ether5", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether30", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether9", + "value": 546, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether31", - "value": 61488, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_multicast_out", + "label": "ether13", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether16", - "value": 61488, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_out", + "label": "ether14", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether18", + "metric": "packet_counter_discard_out", + "label": "ether17", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "ether21", + "label": "ether17", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether28", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether20", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether7", + "metric": "error_counter_in", + "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether11", + "metric": "interface_maxspeed_in", + "label": "ether5", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether19", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "ether7", + "value": 60606, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether23", + "metric": "error_counter_in", + "label": "ether13", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether32", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether8", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether15", - "value": 549, + "metric": "packet_counter_multicast_in", + "label": "ether17", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether15", + "metric": "error_counter_in", + "label": "ether19", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_in", - "label": "ether19", + "label": "ether20", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether19", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "ether6", + "value": 60606, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether24", + "metric": "interface_oper_status", + "label": "ether13", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether1", + "metric": "interface_maxspeed_in", + "label": "ether22", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether5", - "value": 1000000000, + "metric": "traffic_counter_in", + "label": "ether24", + "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether8", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether27", + "value": 546, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether2", + "metric": "packet_counter_broadcast_in", + "label": "ether27", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether13", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether32", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether16", + "metric": "packet_counter_discard_in", + "label": "ether9", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether17", + "metric": "error_counter_in", + "label": "ether12", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether26", + "metric": "packet_counter_discard_in", + "label": "ether22", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether27", + "metric": "packet_counter_discard_out", + "label": "ether24", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_out", - "label": "ether13", + "label": "ether7", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether27", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether13", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether3", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether15", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether2", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "error_counter_out", + "label": "ether21", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether9", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether19", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether10", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether25", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether11", + "metric": "packet_counter_multicast_in", + "label": "ether31", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_oper_status", - "label": "ether12", - "value": 1, - "unit": "", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_admin_status", - "label": "ether16", + "label": "ether32", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether27", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "ether2", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether1", + "metric": "packet_counter_broadcast_in", + "label": "ether6", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", + "metric": "interface_maxspeed_out", "label": "ether13", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", + "metric": "packet_counter_unicast_in", "label": "ether17", - "value": 546, + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether18", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether24", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether23", - "value": 546, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "ether24", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_out", - "label": "ether3", + "label": "ether26", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_broadcast_out", - "label": "ether4", + "label": "ether1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether10", + "metric": "packet_counter_broadcast_in", + "label": "ether7", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether17", + "metric": "packet_counter_unicast_in", + "label": "ether14", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether20", + "metric": "interface_oper_status", + "label": "ether17", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_broadcast_out", + "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether24", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_multicast_in", + "label": "ether16", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether31", + "metric": "error_counter_out", + "label": "ether26", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether14", - "value": 61152, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_multicast_in", + "label": "ether27", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether24", + "metric": "packet_counter_broadcast_in", + "label": "ether5", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether1", + "metric": "error_counter_out", + "label": "ether9", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether5", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_out", + "label": "ether11", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "ether8", + "label": "ether32", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether10", + "metric": "interface_maxspeed_out", + "label": "ether6", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether21", + "metric": "packet_counter_multicast_out", + "label": "ether8", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", + "metric": "packet_counter_discard_in", "label": "ether12", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether12", - "value": 549, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "ether22", + "value": 61152, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether15", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether13", + "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", + "metric": "interface_admin_status", "label": "ether16", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_discard_in", - "label": "ether3", + "label": "ether21", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether12", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether3", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_discard_out", - "label": "ether27", + "label": "ether13", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_oper_status", - "label": "ether6", + "label": "ether18", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether4", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether24", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether24", + "metric": "error_counter_in", + "label": "ether23", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether3", - "value": 549, + "metric": "packet_counter_multicast_out", + "label": "ether6", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether12", - "value": 61488, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_in", + "label": "ether7", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether17", + "metric": "packet_counter_broadcast_in", + "label": "ether10", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether22", - "value": 61152, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether17", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", + "metric": "packet_counter_unicast_in", "label": "ether23", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_admin_status", - "label": "ether12", + "label": "ether31", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether13", + "metric": "traffic_counter_out", + "label": "ether1", + "value": 3121399, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_multicast_in", + "label": "ether10", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether31", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "error_counter_in", + "label": "ether22", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_discard_out", - "label": "ether32", + "label": "ether23", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether17", + "metric": "error_counter_out", + "label": "ether6", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether27", - "value": 61152, + "metric": "packet_counter_discard_in", + "label": "ether28", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_maxspeed_in", + "label": "ether28", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether27", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether30", + "value": 546, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether9", + "metric": "packet_counter_broadcast_in", + "label": "ether3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether10", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether11", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether11", + "metric": "packet_counter_broadcast_in", + "label": "ether20", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether22", + "metric": "error_counter_in", + "label": "ether21", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether28", + "metric": "error_counter_in", + "label": "ether32", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether30", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether8", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether6", - "value": 546, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether9", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether11", + "metric": "error_counter_in", + "label": "ether17", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether12", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether29", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_out", - "label": "ether18", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_broadcast_in", - "label": "ether30", + "label": "ether12", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether3", + "metric": "traffic_counter_in", + "label": "ether17", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_out", - "label": "ether5", - "value": 546, + "label": "ether1", + "value": 13374, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether6", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether8", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_discard_in", - "label": "ether11", + "label": "ether10", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_in", - "label": "ether15", + "label": "ether30", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether32", + "metric": "interface_maxspeed_in", + "label": "ether30", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether3", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether11", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_out", - "label": "ether8", + "label": "ether16", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether21", - "value": 549, + "metric": "packet_counter_broadcast_in", + "label": "ether18", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether31", + "metric": "packet_counter_broadcast_in", + "label": "ether24", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_out", + "label": "ether2", + "value": 60939, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_maxspeed_in", "label": "ether10", - "value": 61488, + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether28", + "metric": "packet_counter_broadcast_out", + "label": "ether29", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether2", + "metric": "interface_admin_status", + "label": "ether28", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether10", - "value": 1000000000, + "metric": "traffic_counter_in", + "label": "ether29", + "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_out", - "label": "ether11", + "label": "ether15", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "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_broadcast_out", + "label": "ether16", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether23", + "metric": "interface_admin_status", + "label": "ether17", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether27", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_out", + "label": "ether19", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_in", - "label": "ether28", + "label": "ether7", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether32", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether15", + "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether17", + "metric": "packet_counter_broadcast_in", + "label": "ether19", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", + "metric": "traffic_counter_in", "label": "ether20", - "value": 1, - "unit": "", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_multicast_in", - "label": "ether22", "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_admin_status", - "label": "ether25", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_in", - "label": "ether27", + "label": "ether16", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether5", + "metric": "packet_counter_discard_in", + "label": "ether20", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether9", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether20", + "value": 549, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "traffic_counter_out", - "label": "ether24", - "value": 61152, - "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether1", - "value": 1158, + "metric": "error_counter_out", + "label": "ether23", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether24", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_out", + "label": "ether7", + "value": 546, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_discard_out", - "label": "ether5", + "label": "ether21", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether13", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "ether21", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_in", - "label": "ether24", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "traffic_counter_out", "label": "ether1", - "value": 3121399, - "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_discard_in", - "label": "ether14", - "value": 0, + "value": 1158, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether16", + "metric": "packet_counter_discard_out", + "label": "ether3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether22", + "metric": "packet_counter_discard_out", + "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether27", + "metric": "packet_counter_discard_out", + "label": "ether5", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether29", + "metric": "packet_counter_broadcast_out", + "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether6", + "metric": "packet_counter_discard_out", + "label": "ether25", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "traffic_counter_out", - "label": "ether8", - "value": 60606, - "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_unicast_out", - "label": "ether18", - "value": 549, - "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_discard_in", - "label": "ether19", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_multicast_in", - "label": "ether21", + "label": "ether29", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, - { - "metric": "packet_counter_broadcast_in", - "label": "ether23", - "value": 0, + { + "metric": "packet_counter_unicast_out", + "label": "ether29", + "value": 546, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether12", + "metric": "error_counter_in", + "label": "ether15", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether23", + "metric": "packet_counter_discard_in", + "label": "ether19", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether32", + "metric": "packet_counter_unicast_in", + "label": "ether21", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether2", + "metric": "error_counter_out", + "label": "ether24", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_discard_out", - "label": "ether22", + "label": "ether6", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether26", + "metric": "interface_oper_status", + "label": "ether10", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_out", - "label": "ether6", + "label": "ether15", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_broadcast_in", - "label": "ether8", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_out", - "label": "ether9", - "value": 546, + "label": "ether21", + "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether10", - "value": 549, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_in", + "label": "ether5", + "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether21", - "value": 61488, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_in", + "label": "ether16", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether22", + "metric": "packet_counter_multicast_out", + "label": "ether20", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether31", + "metric": "packet_counter_broadcast_out", + "label": "ether22", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether32", + "metric": "packet_counter_discard_out", + "label": "ether1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether7", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "traffic_counter_in", + "label": "ether6", + "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether7", - "value": 60606, + "metric": "interface_maxspeed_in", + "label": "ether6", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_out", - "label": "ether4", + "label": "ether28", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether19", + "metric": "packet_counter_multicast_in", + "label": "ether13", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_discard_out", - "label": "ether23", + "label": "ether20", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether30", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_in", + "label": "ether25", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether6", + "metric": "error_counter_in", + "label": "ether27", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether13", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether4", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether20", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_out", + "label": "ether8", + "value": 546, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_in", - "label": "ether21", + "label": "ether31", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether26", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether10", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether27", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether17", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether3", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_in", + "label": "ether26", + "value": 0, + "unit": "c", + "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": "ether27", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", + "metric": "error_counter_in", "label": "ether11", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_out", - "label": "ether21", + "label": "ether11", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether21", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether11", + "value": 546, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether27", + "metric": "packet_counter_discard_out", + "label": "ether19", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether32", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_in", + "label": "ether31", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether1", + "metric": "packet_counter_broadcast_in", + "label": "ether32", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "error_counter_out", "label": "ether10", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether20", - "value": 61488, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_out", + "label": "ether12", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether28", + "metric": "interface_maxspeed_out", + "label": "ether19", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "traffic_counter_out", - "label": "ether13", - "value": 61488, - "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_oper_status", - "label": "ether19", + "label": "ether20", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether22", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether23", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether29", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "ether24", + "value": 61152, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether8", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "error_counter_out", + "label": "ether25", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether10", + "metric": "error_counter_in", + "label": "ether20", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether17", - "value": 0, + "metric": "packet_counter_unicast_out", + "label": "ether25", + "value": 546, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether18", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "error_counter_in", + "label": "ether3", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether20", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_out", + "label": "ether8", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether23", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_in", + "label": "ether11", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether32", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "ether13", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether6", + "metric": "packet_counter_unicast_in", + "label": "ether12", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether9", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_in", + "label": "ether22", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_broadcast_in", - "label": "ether10", + "label": "ether29", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether14", + "metric": "packet_counter_multicast_out", + "label": "ether7", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether19", - "value": 549, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_out", + "label": "ether12", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether22", + "metric": "packet_counter_discard_out", + "label": "ether15", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether3", + "metric": "packet_counter_multicast_in", + "label": "ether30", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether9", + "metric": "packet_counter_broadcast_in", + "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", + "metric": "packet_counter_unicast_out", "label": "ether12", - "value": 0, + "value": 549, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "ether6", + "label": "ether11", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether16", + "metric": "interface_admin_status", + "label": "ether18", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_oper_status", + "label": "ether21", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_unicast_in", + "label": "ether24", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether28", + "metric": "packet_counter_multicast_out", + "label": "ether32", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_in", - "label": "ether4", + "label": "ether29", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether12", + "metric": "packet_counter_unicast_in", + "label": "ether13", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether17", - "value": 1000000000, + "metric": "traffic_counter_out", + "label": "ether14", + "value": 61152, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether18", + "metric": "error_counter_out", + "label": "ether20", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether23", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_out", + "label": "ether24", + "value": 546, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether25", + "metric": "packet_counter_unicast_in", + "label": "ether5", "value": 0, "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_maxspeed_out", - "label": "ether12", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether15", + "metric": "error_counter_out", + "label": "ether8", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether18", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "traffic_counter_in", + "label": "ether2", + "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_in", - "label": "ether8", + "label": "ether19", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_out", - "label": "ether14", + "label": "ether19", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "traffic_counter_in", - "label": "ether23", + "label": "ether21", "value": 0, "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "error_counter_in", - "label": "ether7", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether18", + "metric": "packet_counter_unicast_in", + "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "ether4", + "label": "ether15", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether13", + "metric": "packet_counter_discard_in", + "label": "ether18", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether17", + "metric": "packet_counter_broadcast_out", + "label": "ether21", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether18", + "metric": "traffic_counter_in", + "label": "ether22", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether24", + "metric": "interface_oper_status", + "label": "ether1", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_multicast_out", + "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether25", + "metric": "packet_counter_broadcast_out", + "label": "ether12", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether6", + "metric": "packet_counter_multicast_out", + "label": "ether21", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether7", + "metric": "packet_counter_discard_in", + "label": "ether1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether16", - "value": 549, + "metric": "error_counter_out", + "label": "ether14", + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether17", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether27", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether25", - "value": 61152, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_out", + "label": "ether30", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether27", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_out", + "label": "ether20", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether29", - "value": 61152, + "metric": "interface_maxspeed_in", + "label": "ether1", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether4", - "value": 60939, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_broadcast_out", + "label": "ether6", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether9", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_unicast_in", + "label": "ether25", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_admin_status", - "label": "ether31", + "label": "ether27", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether21", + "metric": "packet_counter_discard_out", + "label": "ether28", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether28", + "metric": "interface_oper_status", + "label": "ether3", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "packet_counter_discard_in", + "label": "ether14", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether6", + "metric": "packet_counter_broadcast_out", + "label": "ether18", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether12", + "metric": "packet_counter_multicast_in", + "label": "ether21", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether26", + "metric": "interface_maxspeed_in", + "label": "ether3", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "error_counter_out", - "label": "ether5", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether5", + "metric": "error_counter_in", + "label": "ether6", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_out", - "label": "ether19", + "label": "ether12", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_oper_status", - "label": "ether26", + "label": "ether23", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether12", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "ether26", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether16", + "metric": "packet_counter_multicast_out", + "label": "ether27", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether16", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_out", + "label": "ether29", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether17", - "value": 61152, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether7", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether30", - "value": 546, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether9", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether2", + "metric": "traffic_counter_in", + "label": "ether11", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether10", + "metric": "packet_counter_broadcast_out", + "label": "ether13", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_broadcast_in", - "label": "ether2", + "label": "ether30", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether8", + "metric": "error_counter_in", + "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_maxspeed_in", - "label": "ether18", + "label": "ether4", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether20", + "metric": "packet_counter_discard_out", + "label": "ether14", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether7", + "metric": "packet_counter_discard_in", + "label": "ether15", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether18", + "metric": "packet_counter_multicast_in", + "label": "ether9", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether28", - "value": 0, + "metric": "interface_maxspeed_in", + "label": "ether31", + "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_admin_status", - "label": "ether30", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether5", + "metric": "packet_counter_unicast_in", + "label": "ether6", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether19", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "ether16", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether1", + "metric": "interface_oper_status", + "label": "ether27", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether6", + "metric": "packet_counter_unicast_in", + "label": "ether9", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether13", + "metric": "packet_counter_multicast_in", + "label": "ether18", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether29", + "metric": "packet_counter_broadcast_in", + "label": "ether23", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether4", + "metric": "traffic_counter_in", + "label": "ether25", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether4", + "metric": "error_counter_out", + "label": "ether1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether5", + "metric": "packet_counter_broadcast_in", + "label": "ether15", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether25", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether26", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_multicast_out", - "label": "ether31", + "label": "ether30", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether9", + "metric": "packet_counter_multicast_in", + "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether19", + "metric": "packet_counter_multicast_in", + "label": "ether5", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether26", + "metric": "packet_counter_unicast_in", + "label": "ether15", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether30", + "metric": "packet_counter_discard_out", + "label": "ether32", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_maxspeed_in", + "label": "ether19", "value": 1000000000, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_out", - "label": "ether11", + "label": "ether23", "value": 546, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether22", + "metric": "interface_admin_status", + "label": "ether1", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether26", + "metric": "packet_counter_multicast_out", + "label": "ether1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "interface_admin_status", - "label": "ether4", + "label": "ether7", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether31", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "traffic_counter_out", + "label": "ether8", + "value": 60606, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether25", + "metric": "packet_counter_discard_out", + "label": "ether10", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether27", - "value": 1, - "unit": "", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_discard_in", - "label": "ether29", + "metric": "traffic_counter_in", + "label": "ether10", "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_oper_status", - "label": "ether29", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether30", + "metric": "packet_counter_discard_out", + "label": "ether22", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether22", + "metric": "packet_counter_discard_out", + "label": "ether31", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether24", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether19", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether27", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether25", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null } @@ -5142,7 +7190,7 @@ "messages": [ { "status": 0, - "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"ether1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether1\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:0F:6E:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"2\",\"ifDescr\":\"ether2\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether2\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:4E:4A:01\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"3\",\"ifDescr\":\"ether3\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether3\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:42:91:02\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"4\",\"ifDescr\":\"ether4\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether4\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:F1:7C:03\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"5\",\"ifDescr\":\"ether5\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether5\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:F3:22:04\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"6\",\"ifDescr\":\"ether6\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether6\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:B3:D8:05\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"7\",\"ifDescr\":\"ether7\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether7\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:66:B3:06\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"8\",\"ifDescr\":\"ether8\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether8\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:02:AB:07\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"9\",\"ifDescr\":\"ether9\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether9\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:1A:DE:08\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"10\",\"ifDescr\":\"ether10\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether10\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:AC:54:09\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"11\",\"ifDescr\":\"ether11\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether11\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:07:68:0A\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"12\",\"ifDescr\":\"ether12\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether12\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:FC:A6:0B\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"13\",\"ifDescr\":\"ether13\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether13\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:F1:5D:0C\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"14\",\"ifDescr\":\"ether14\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether14\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:DC:6D:0D\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"15\",\"ifDescr\":\"ether15\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether15\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:E7:61:0E\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"16\",\"ifDescr\":\"ether16\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether16\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:CD:D0:0F\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"17\",\"ifDescr\":\"ether17\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether17\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:16:C8:10\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"18\",\"ifDescr\":\"ether18\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether18\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:44:59:11\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"19\",\"ifDescr\":\"ether19\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether19\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:48:AF:12\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"20\",\"ifDescr\":\"ether20\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether20\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:30:52:13\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"21\",\"ifDescr\":\"ether21\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether21\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:CA:6D:14\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"22\",\"ifDescr\":\"ether22\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether22\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:9B:97:15\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"23\",\"ifDescr\":\"ether23\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether23\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:30:64:16\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"24\",\"ifDescr\":\"ether24\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether24\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:70:D2:17\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"25\",\"ifDescr\":\"ether25\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether25\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:0D:F4:18\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"26\",\"ifDescr\":\"ether26\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether26\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:46:A0:19\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"27\",\"ifDescr\":\"ether27\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether27\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:6F:A8:1A\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"28\",\"ifDescr\":\"ether28\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether28\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:B8:E6:1B\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"29\",\"ifDescr\":\"ether29\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether29\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:FB:BA:1C\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"30\",\"ifDescr\":\"ether30\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether30\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:76:D5:1D\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"31\",\"ifDescr\":\"ether31\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether31\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:9F:4E:1E\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"32\",\"ifDescr\":\"ether32\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether32\",\"ifAlias\":\"\",\"ifPhysAddress\":\"52:54:00:FD:4E:1F\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"}]" + "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}]" } ] }, diff --git a/test/testdata/devices/routeros/CHR_2/test_data.json b/test/testdata/devices/routeros/CHR_2/test_data.json index fa6686a..24d4cb7 100644 --- a/test/testdata/devices/routeros/CHR_2/test_data.json +++ b/test/testdata/devices/routeros/CHR_2/test_data.json @@ -18,92 +18,100 @@ "status_code": 0, "performance_data": [ { - "metric": "interface_maxspeed_out", - "label": "ether1", - "value": 1000000000, - "unit": "B", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "error_counter_out", - "label": "ether3", + "metric": "packet_counter_unicast_out", + "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "packet_counter_unicast_in", - "label": "ether3", + "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether4", - "value": 1, - "unit": "", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_multicast_in", + "metric": "packet_counter_broadcast_out", "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether2", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_admin_status", + "label": "ether1", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether4", + "metric": "interface_maxspeed_out", + "label": "ether3", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether3", + "metric": "packet_counter_multicast_in", + "label": "ether1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", + "metric": "packet_counter_discard_in", "label": "ether3", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -112,288 +120,432 @@ "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether4", + "metric": "error_counter_out", + "label": "ether1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", + "metric": "packet_counter_discard_out", "label": "ether1", - "value": 191167640, + "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", - "label": "ether1", + "metric": "error_counter_in", + "label": "ether3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", + "metric": "interface_admin_status", "label": "ether2", - "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether4", + "metric": "interface_maxspeed_in", + "label": "ether3", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "interface_maxspeed_out", "label": "ether1", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", + "metric": "error_counter_in", "label": "ether2", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", + "metric": "packet_counter_discard_out", "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether2", + "metric": "packet_counter_multicast_out", + "label": "ether3", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "packet_counter_broadcast_in", "label": "ether3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_out", - "label": "ether3", + "metric": "packet_counter_multicast_in", + "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether4", + "metric": "packet_counter_unicast_in", + "label": "ether3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether1", + "metric": "interface_admin_status", + "label": "ether4", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", + "metric": "packet_counter_discard_out", "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "packet_counter_unicast_out", "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether4", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether2", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", - "label": "ether4", + "metric": "packet_counter_multicast_in", + "label": "ether2", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "interface_maxspeed_out", + "label": "ether2", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { "metric": "error_counter_out", - "label": "ether1", + "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether1", + "metric": "packet_counter_discard_out", + "label": "ether3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", - "label": "ether1", + "metric": "traffic_counter_in", + "label": "ether3", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether1", - "value": 1176294015, + "metric": "traffic_counter_in", + "label": "ether4", + "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_out", - "label": "ether2", + "metric": "traffic_counter_out", + "label": "ether4", "value": 0, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "error_counter_in", + "label": "ether1", + "value": 191167640, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", + "metric": "traffic_counter_out", "label": "ether1", - "value": 1000000000, + "value": 1176294015, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether2", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "interface_maxspeed_in", + "label": "ether1", + "value": 1000000000, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_oper_status", - "label": "ether3", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_multicast_out", + "label": "ether4", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", + "metric": "packet_counter_broadcast_in", "label": "ether4", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_admin_status", - "label": "ether1", - "value": 1, - "unit": "", - "warn": null, - "crit": null, + "metric": "packet_counter_discard_in", + "label": "ether4", + "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether1", + "metric": "interface_maxspeed_in", + "label": "ether4", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -402,18 +554,40 @@ "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_in", - "label": "ether2", + "metric": "interface_admin_status", + "label": "ether3", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "traffic_counter_out", + "label": "ether3", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -422,38 +596,68 @@ "label": "ether3", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether4", + "metric": "packet_counter_unicast_in", + "label": "ether1", + "value": 3528563, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "error_counter_out", + "label": "ether3", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_out", - "label": "ether4", + "metric": "packet_counter_unicast_out", + "label": "ether3", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", + "metric": "interface_oper_status", "label": "ether1", - "value": 724932470, - "unit": "B", - "warn": null, - "crit": null, + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -462,58 +666,96 @@ "label": "ether1", "value": 4243004, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether3", + "metric": "packet_counter_multicast_out", + "label": "ether1", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", - "label": "ether1", + "metric": "packet_counter_multicast_out", + "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_out", + "metric": "packet_counter_broadcast_out", "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "interface_maxspeed_in", + "metric": "packet_counter_broadcast_out", "label": "ether3", "value": 0, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, + "min": null, + "max": null + }, + { + "metric": "traffic_counter_in", + "label": "ether1", + "value": 724932470, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_discard_in", - "label": "ether2", + "metric": "packet_counter_broadcast_in", + "label": "ether1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, @@ -522,138 +764,152 @@ "label": "ether2", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_out", + "metric": "packet_counter_broadcast_in", "label": "ether2", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", - "label": "ether3", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "interface_admin_status", + "metric": "interface_oper_status", "label": "ether3", "value": 1, "unit": "", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "error_counter_in", "label": "ether4", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_unicast_in", - "label": "ether1", - "value": 3528563, - "unit": "c", - "warn": null, - "crit": null, + "metric": "interface_oper_status", + "label": "ether4", + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_out", - "label": "ether2", + "metric": "packet_counter_broadcast_out", + "label": "ether1", "value": 0, - "unit": "B", - "warn": null, - "crit": null, + "unit": "c", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", + "metric": "interface_oper_status", "label": "ether2", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "value": 1, + "unit": "", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "traffic_counter_in", - "label": "ether3", + "metric": "traffic_counter_out", + "label": "ether2", "value": 0, "unit": "B", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_multicast_out", - "label": "ether3", + "metric": "packet_counter_discard_in", + "label": "ether1", "value": 0, "unit": "c", - "warn": null, - "crit": null, + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "error_counter_in", + "metric": "interface_maxspeed_in", "label": "ether2", "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_discard_out", - "label": "ether3", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, - "min": null, - "max": null - }, - { - "metric": "packet_counter_broadcast_out", - "label": "ether3", - "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null }, { - "metric": "packet_counter_broadcast_in", + "metric": "interface_maxspeed_out", "label": "ether4", "value": 0, - "unit": "c", - "warn": null, - "crit": null, + "unit": "B", + "thresholds": { + "warningMin": null, + "warningMax": null, + "criticalMin": null, + "criticalMax": null + }, "min": null, "max": null } @@ -662,7 +918,7 @@ "messages": [ { "status": 0, - "message": "[{\"ifIndex\":\"1\",\"ifDescr\":\"ether1\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether1\",\"ifAlias\":\"\",\"ifPhysAddress\":\"50:00:00:01:00:00\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"2\",\"ifDescr\":\"ether2\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether2\",\"ifAlias\":\"\",\"ifPhysAddress\":\"50:00:00:01:00:01\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"3\",\"ifDescr\":\"ether3\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether3\",\"ifAlias\":\"\",\"ifPhysAddress\":\"50:00:00:01:00:02\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"},{\"ifIndex\":\"4\",\"ifDescr\":\"ether4\",\"ifType\":\"ethernetCsmacd\",\"ifName\":\"ether4\",\"ifAlias\":\"\",\"ifPhysAddress\":\"50:00:00:01:00:03\",\"ifAdminStatus\":\"up\",\"ifOperStatus\":\"up\",\"subType\":\"\"}]" + "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}]" } ] }, From ffd0b1b9085771da509dbeecbf0e1f6104e47c9a Mon Sep 17 00:00:00 2001 From: babos77 Date: Thu, 25 Mar 2021 15:10:40 +0100 Subject: [PATCH 04/11] fix empty array return --- core/communicator/adva.go | 62 +++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/core/communicator/adva.go b/core/communicator/adva.go index 40f431c..7bec485 100644 --- a/core/communicator/adva.go +++ b/core/communicator/adva.go @@ -43,7 +43,7 @@ func (c *advaCommunicator) GetInterfaces(ctx context.Context) ([]device.Interfac func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ([]device.Interface, error) { con, ok := network.DeviceConnectionFromContext(ctx) if !ok || con.SNMP == nil { - return []device.Interface{}, errors.New("no device connection available") + return nil, errors.New("no device connection available") } specialInterfacesRaw, err := getValuesBySNMPWalk(ctx, deviceClassOIDs{ @@ -78,7 +78,7 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( }) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to read rx/tx power of ports") + return nil, errors.Wrap(err, "failed to read rx/tx power of ports") } for i, networkInterface := range interfaces { @@ -86,7 +86,7 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( err := addSpecialInterfacesValuesToInterface("dwdm", &interfaces[i], specialValues) if err != nil { log.Ctx(ctx).Trace().Err(err).Msg("can't parse oid values into Interface struct") - return []device.Interface{}, errors.Wrap(err, "can't parse oid values into Interface struct") + return nil, errors.Wrap(err, "can't parse oid values into Interface struct") } } } @@ -122,12 +122,12 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( if err == nil && len(res) == 1 { valString, err := res[0].GetValueString() if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get corrected 15m bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) + return nil, errors.Wrap(err, "failed to get corrected 15m bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) } val, err := strconv.ParseFloat(valString, 64) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to parse corrected 15m bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) + return nil, errors.Wrap(err, "failed to parse corrected 15m bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) } if interfaces[i].DWDM == nil { @@ -145,12 +145,12 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( if err == nil && len(res) == 1 { valString, err := res[0].GetValueString() if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get uncorrected 15m bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) + return nil, errors.Wrap(err, "failed to get uncorrected 15m bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) } val, err := strconv.ParseFloat(valString, 64) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to parse uncorrected 15m bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) + return nil, errors.Wrap(err, "failed to parse uncorrected 15m bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) } if interfaces[i].DWDM == nil { @@ -168,12 +168,12 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( if err == nil && len(res) == 1 { valString, err := res[0].GetValueString() if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get corrected 1d bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) + return nil, errors.Wrap(err, "failed to get corrected 1d bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) } val, err := strconv.ParseFloat(valString, 64) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to parse corrected 1d bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) + return nil, errors.Wrap(err, "failed to parse corrected 1d bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) } if interfaces[i].DWDM == nil { @@ -191,12 +191,12 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( if err == nil && len(res) == 1 { valString, err := res[0].GetValueString() if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get uncorrected 1d bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) + return nil, errors.Wrap(err, "failed to get uncorrected 1d bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) } val, err := strconv.ParseFloat(valString, 64) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to parse uncorrected 1d bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) + return nil, errors.Wrap(err, "failed to parse uncorrected 1d bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) } if interfaces[i].DWDM == nil { @@ -217,7 +217,7 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( func advaGetChannels(ctx context.Context, interfaces []device.Interface) ([]device.Interface, error) { con, ok := network.DeviceConnectionFromContext(ctx) if !ok || con.SNMP == nil { - return []device.Interface{}, errors.New("no device connection available") + return nil, errors.New("no device connection available") } facilityPhysInstValueInputPower := ".1.3.6.1.4.1.2544.1.11.11.7.2.1.1.1.2" @@ -235,11 +235,11 @@ func advaGetChannels(ctx context.Context, interfaces []device.Interface) ([]devi if s := strings.Split(strings.Trim(subtree, "."), "."); len(s) > 2 && s[len(s)-2] != "0" { val, err := res.GetValueString() if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get rx value of channel "+subtree) + return nil, errors.Wrap(err, "failed to get rx value of channel "+subtree) } a, err := decimal.NewFromString(val) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to parse rx value of channel "+subtree) + return nil, errors.Wrap(err, "failed to parse rx value of channel "+subtree) } b := decimal.NewFromFloat(0.1) valFin, _ := a.Mul(b).Float64() @@ -255,20 +255,20 @@ func advaGetChannels(ctx context.Context, interfaces []device.Interface) ([]devi for _, subtree := range subtrees { res, err := con.SNMP.SnmpClient.SNMPGet(ctx, ".1.3.6.1.4.1.2544.1.11.11.7.2.1.1.1.1"+subtree) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get facilityPhysInstValueOutputPower for subtree "+subtree) + return nil, errors.Wrap(err, "failed to get facilityPhysInstValueOutputPower for subtree "+subtree) } if len(res) != 1 { - return []device.Interface{}, errors.New("failed to get tx value of subtree " + subtree) + return nil, errors.New("failed to get tx value of subtree " + subtree) } val, err := res[0].GetValueString() if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get tx value of subtree "+subtree) + return nil, errors.Wrap(err, "failed to get tx value of subtree "+subtree) } valueDecimal, err := decimal.NewFromString(val) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to parse tx value of subtree "+subtree) + return nil, errors.Wrap(err, "failed to parse tx value of subtree "+subtree) } multiplier := decimal.NewFromFloat(0.1) valFin, _ := valueDecimal.Mul(multiplier).Float64() @@ -278,11 +278,11 @@ func advaGetChannels(ctx context.Context, interfaces []device.Interface) ([]devi p := strings.Split(strings.ReplaceAll(strings.Trim(subtree, "."), "33152", "N"), ".") if len(p) < 3 { - return []device.Interface{}, errors.New("invalid channel identifier") + return nil, errors.New("invalid channel identifier") } regex, err := regexp.Compile("-" + p[0] + "-" + p[1] + "-" + p[2]) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to build regex") + return nil, errors.Wrap(err, "failed to build regex") } for j, interf := range interfaces { @@ -303,13 +303,13 @@ func advaGetChannels(ctx context.Context, interfaces []device.Interface) ([]devi func advaGet100GInterfaces(ctx context.Context, interfaces []device.Interface) ([]device.Interface, error) { con, ok := network.DeviceConnectionFromContext(ctx) if !ok || con.SNMP == nil { - return []device.Interface{}, errors.New("no device connection available") + return nil, errors.New("no device connection available") } ports := ".1.3.6.1.4.1.2544.1.11.7.2.7.1.6" portValues, err := con.SNMP.SnmpClient.SNMPWalk(ctx, ports) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to walk ports") + return nil, errors.Wrap(err, "failed to walk ports") } var subtrees []string @@ -319,7 +319,7 @@ func advaGet100GInterfaces(ctx context.Context, interfaces []device.Interface) ( for _, res := range portValues { portName, err := res.GetValueString() if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get snmp response") + return nil, errors.Wrap(err, "failed to get snmp response") } if strings.HasPrefix(portName, "OTL-") { @@ -327,21 +327,21 @@ func advaGet100GInterfaces(ctx context.Context, interfaces []device.Interface) ( rxValue, err := con.SNMP.SnmpClient.SNMPGet(ctx, ".1.3.6.1.4.1.2544.1.11.7.7.2.3.1.2"+subtree) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get rx value of port "+portName) + return nil, errors.Wrap(err, "failed to get rx value of port "+portName) } if len(rxValue) != 1 { - return []device.Interface{}, errors.Wrap(err, "failed to get rx value of port "+portName) + return nil, errors.Wrap(err, "failed to get rx value of port "+portName) } rxValueString, err := rxValue[0].GetValueString() if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get snmp response") + return nil, errors.Wrap(err, "failed to get snmp response") } valueDecimal, err := decimal.NewFromString(rxValueString) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to parse rx value of subtree "+subtree) + return nil, errors.Wrap(err, "failed to parse rx value of subtree "+subtree) } multiplier := decimal.NewFromFloat(0.1) valFin, _ := valueDecimal.Mul(multiplier).Float64() @@ -360,20 +360,20 @@ func advaGet100GInterfaces(ctx context.Context, interfaces []device.Interface) ( for _, subtree := range subtrees { res, err := con.SNMP.SnmpClient.SNMPGet(ctx, ".1.3.6.1.4.1.2544.1.11.7.7.2.3.1.1"+subtree) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get tx value for subtree "+subtree) + return nil, errors.Wrap(err, "failed to get tx value for subtree "+subtree) } if len(res) != 1 { - return []device.Interface{}, errors.New("failed to get tx value of subtree " + subtree) + return nil, errors.New("failed to get tx value of subtree " + subtree) } val, err := res[0].GetValueString() if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to get tx value of subtree "+subtree) + return nil, errors.Wrap(err, "failed to get tx value of subtree "+subtree) } a, err := decimal.NewFromString(val) if err != nil { - return []device.Interface{}, errors.Wrap(err, "failed to parse tx value of subtree "+subtree) + return nil, errors.Wrap(err, "failed to parse tx value of subtree "+subtree) } b := decimal.NewFromFloat(0.1) valFin, _ := a.Mul(b).Float64() From 82d452c97085325eeaed7397f1a70bd43b712905 Mon Sep 17 00:00:00 2001 From: Toberd Date: Thu, 25 Mar 2021 16:42:06 +0100 Subject: [PATCH 05/11] Added timos (nokia-sap) --- config/device-classes/generic/timos.yaml | 9 +++ .../device_class_to_code_communicator.go | 2 + core/communicator/timos.go | 63 +++++++++++++++++++ core/device/device.go | 11 ++++ ...check_interface_metrics_request_process.go | 24 +++++++ 5 files changed, 109 insertions(+) create mode 100644 config/device-classes/generic/timos.yaml create mode 100644 core/communicator/timos.go diff --git a/config/device-classes/generic/timos.yaml b/config/device-classes/generic/timos.yaml new file mode 100644 index 0000000..7b175bb --- /dev/null +++ b/config/device-classes/generic/timos.yaml @@ -0,0 +1,9 @@ +name: timos + +match: + conditions: + - match_mode: startsWith + type: SysObjectID + values: + - ".1.3.6.1.4.1.6527" + logical_operator: OR \ No newline at end of file diff --git a/core/communicator/device_class_to_code_communicator.go b/core/communicator/device_class_to_code_communicator.go index 273d0ab..512c24a 100644 --- a/core/communicator/device_class_to_code_communicator.go +++ b/core/communicator/device_class_to_code_communicator.go @@ -23,6 +23,8 @@ func getCodeCommunicator(classIdentifier string, rel *relatedNetworkDeviceCommun return &ekinopsCommunicator{baseCommunicator{rel}}, nil case "adva_fsp3kr7": return &advaCommunicator{baseCommunicator{rel}}, nil + case "timos": + return &timosCommunicator{baseCommunicator{rel}}, nil } return nil, tholaerr.NewNotFoundError(fmt.Sprintf("no communicator found for device class identifier '%s'", classIdentifier)) } diff --git a/core/communicator/timos.go b/core/communicator/timos.go new file mode 100644 index 0000000..4c9a4be --- /dev/null +++ b/core/communicator/timos.go @@ -0,0 +1,63 @@ +package communicator + +import ( + "context" + "github.com/inexio/thola/core/device" + "github.com/inexio/thola/core/network" + "github.com/pkg/errors" + "strconv" +) + +type timosCommunicator struct { + baseCommunicator +} + +// GetInterfaces returns the interfaces of timetra devices. +func (c *timosCommunicator) GetInterfaces(ctx context.Context) ([]device.Interface, error) { + interfaces, err := c.sub.GetInterfaces(ctx) + if err != nil { + return nil, err + } + + con, ok := network.DeviceConnectionFromContext(ctx) + if !ok || con.SNMP == nil { + return nil, errors.New("no device connection available") + } + + descriptions, _ := con.SNMP.SnmpClient.SNMPWalk(ctx, ".1.3.6.1.4.1.6527.3.1.2.4.3.2.1.5") + inbounds, _ := con.SNMP.SnmpClient.SNMPWalk(ctx, ".1.3.6.1.4.1.6527.6.2.2.2.8.1.1.1.4") + outbounds, _ := con.SNMP.SnmpClient.SNMPWalk(ctx, ".1.3.6.1.4.1.6527.6.2.2.2.8.1.1.1.6") + if len(inbounds) != len(descriptions) || len(outbounds) != len(descriptions) { + return nil, errors.New("snmp tree lengths do not match") + } + for i, response := range descriptions { + valueString, err := response.GetValueString() + if err != nil { + return nil, errors.Wrap(err, "couldn't get string value") + } + if valueString == "" { + continue + } + in, err := inbounds[i].GetValueString() + if err != nil { + return nil, errors.Wrap(err, "couldn't get string value") + } + trafficIn, err := strconv.ParseUint(in, 0, 64) + if err != nil { + return nil, errors.Wrap(err, "failed to parse snmp response") + } + out, err := outbounds[i].GetValueString() + if err != nil { + return nil, errors.Wrap(err, "couldn't get string value") + } + trafficOut, err := strconv.ParseUint(out, 0, 64) + if err != nil { + return nil, errors.Wrap(err, "failed to parse snmp response") + } + interfaces = append(interfaces, device.Interface{ + IfDescr: &valueString, + SAP: &device.SAPInterface{Inbound: &trafficIn, Outbound: &trafficOut}}) + } + + return interfaces, nil +} diff --git a/core/device/device.go b/core/device/device.go index 9516452..dada7b6 100644 --- a/core/device/device.go +++ b/core/device/device.go @@ -120,6 +120,7 @@ type Interface struct { OpticalTransponder *OpticalTransponderInterface `yaml:"optical_transponder,omitempty" json:"optical_transponder,omitempty" xml:"optical_transponder,omitempty"` OpticalAmplifier *OpticalAmplifierInterface `yaml:"optical_amplifier,omitempty" json:"optical_amplifier,omitempty" xml:"optical_amplifier,omitempty"` OpticalOPM *OpticalOPMInterface `yaml:"optical_opm,omitempty" json:"optical_opm,omitempty" xml:"optical_opm,omitempty"` + SAP *SAPInterface `yaml:"sap,omitempty" json:"sap,omitempty" xml:"sap,omitempty"` } // @@ -214,6 +215,16 @@ type OpticalOPMInterface struct { Channels []OpticalChannel `yaml:"channels,omitempty" json:"channels,omitempty" xml:"channels,omitempty" mapstructure:"channels"` } +// SAPInterface +// +// SAPInterface represents a service access point interface. +// +// swagger:model +type SAPInterface struct { + Inbound *uint64 `yaml:"inbound,omitempty" json:"inbound,omitempty" xml:"inbound,omitempty" mapstructure:"inbound"` + Outbound *uint64 `yaml:"outbound,omitempty" json:"outbound,omitempty" xml:"outbound,omitempty" mapstructure:"outbound"` +} + // OpticalChannel // // OpticalChannel represents an optical channel. diff --git a/core/request/check_interface_metrics_request_process.go b/core/request/check_interface_metrics_request_process.go index 13ef3a2..0f6986b 100644 --- a/core/request/check_interface_metrics_request_process.go +++ b/core/request/check_interface_metrics_request_process.go @@ -594,6 +594,30 @@ func addCheckInterfacePerformanceData(interfaces []device.Interface, r *monitori } } } + + //SAP + if i.SAP != nil { + if i.SAP.Inbound != nil { + err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("traffic_counter_in", *i.SAP.Inbound).SetUnit("B").SetLabel(*i.IfDescr)) + if err != nil { + return err + } + err = r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("interface_maxspeed_in", *i.SAP.Inbound).SetUnit("B").SetLabel(*i.IfDescr)) + if err != nil { + return err + } + } + if i.SAP.Outbound != nil { + err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("traffic_counter_out", *i.SAP.Outbound).SetUnit("B").SetLabel(*i.IfDescr)) + if err != nil { + return err + } + err = r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("interface_maxspeed_out", *i.SAP.Outbound).SetUnit("B").SetLabel(*i.IfDescr)) + if err != nil { + return err + } + } + } } return nil } From 2a75cc1f0589141488d9834711b806b944fea246 Mon Sep 17 00:00:00 2001 From: babos77 Date: Fri, 26 Mar 2021 10:19:13 +0100 Subject: [PATCH 06/11] update readme (go 1.16 note) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e8d9ec..3ca96d7 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ It features a check mode which complies with the [monitoring plugins development ## Installation -You can download the latest compiled version for your platform under the "Releases" tab or build it yourself: +You can download the latest compiled version for your platform under the "Releases" tab or build it yourself (requires go 1.16): git clone https://github.com/inexio/thola.git cd thola From b9733aca667d3a82a1789f9a7d3e72c40f9e08ea Mon Sep 17 00:00:00 2001 From: mikameyer Date: Fri, 26 Mar 2021 15:49:14 +0100 Subject: [PATCH 07/11] removed sql builder lib --- core/communicator/adva.go | 2 +- core/database/sqlDB.go | 27 +++++---------------------- go.mod | 1 - go.sum | 2 -- 4 files changed, 6 insertions(+), 26 deletions(-) diff --git a/core/communicator/adva.go b/core/communicator/adva.go index 7bec485..fa89fec 100644 --- a/core/communicator/adva.go +++ b/core/communicator/adva.go @@ -309,7 +309,7 @@ func advaGet100GInterfaces(ctx context.Context, interfaces []device.Interface) ( ports := ".1.3.6.1.4.1.2544.1.11.7.2.7.1.6" portValues, err := con.SNMP.SnmpClient.SNMPWalk(ctx, ports) if err != nil { - return nil, errors.Wrap(err, "failed to walk ports") + log.Ctx(ctx).Trace().Err(err).Msg("failed to walk 100g ports") } var subtrees []string diff --git a/core/database/sqlDB.go b/core/database/sqlDB.go index c343b92..8637ead 100644 --- a/core/database/sqlDB.go +++ b/core/database/sqlDB.go @@ -3,7 +3,6 @@ package database import ( "context" "encoding/json" - "github.com/huandu/go-sqlbuilder" "github.com/inexio/thola/core/device" "github.com/inexio/thola/core/network" "github.com/inexio/thola/core/parser" @@ -11,7 +10,6 @@ import ( "github.com/jmoiron/sqlx" "github.com/pkg/errors" "github.com/rs/zerolog/log" - "strconv" "time" ) @@ -33,8 +31,8 @@ var mysqlSchemaArr = []string{ ip varchar(255) NOT NULL, datatype varchar(255) NOT NULL, data text NOT NULL, - time datetime DEFAULT current_timestamp, - UNIQUE KEY 'unique_entries' (ip, datatype) + time datetime DEFAULT current_timestamp NOT NULL, + CONSTRAINT unique_entries UNIQUE (ip, datatype) );`, `ALTER TABLE cache MODIFY id int(11) NOT NULL AUTO_INCREMENT;`, } @@ -95,16 +93,7 @@ func (d *sqlDatabase) insertReplaceQuery(ctx context.Context, data interface{}, return errors.Wrap(err, "failed to marshall data") } - sb := sqlbuilder.NewInsertBuilder() - sb.ReplaceInto("cache") // works for insert and replace - sb.Cols("ip", "datatype", "data") - sb.Values(ip, dataType, string(JSONData)) - sql, args := sb.Build() - query, err := sqlbuilder.MySQL.Interpolate(sql, args) - if err != nil { - return errors.Wrap(err, "failed to build query") - } - _, err = d.db.ExecContext(ctx, query) + _, err = d.db.ExecContext(ctx, d.db.Rebind("REPLACE INTO cache (ip, datatype, data) VALUES (?, ?, ?);"), ip, dataType, string(JSONData)) if err != nil { return errors.Wrap(err, "failed to exec sql query") } @@ -127,20 +116,14 @@ func (d *sqlDatabase) getEntry(ctx context.Context, dest interface{}, ip, dataTy return errors.Wrap(err, "failed to parse timestamp") } if time.Since(t) > cacheExpiration { - _, err = d.db.Exec(d.db.Rebind("DELETE FROM cache WHERE ip=? AND datatype=?;"), ip, "IdentifyResponse") + _, err = d.db.ExecContext(ctx, d.db.Rebind("DELETE FROM cache WHERE ip=? AND datatype=?;"), ip, "IdentifyResponse") if err != nil { return errors.Wrap(err, "failed to delete expired cache element") } return tholaerr.NewNotFoundError("found only expired cache entry") } - dataString := `"` + res.Data + `"` - dataString, err = strconv.Unquote(dataString) - if err != nil { - return errors.Wrap(err, "failed to unquote connection data") - } - - err = json.Unmarshal([]byte(dataString), dest) + err = json.Unmarshal([]byte(res.Data), dest) if err != nil { return errors.Wrap(err, "failed to unmarshall entry data") } diff --git a/go.mod b/go.mod index 7303729..4780dc6 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,6 @@ require ( github.com/go-sql-driver/mysql v1.5.0 github.com/google/go-cmp v0.5.4 github.com/gosnmp/gosnmp v1.30.0 - github.com/huandu/go-sqlbuilder v1.8.0 github.com/inexio/go-monitoringplugin v1.0.6 github.com/jmoiron/sqlx v1.2.0 github.com/labstack/echo/v4 v4.2.1 diff --git a/go.sum b/go.sum index 00864cf..9a58321 100644 --- a/go.sum +++ b/go.sum @@ -150,8 +150,6 @@ github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0m github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/huandu/go-sqlbuilder v1.8.0 h1:1KP21dzROt03II0aoX/rD2Y6TX1VCIixSX5mvkxKGPk= -github.com/huandu/go-sqlbuilder v1.8.0/go.mod h1:cM38aLPrMXaGxsUkHFh1e2skthPnQRPK7h8//X5LQMc= 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.6 h1:tnxWon7lMtbDjWf2LdvUiMcaJ8DnnJ8CqeF462qJ5bg= From 9d8e6747b5951fa0b49de1ce019893abe0205dec Mon Sep 17 00:00:00 2001 From: Toberd Date: Fri, 26 Mar 2021 16:25:15 +0100 Subject: [PATCH 08/11] Changed sap read out --- core/communicator/timos.go | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/core/communicator/timos.go b/core/communicator/timos.go index 4c9a4be..9fd3dfa 100644 --- a/core/communicator/timos.go +++ b/core/communicator/timos.go @@ -6,6 +6,7 @@ import ( "github.com/inexio/thola/core/network" "github.com/pkg/errors" "strconv" + "strings" ) type timosCommunicator struct { @@ -24,13 +25,12 @@ func (c *timosCommunicator) GetInterfaces(ctx context.Context) ([]device.Interfa return nil, errors.New("no device connection available") } - descriptions, _ := con.SNMP.SnmpClient.SNMPWalk(ctx, ".1.3.6.1.4.1.6527.3.1.2.4.3.2.1.5") - inbounds, _ := con.SNMP.SnmpClient.SNMPWalk(ctx, ".1.3.6.1.4.1.6527.6.2.2.2.8.1.1.1.4") - outbounds, _ := con.SNMP.SnmpClient.SNMPWalk(ctx, ".1.3.6.1.4.1.6527.6.2.2.2.8.1.1.1.6") - if len(inbounds) != len(descriptions) || len(outbounds) != len(descriptions) { - return nil, errors.New("snmp tree lengths do not match") + ports := ".1.3.6.1.4.1.6527.3.1.2.4.3.2.1.5" + descriptions, err := con.SNMP.SnmpClient.SNMPWalk(ctx, ports) + if err != nil { + return nil, errors.Wrap(err, "error during snmp walk") } - for i, response := range descriptions { + for _, response := range descriptions { valueString, err := response.GetValueString() if err != nil { return nil, errors.Wrap(err, "couldn't get string value") @@ -38,19 +38,28 @@ func (c *timosCommunicator) GetInterfaces(ctx context.Context) ([]device.Interfa if valueString == "" { continue } - in, err := inbounds[i].GetValueString() + index := strings.TrimPrefix(response.GetOID(), ports) + in, err := con.SNMP.SnmpClient.SNMPGet(ctx, ".1.3.6.1.4.1.6527.6.2.2.2.8.1.1.1.4"+index) + if err != nil { + return nil, errors.Wrap(err, "error during snmp get") + } + inStr, err := in[0].GetValueString() if err != nil { return nil, errors.Wrap(err, "couldn't get string value") } - trafficIn, err := strconv.ParseUint(in, 0, 64) + trafficIn, err := strconv.ParseUint(inStr, 0, 64) if err != nil { return nil, errors.Wrap(err, "failed to parse snmp response") } - out, err := outbounds[i].GetValueString() + out, err := con.SNMP.SnmpClient.SNMPGet(ctx, ".1.3.6.1.4.1.6527.6.2.2.2.8.1.1.1.6"+index) + if err != nil { + return nil, errors.Wrap(err, "error during snmp get") + } + outStr, err := out[0].GetValueString() if err != nil { return nil, errors.Wrap(err, "couldn't get string value") } - trafficOut, err := strconv.ParseUint(out, 0, 64) + trafficOut, err := strconv.ParseUint(outStr, 0, 64) if err != nil { return nil, errors.Wrap(err, "failed to parse snmp response") } From e6c42b3b796d8cb6c114d42ea4ecb1528a317d73 Mon Sep 17 00:00:00 2001 From: mikameyer Date: Fri, 26 Mar 2021 16:26:42 +0100 Subject: [PATCH 09/11] removed adva 100g rx/tx value and merged into normal rx/tx power --- core/communicator/adva.go | 8 +++--- core/device/device.go | 2 -- ...check_interface_metrics_request_process.go | 25 +++++-------------- 3 files changed, 10 insertions(+), 25 deletions(-) diff --git a/core/communicator/adva.go b/core/communicator/adva.go index fa89fec..42078bf 100644 --- a/core/communicator/adva.go +++ b/core/communicator/adva.go @@ -108,11 +108,11 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( if (rxOK || txOK) && interf.DWDM == nil { interfaces[i].DWDM = &device.DWDMInterface{} } - if rxOK { - interfaces[i].DWDM.RXPower100G = &rxVal + if rxOK && (interfaces[i].DWDM.RXPower == nil || *interfaces[i].DWDM.RXPower == -6553.5) { + interfaces[i].DWDM.RXPower = &rxVal } - if txOK { - interfaces[i].DWDM.TXPower100G = &txVal + if txOK && (interfaces[i].DWDM.TXPower == nil || *interfaces[i].DWDM.TXPower == -6553.5) { + interfaces[i].DWDM.TXPower = &txVal } } diff --git a/core/device/device.go b/core/device/device.go index dada7b6..a249c76 100644 --- a/core/device/device.go +++ b/core/device/device.go @@ -169,8 +169,6 @@ type RadioInterface struct { type DWDMInterface struct { RXPower *float64 `yaml:"rx_power,omitempty" json:"rx_power,omitempty" xml:"rx_power,omitempty" mapstructure:"rx_power"` TXPower *float64 `yaml:"tx_power,omitempty" json:"tx_power,omitempty" xml:"tx_power,omitempty" mapstructure:"tx_power"` - RXPower100G *float64 `yaml:"rx_power_100_g,omitempty" json:"rx_power_100_g,omitempty" xml:"rx_power_100_g,omitempty" mapstructure:"rx_power_100_g"` - TXPower100G *float64 `yaml:"tx_power_100_g,omitempty" json:"tx_power_100_g,omitempty" xml:"tx_power_100_g,omitempty" mapstructure:"tx_power_100_g"` CorrectedFEC []Rate `yaml:"corrected_fec,omitempty" json:"corrected_fec,omitempty" xml:"corrected_fec,omitempty" mapstructure:"corrected_fec"` UncorrectedFEC []Rate `yaml:"uncorrected_fec,omitempty" json:"uncorrected_fec,omitempty" xml:"uncorrected_fec,omitempty" mapstructure:"uncorrected_fec"` Channels []OpticalChannel `yaml:"channels,omitempty" json:"channels,omitempty" xml:"channels,omitempty" mapstructure:"channels"` diff --git a/core/request/check_interface_metrics_request_process.go b/core/request/check_interface_metrics_request_process.go index 88e4ef5..1c6662c 100644 --- a/core/request/check_interface_metrics_request_process.go +++ b/core/request/check_interface_metrics_request_process.go @@ -33,6 +33,12 @@ func (r *CheckInterfaceMetricsRequest) process(ctx context.Context) (Response, e return &CheckResponse{r.mon.GetInfo()}, nil } + err = addCheckInterfacePerformanceData(readInterfacesResponse.Interfaces, r.mon) + if r.mon.UpdateStatusOnError(err, monitoringplugin.UNKNOWN, "error while adding performance data", true) { + r.mon.PrintPerformanceData(false) + return &CheckResponse{r.mon.GetInfo()}, nil + } + if r.PrintInterfaces { var interfaces []interfaceCheckOutput for _, interf := range readInterfacesResponse.Interfaces { @@ -64,11 +70,6 @@ func (r *CheckInterfaceMetricsRequest) process(ctx context.Context) (Response, e r.mon.UpdateStatus(monitoringplugin.OK, string(output)) } - err = addCheckInterfacePerformanceData(readInterfacesResponse.Interfaces, r.mon) - if r.mon.UpdateStatusOnError(err, monitoringplugin.UNKNOWN, "error while adding performance data", true) { - r.mon.PrintPerformanceData(false) - } - return &CheckResponse{r.mon.GetInfo()}, nil } @@ -471,20 +472,6 @@ func addCheckInterfacePerformanceData(interfaces []device.Interface, r *monitori } } - if i.DWDM.RXPower100G != nil { - err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("rx_power_100_g", *i.DWDM.RXPower100G).SetLabel(*i.IfDescr)) - if err != nil { - return err - } - } - - if i.DWDM.TXPower100G != nil { - err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("tx_power_100_g", *i.DWDM.TXPower100G).SetLabel(*i.IfDescr)) - if err != nil { - return err - } - } - for _, rate := range i.DWDM.CorrectedFEC { err := r.AddPerformanceDataPoint(monitoringplugin.NewPerformanceDataPoint("error_rate_corrected_fec_"+rate.Time, rate.Value).SetLabel(*i.IfDescr)) if err != nil { From 121fbcafff9a925669664782208c63f30ae86e97 Mon Sep 17 00:00:00 2001 From: mikameyer Date: Mon, 29 Mar 2021 09:58:35 +0200 Subject: [PATCH 10/11] ekinops port type fix --- core/communicator/ekinops.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/communicator/ekinops.go b/core/communicator/ekinops.go index 47c4648..9e48f6f 100644 --- a/core/communicator/ekinops.go +++ b/core/communicator/ekinops.go @@ -128,8 +128,8 @@ func normalizeEkinopsInterfaces(interfaces []device.Interface) ([]device.Interfa slotNumber := strings.Split(*interf.IfName, "/")[2] moduleName := strings.Split(*interf.IfDescr, "/")[3] - // change ifType of ports of slots > 1 to "opticalChannel" if ifType equals "other", but not OPM8 interfaces - if !(slotNumber == "0" || slotNumber == "1") && interf.IfType != nil && *interf.IfType == "other" && moduleName != "PM_OPM8" { + // change ifType of ports of slots > 0 to "opticalChannel" if ifType equals "other", but not OPM8 interfaces + if slotNumber != "0" && interf.IfType != nil && *interf.IfType == "other" && moduleName != "PM_OPM8" { opticalChannel := "opticalChannel" interf.IfType = &opticalChannel } From 18b5fbac0855b8fe92983abda40a5cb628b082f0 Mon Sep 17 00:00:00 2001 From: mikameyer Date: Tue, 30 Mar 2021 10:25:38 +0200 Subject: [PATCH 11/11] adva removed OTL, TIFI and TIFO interfaces --- core/communicator/adva.go | 157 ++++++++++---------------------------- 1 file changed, 39 insertions(+), 118 deletions(-) diff --git a/core/communicator/adva.go b/core/communicator/adva.go index 42078bf..6fb347d 100644 --- a/core/communicator/adva.go +++ b/core/communicator/adva.go @@ -25,25 +25,21 @@ func (c *advaCommunicator) GetInterfaces(ctx context.Context) ([]device.Interfac return nil, err } - if interfaces, err = advaGetDWDMInterfaces(ctx, interfaces); err != nil { + if err = advaGetDWDMInterfaces(ctx, interfaces); err != nil { return nil, err } - if interfaces, err = advaGetChannels(ctx, interfaces); err != nil { + if err = advaGetChannels(ctx, interfaces); err != nil { return nil, err } - if interfaces, err = advaGet100GInterfaces(ctx, interfaces); err != nil { - return nil, err - } - - return interfaces, nil + return normalizeAdvaInterfaces(interfaces), nil } -func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ([]device.Interface, error) { +func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) error { con, ok := network.DeviceConnectionFromContext(ctx) if !ok || con.SNMP == nil { - return nil, errors.New("no device connection available") + return errors.New("no device connection available") } specialInterfacesRaw, err := getValuesBySNMPWalk(ctx, deviceClassOIDs{ @@ -78,7 +74,7 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( }) if err != nil { - return nil, errors.Wrap(err, "failed to read rx/tx power of ports") + return errors.Wrap(err, "failed to read rx/tx power of ports") } for i, networkInterface := range interfaces { @@ -86,7 +82,7 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( err := addSpecialInterfacesValuesToInterface("dwdm", &interfaces[i], specialValues) if err != nil { log.Ctx(ctx).Trace().Err(err).Msg("can't parse oid values into Interface struct") - return nil, errors.Wrap(err, "can't parse oid values into Interface struct") + return errors.Wrap(err, "can't parse oid values into Interface struct") } } } @@ -122,12 +118,12 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( if err == nil && len(res) == 1 { valString, err := res[0].GetValueString() if err != nil { - return nil, errors.Wrap(err, "failed to get corrected 15m bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) + return errors.Wrap(err, "failed to get corrected 15m bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) } val, err := strconv.ParseFloat(valString, 64) if err != nil { - return nil, errors.Wrap(err, "failed to parse corrected 15m bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) + return errors.Wrap(err, "failed to parse corrected 15m bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) } if interfaces[i].DWDM == nil { @@ -145,12 +141,12 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( if err == nil && len(res) == 1 { valString, err := res[0].GetValueString() if err != nil { - return nil, errors.Wrap(err, "failed to get uncorrected 15m bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) + return errors.Wrap(err, "failed to get uncorrected 15m bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) } val, err := strconv.ParseFloat(valString, 64) if err != nil { - return nil, errors.Wrap(err, "failed to parse uncorrected 15m bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) + return errors.Wrap(err, "failed to parse uncorrected 15m bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) } if interfaces[i].DWDM == nil { @@ -168,12 +164,12 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( if err == nil && len(res) == 1 { valString, err := res[0].GetValueString() if err != nil { - return nil, errors.Wrap(err, "failed to get corrected 1d bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) + return errors.Wrap(err, "failed to get corrected 1d bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) } val, err := strconv.ParseFloat(valString, 64) if err != nil { - return nil, errors.Wrap(err, "failed to parse corrected 1d bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) + return errors.Wrap(err, "failed to parse corrected 1d bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) } if interfaces[i].DWDM == nil { @@ -191,12 +187,12 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( if err == nil && len(res) == 1 { valString, err := res[0].GetValueString() if err != nil { - return nil, errors.Wrap(err, "failed to get uncorrected 1d bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) + return errors.Wrap(err, "failed to get uncorrected 1d bit error rate string value for interface "+fmt.Sprint(*interf.IfIndex)) } val, err := strconv.ParseFloat(valString, 64) if err != nil { - return nil, errors.Wrap(err, "failed to parse uncorrected 1d bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) + return errors.Wrap(err, "failed to parse uncorrected 1d bit error rate for interface "+fmt.Sprint(*interf.IfIndex)) } if interfaces[i].DWDM == nil { @@ -211,13 +207,13 @@ func advaGetDWDMInterfaces(ctx context.Context, interfaces []device.Interface) ( } } - return interfaces, nil + return nil } -func advaGetChannels(ctx context.Context, interfaces []device.Interface) ([]device.Interface, error) { +func advaGetChannels(ctx context.Context, interfaces []device.Interface) error { con, ok := network.DeviceConnectionFromContext(ctx) if !ok || con.SNMP == nil { - return nil, errors.New("no device connection available") + return errors.New("no device connection available") } facilityPhysInstValueInputPower := ".1.3.6.1.4.1.2544.1.11.11.7.2.1.1.1.2" @@ -235,11 +231,11 @@ func advaGetChannels(ctx context.Context, interfaces []device.Interface) ([]devi if s := strings.Split(strings.Trim(subtree, "."), "."); len(s) > 2 && s[len(s)-2] != "0" { val, err := res.GetValueString() if err != nil { - return nil, errors.Wrap(err, "failed to get rx value of channel "+subtree) + return errors.Wrap(err, "failed to get rx value of channel "+subtree) } a, err := decimal.NewFromString(val) if err != nil { - return nil, errors.Wrap(err, "failed to parse rx value of channel "+subtree) + return errors.Wrap(err, "failed to parse rx value of channel "+subtree) } b := decimal.NewFromFloat(0.1) valFin, _ := a.Mul(b).Float64() @@ -255,20 +251,20 @@ func advaGetChannels(ctx context.Context, interfaces []device.Interface) ([]devi for _, subtree := range subtrees { res, err := con.SNMP.SnmpClient.SNMPGet(ctx, ".1.3.6.1.4.1.2544.1.11.11.7.2.1.1.1.1"+subtree) if err != nil { - return nil, errors.Wrap(err, "failed to get facilityPhysInstValueOutputPower for subtree "+subtree) + return errors.Wrap(err, "failed to get facilityPhysInstValueOutputPower for subtree "+subtree) } if len(res) != 1 { - return nil, errors.New("failed to get tx value of subtree " + subtree) + return errors.New("failed to get tx value of subtree " + subtree) } val, err := res[0].GetValueString() if err != nil { - return nil, errors.Wrap(err, "failed to get tx value of subtree "+subtree) + return errors.Wrap(err, "failed to get tx value of subtree "+subtree) } valueDecimal, err := decimal.NewFromString(val) if err != nil { - return nil, errors.Wrap(err, "failed to parse tx value of subtree "+subtree) + return errors.Wrap(err, "failed to parse tx value of subtree "+subtree) } multiplier := decimal.NewFromFloat(0.1) valFin, _ := valueDecimal.Mul(multiplier).Float64() @@ -278,11 +274,11 @@ func advaGetChannels(ctx context.Context, interfaces []device.Interface) ([]devi p := strings.Split(strings.ReplaceAll(strings.Trim(subtree, "."), "33152", "N"), ".") if len(p) < 3 { - return nil, errors.New("invalid channel identifier") + return errors.New("invalid channel identifier") } regex, err := regexp.Compile("-" + p[0] + "-" + p[1] + "-" + p[2]) if err != nil { - return nil, errors.Wrap(err, "failed to build regex") + return errors.Wrap(err, "failed to build regex") } for j, interf := range interfaces { @@ -297,94 +293,7 @@ func advaGetChannels(ctx context.Context, interfaces []device.Interface) ([]devi } } - return interfaces, nil -} - -func advaGet100GInterfaces(ctx context.Context, interfaces []device.Interface) ([]device.Interface, error) { - con, ok := network.DeviceConnectionFromContext(ctx) - if !ok || con.SNMP == nil { - return nil, errors.New("no device connection available") - } - - ports := ".1.3.6.1.4.1.2544.1.11.7.2.7.1.6" - portValues, err := con.SNMP.SnmpClient.SNMPWalk(ctx, ports) - if err != nil { - log.Ctx(ctx).Trace().Err(err).Msg("failed to walk 100g ports") - } - - var subtrees []string - otlInterfaces := make(map[string]device.Interface) - subType := "OTL" - - for _, res := range portValues { - portName, err := res.GetValueString() - if err != nil { - return nil, errors.Wrap(err, "failed to get snmp response") - } - - if strings.HasPrefix(portName, "OTL-") { - subtree := strings.TrimPrefix(res.GetOID(), ports) - - rxValue, err := con.SNMP.SnmpClient.SNMPGet(ctx, ".1.3.6.1.4.1.2544.1.11.7.7.2.3.1.2"+subtree) - if err != nil { - return nil, errors.Wrap(err, "failed to get rx value of port "+portName) - } - - if len(rxValue) != 1 { - return nil, errors.Wrap(err, "failed to get rx value of port "+portName) - } - - rxValueString, err := rxValue[0].GetValueString() - if err != nil { - return nil, errors.Wrap(err, "failed to get snmp response") - } - - valueDecimal, err := decimal.NewFromString(rxValueString) - if err != nil { - return nil, errors.Wrap(err, "failed to parse rx value of subtree "+subtree) - } - multiplier := decimal.NewFromFloat(0.1) - valFin, _ := valueDecimal.Mul(multiplier).Float64() - - subtrees = append(subtrees, subtree) - otlInterfaces[subtree] = device.Interface{ - IfDescr: &portName, - SubType: &subType, - DWDM: &device.DWDMInterface{ - RXPower: &valFin, - }, - } - } - } - - for _, subtree := range subtrees { - res, err := con.SNMP.SnmpClient.SNMPGet(ctx, ".1.3.6.1.4.1.2544.1.11.7.7.2.3.1.1"+subtree) - if err != nil { - return nil, errors.Wrap(err, "failed to get tx value for subtree "+subtree) - } - - if len(res) != 1 { - return nil, errors.New("failed to get tx value of subtree " + subtree) - } - - val, err := res[0].GetValueString() - if err != nil { - return nil, errors.Wrap(err, "failed to get tx value of subtree "+subtree) - } - a, err := decimal.NewFromString(val) - if err != nil { - return nil, errors.Wrap(err, "failed to parse tx value of subtree "+subtree) - } - b := decimal.NewFromFloat(0.1) - valFin, _ := a.Mul(b).Float64() - - interf := otlInterfaces[subtree] - interf.DWDM.TXPower = &valFin - - interfaces = append(interfaces, interf) - } - - return interfaces, nil + return nil } func advaGetPowerValues(ctx context.Context, oid string) (map[string]float64, error) { @@ -427,3 +336,15 @@ func advaGetPowerValues(ctx context.Context, oid string) (map[string]float64, er return descrToValues, nil } + +func normalizeAdvaInterfaces(interfaces []device.Interface) []device.Interface { + var res []device.Interface + + for _, interf := range interfaces { + if !(interf.IfDescr != nil && (strings.HasPrefix(*interf.IfDescr, "TIFI-") || strings.HasPrefix(*interf.IfDescr, "TIFO-"))) { + res = append(res, interf) + } + } + + return res +}