From 23680cc742ee89ba2278a4ef6db7e4fcd5b41aa9 Mon Sep 17 00:00:00 2001 From: PrometheusBot Date: Tue, 27 Aug 2024 11:34:19 +0200 Subject: [PATCH 01/25] Update common Prometheus files (#1235) Signed-off-by: prombot --- .github/workflows/golangci-lint.yml | 2 +- Makefile.common | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 746831a8..fc0f9c65 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -36,4 +36,4 @@ jobs: uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0 with: args: --verbose - version: v1.59.1 + version: v1.60.1 diff --git a/Makefile.common b/Makefile.common index e3da72ab..2ecd5465 100644 --- a/Makefile.common +++ b/Makefile.common @@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_ SKIP_GOLANGCI_LINT := GOLANGCI_LINT := GOLANGCI_LINT_OPTS ?= -GOLANGCI_LINT_VERSION ?= v1.59.1 +GOLANGCI_LINT_VERSION ?= v1.60.1 # golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64. # windows isn't included here because of the path separator being different. ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin)) From 1d7563366fc093198f901b640f4489995307f441 Mon Sep 17 00:00:00 2001 From: PhiBo Date: Fri, 30 Aug 2024 11:32:37 +0200 Subject: [PATCH 02/25] Add type to parse date and time (#1234) Add new type ParseDateAndTime to parse timestamps from DisplayString and report it as unix timestamp. * Add type to parse date and time (fixes: #1232) * Change date and time parsing to use strptime format --------- Signed-off-by: PhiBo --- collector/collector.go | 17 +++++++++++++++++ collector/collector_test.go | 34 ++++++++++++++++++++++++++++++++++ config/config.go | 21 +++++++++++---------- generator/README.md | 2 ++ generator/config.go | 16 +++++++++------- generator/tree.go | 6 ++++++ generator/tree_test.go | 12 ++++++++++++ go.mod | 1 + go.sum | 2 ++ 9 files changed, 94 insertions(+), 17 deletions(-) diff --git a/collector/collector.go b/collector/collector.go index e4e3fef8..522b7ab8 100644 --- a/collector/collector.go +++ b/collector/collector.go @@ -28,6 +28,7 @@ import ( "github.com/go-kit/log" "github.com/go-kit/log/level" "github.com/gosnmp/gosnmp" + "github.com/itchyny/timefmt-go" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/snmp_exporter/config" @@ -544,6 +545,15 @@ func parseDateAndTime(pdu *gosnmp.SnmpPDU) (float64, error) { return float64(t.Unix()), nil } +func parseDateAndTimeWithPattern(metric *config.Metric, pdu *gosnmp.SnmpPDU, metrics Metrics) (float64, error) { + pduValue := pduValueAsString(pdu, "DisplayString", metrics) + t, err := timefmt.Parse(pduValue, metric.DateTimePattern) + if err != nil { + return 0, fmt.Errorf("error parsing date and time %q", err) + } + return float64(t.Unix()), nil +} + func pduToSamples(indexOids []int, pdu *gosnmp.SnmpPDU, metric *config.Metric, oidToPdu map[string]gosnmp.SnmpPDU, logger log.Logger, metrics Metrics) []prometheus.Metric { var err error // The part of the OID that is the indexes. @@ -573,6 +583,13 @@ func pduToSamples(indexOids []int, pdu *gosnmp.SnmpPDU, metric *config.Metric, o level.Debug(logger).Log("msg", "Error parsing DateAndTime", "err", err) return []prometheus.Metric{} } + case "ParseDateAndTime": + t = prometheus.GaugeValue + value, err = parseDateAndTimeWithPattern(metric, pdu, metrics) + if err != nil { + level.Debug(logger).Log("msg", "Error parsing ParseDateAndTime", "err", err) + return []prometheus.Metric{} + } case "EnumAsInfo": return enumAsInfo(metric, int(value), labelnames, labelvalues) case "EnumAsStateSet": diff --git a/collector/collector_test.go b/collector/collector_test.go index 5582ad4e..df1b6ded 100644 --- a/collector/collector_test.go +++ b/collector/collector_test.go @@ -820,6 +820,40 @@ func TestParseDateAndTime(t *testing.T) { } } +func TestParseDateAndTimeWithPattern(t *testing.T) { + cases := []struct { + pdu *gosnmp.SnmpPDU + metric config.Metric + result float64 + shouldErr bool + }{ + { + pdu: &gosnmp.SnmpPDU{Value: "Apr 01 2025"}, + metric: config.Metric{DateTimePattern: "%b %d %Y"}, + result: 1.7434656e+09, + shouldErr: false, + }, + { + pdu: &gosnmp.SnmpPDU{Value: "ABC"}, + metric: config.Metric{DateTimePattern: "%b %d %Y"}, + result: 0, + shouldErr: true, + }, + } + for _, c := range cases { + got, err := parseDateAndTimeWithPattern(&c.metric, c.pdu, Metrics{}) + if c.shouldErr && err == nil { + t.Fatalf("Was expecting error, but none returned.") + } + if !c.shouldErr && err != nil { + t.Fatalf("Was expecting no error, but one returned.") + } + if !reflect.DeepEqual(got, c.result) { + t.Errorf("parseDateAndTime(%v) result: got %v, want %v", c.pdu, got, c.result) + } + } +} + func TestIndexesToLabels(t *testing.T) { cases := []struct { oid []int diff --git a/config/config.go b/config/config.go index f6464a1c..e2f531d0 100644 --- a/config/config.go +++ b/config/config.go @@ -216,16 +216,17 @@ type DynamicFilter struct { } type Metric struct { - Name string `yaml:"name"` - Oid string `yaml:"oid"` - Type string `yaml:"type"` - Help string `yaml:"help"` - Indexes []*Index `yaml:"indexes,omitempty"` - Lookups []*Lookup `yaml:"lookups,omitempty"` - RegexpExtracts map[string][]RegexpExtract `yaml:"regex_extracts,omitempty"` - EnumValues map[int]string `yaml:"enum_values,omitempty"` - Offset float64 `yaml:"offset,omitempty"` - Scale float64 `yaml:"scale,omitempty"` + Name string `yaml:"name"` + Oid string `yaml:"oid"` + Type string `yaml:"type"` + Help string `yaml:"help"` + Indexes []*Index `yaml:"indexes,omitempty"` + Lookups []*Lookup `yaml:"lookups,omitempty"` + RegexpExtracts map[string][]RegexpExtract `yaml:"regex_extracts,omitempty"` + DateTimePattern string `yaml:"datetime_pattern,omitempty"` + EnumValues map[int]string `yaml:"enum_values,omitempty"` + Offset float64 `yaml:"offset,omitempty"` + Scale float64 `yaml:"scale,omitempty"` } type Index struct { diff --git a/generator/README.md b/generator/README.md index 216d3e30..4c3fd1ed 100644 --- a/generator/README.md +++ b/generator/README.md @@ -158,6 +158,7 @@ modules: value: '1' # The first entry whose regex matches and whose value parses wins. - regex: '.*' value: '0' + datetime_pattern: # Used if type = ParseDateAndTime. Uses the strptime format (See: man 3 strptime) offset: 1.0 # Add the value to the same. Applied after scale. scale: 1.0 # Scale the value of the sample by this value. type: DisplayString # Override the metric type, possible types are: @@ -165,6 +166,7 @@ modules: # counter: An integer with type counter. # OctetString: A bit string, rendered as 0xff34. # DateAndTime: An RFC 2579 DateAndTime byte sequence. If the device has no time zone data, UTC is used. + # ParseDateAndTime: Parse a DisplayString and return the timestamp. See datetime_pattern config option # DisplayString: An ASCII or UTF-8 string. # PhysAddress48: A 48 bit MAC address, rendered as 00:01:02:03:04:ff. # Float: A 32 bit floating-point value with type gauge. diff --git a/generator/config.go b/generator/config.go index f52e35ad..262aceb7 100644 --- a/generator/config.go +++ b/generator/config.go @@ -15,8 +15,9 @@ package main import ( "fmt" - "github.com/prometheus/snmp_exporter/config" "strconv" + + "github.com/prometheus/snmp_exporter/config" ) // The generator config. @@ -27,12 +28,13 @@ type Config struct { } type MetricOverrides struct { - Ignore bool `yaml:"ignore,omitempty"` - RegexpExtracts map[string][]config.RegexpExtract `yaml:"regex_extracts,omitempty"` - Offset float64 `yaml:"offset,omitempty"` - Scale float64 `yaml:"scale,omitempty"` - Type string `yaml:"type,omitempty"` - Help string `yaml:"help,omitempty"` + Ignore bool `yaml:"ignore,omitempty"` + RegexpExtracts map[string][]config.RegexpExtract `yaml:"regex_extracts,omitempty"` + DateTimePattern string `yaml:"datetime_pattern,omitempty"` + Offset float64 `yaml:"offset,omitempty"` + Scale float64 `yaml:"scale,omitempty"` + Type string `yaml:"type,omitempty"` + Help string `yaml:"help,omitempty"` } // UnmarshalYAML implements the yaml.Unmarshaler interface. diff --git a/generator/tree.go b/generator/tree.go index f7fceb91..256cddc3 100644 --- a/generator/tree.go +++ b/generator/tree.go @@ -135,6 +135,9 @@ func prepareTree(nodes *Node, logger log.Logger) map[string]*Node { if n.TextualConvention == "DateAndTime" { n.Type = "DateAndTime" } + if n.TextualConvention == "ParseDateAndTime" { + n.Type = "ParseDateAndTime" + } // Convert RFC 4001 InetAddress types textual convention to type. if n.TextualConvention == "InetAddressIPv4" || n.TextualConvention == "InetAddressIPv6" || n.TextualConvention == "InetAddress" { n.Type = n.TextualConvention @@ -167,6 +170,8 @@ func metricType(t string) (string, bool) { return t, true case "DateAndTime": return t, true + case "ParseDateAndTime": + return t, true case "EnumAsInfo", "EnumAsStateSet": return t, true default: @@ -528,6 +533,7 @@ func generateConfigModule(cfg *ModuleConfig, node *Node, nameToNode map[string]* for _, metric := range out.Metrics { if name == metric.Name || name == metric.Oid { metric.RegexpExtracts = params.RegexpExtracts + metric.DateTimePattern = params.DateTimePattern metric.Offset = params.Offset metric.Scale = params.Scale if params.Help != "" { diff --git a/generator/tree_test.go b/generator/tree_test.go index f5941ceb..297073a3 100644 --- a/generator/tree_test.go +++ b/generator/tree_test.go @@ -130,6 +130,11 @@ func TestTreePrepare(t *testing.T) { in: &Node{Oid: "1", Type: "DisplayString", TextualConvention: "DateAndTime"}, out: &Node{Oid: "1", Type: "DateAndTime", TextualConvention: "DateAndTime"}, }, + // ParseDateAndTime + { + in: &Node{Oid: "1", Type: "DisplayString", TextualConvention: "ParseDateAndTime"}, + out: &Node{Oid: "1", Type: "ParseDateAndTime", TextualConvention: "ParseDateAndTime"}, + }, // RFC 4100 InetAddress conventions. { in: &Node{Oid: "1", Type: "OctectString", TextualConvention: "InetAddressIPv4"}, @@ -340,6 +345,7 @@ func TestGenerateConfigModule(t *testing.T) { {Oid: "1.202", Access: "ACCESS_READONLY", Label: "DateAndTime", Type: "DisplayString", TextualConvention: "DateAndTime"}, {Oid: "1.203", Access: "ACCESS_READONLY", Label: "InetAddressIPv4", Type: "OCTETSTR", TextualConvention: "InetAddressIPv4"}, {Oid: "1.204", Access: "ACCESS_READONLY", Label: "InetAddressIPv6", Type: "OCTETSTR", TextualConvention: "InetAddressIPv6"}, + {Oid: "1.205", Access: "ACCESS_READONLY", Label: "ParseDateAndTime", Type: "DisplayString", TextualConvention: "ParseDateAndTime"}, }}, cfg: &ModuleConfig{ Walk: []string{"root", "1.3"}, @@ -461,6 +467,12 @@ func TestGenerateConfigModule(t *testing.T) { Type: "InetAddressIPv6", Help: " - 1.204", }, + { + Name: "ParseDateAndTime", + Oid: "1.205", + Type: "ParseDateAndTime", + Help: " - 1.205", + }, }, }, }, diff --git a/go.mod b/go.mod index 8414af5c..9259b9a4 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,7 @@ require ( github.com/alecthomas/kingpin/v2 v2.4.0 github.com/go-kit/log v0.2.1 github.com/gosnmp/gosnmp v1.37.0 + github.com/itchyny/timefmt-go v0.1.6 github.com/prometheus/client_golang v1.19.1 github.com/prometheus/client_model v0.6.1 github.com/prometheus/common v0.55.0 diff --git a/go.sum b/go.sum index fe77ad49..60e48751 100644 --- a/go.sum +++ b/go.sum @@ -20,6 +20,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/gosnmp/gosnmp v1.37.0 h1:/Tf8D3b9wrnNuf/SfbvO+44mPrjVphBhRtcGg22V07Y= github.com/gosnmp/gosnmp v1.37.0/go.mod h1:GDH9vNqpsD7f2HvZhKs5dlqSEcAS6s6Qp099oZRCR+M= +github.com/itchyny/timefmt-go v0.1.6 h1:ia3s54iciXDdzWzwaVKXZPbiXzxxnv1SPGFfM/myJ5Q= +github.com/itchyny/timefmt-go v0.1.6/go.mod h1:RRDZYC5s9ErkjQvTvvU7keJjxUYzIISJGxm9/mAERQg= github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= From 683caefe65a68764bc47ec0232e64fbf0f971c0d Mon Sep 17 00:00:00 2001 From: PrometheusBot Date: Fri, 30 Aug 2024 11:32:57 +0200 Subject: [PATCH 03/25] Update common Prometheus files (#1238) Signed-off-by: prombot --- .github/workflows/golangci-lint.yml | 2 +- Makefile.common | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index fc0f9c65..f4a7385b 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -36,4 +36,4 @@ jobs: uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0 with: args: --verbose - version: v1.60.1 + version: v1.60.2 diff --git a/Makefile.common b/Makefile.common index 2ecd5465..34d65bb5 100644 --- a/Makefile.common +++ b/Makefile.common @@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_ SKIP_GOLANGCI_LINT := GOLANGCI_LINT := GOLANGCI_LINT_OPTS ?= -GOLANGCI_LINT_VERSION ?= v1.60.1 +GOLANGCI_LINT_VERSION ?= v1.60.2 # golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64. # windows isn't included here because of the path separator being different. ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin)) From 50f4cddfb47e6a99706b3624e543c3b4553b3ae5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Sep 2024 02:03:38 +0000 Subject: [PATCH 04/25] Bump github.com/prometheus/common from 0.55.0 to 0.57.0 Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.55.0 to 0.57.0. - [Release notes](https://github.com/prometheus/common/releases) - [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md) - [Commits](https://github.com/prometheus/common/compare/v0.55.0...v0.57.0) --- updated-dependencies: - dependency-name: github.com/prometheus/common dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 13 +++++++------ go.sum | 28 ++++++++++++++++------------ 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/go.mod b/go.mod index 9259b9a4..ff2fd9ae 100644 --- a/go.mod +++ b/go.mod @@ -7,9 +7,9 @@ require ( github.com/go-kit/log v0.2.1 github.com/gosnmp/gosnmp v1.37.0 github.com/itchyny/timefmt-go v0.1.6 - github.com/prometheus/client_golang v1.19.1 + github.com/prometheus/client_golang v1.20.0 github.com/prometheus/client_model v0.6.1 - github.com/prometheus/common v0.55.0 + github.com/prometheus/common v0.57.0 github.com/prometheus/exporter-toolkit v0.11.0 gopkg.in/yaml.v2 v2.4.0 ) @@ -17,19 +17,20 @@ require ( require ( github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect github.com/beorn7/perks v1.0.1 // indirect - github.com/cespare/xxhash/v2 v2.2.0 // indirect + github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/coreos/go-systemd/v22 v22.5.0 // indirect github.com/go-logfmt/logfmt v0.5.1 // indirect github.com/jpillora/backoff v1.0.0 // indirect + github.com/klauspost/compress v1.17.9 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect github.com/prometheus/procfs v0.15.1 // indirect github.com/xhit/go-str2duration/v2 v2.1.0 // indirect - golang.org/x/crypto v0.24.0 // indirect - golang.org/x/net v0.26.0 // indirect + golang.org/x/crypto v0.25.0 // indirect + golang.org/x/net v0.27.0 // indirect golang.org/x/oauth2 v0.21.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.21.0 // indirect + golang.org/x/sys v0.22.0 // indirect golang.org/x/text v0.16.0 // indirect google.golang.org/protobuf v1.34.2 // indirect ) diff --git a/go.sum b/go.sum index 60e48751..6a6a8248 100644 --- a/go.sum +++ b/go.sum @@ -4,8 +4,8 @@ github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAu github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= -github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= +github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -24,22 +24,26 @@ github.com/itchyny/timefmt-go v0.1.6 h1:ia3s54iciXDdzWzwaVKXZPbiXzxxnv1SPGFfM/my github.com/itchyny/timefmt-go v0.1.6/go.mod h1:RRDZYC5s9ErkjQvTvvU7keJjxUYzIISJGxm9/mAERQg= github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= +github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA= +github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE= -github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho= +github.com/prometheus/client_golang v1.20.0 h1:jBzTZ7B099Rg24tny+qngoynol8LtVYlA2bqx3vEloI= +github.com/prometheus/client_golang v1.20.0/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= -github.com/prometheus/common v0.55.0 h1:KEi6DK7lXW/m7Ig5i47x0vRzuBsHuvJdi5ee6Y3G1dc= -github.com/prometheus/common v0.55.0/go.mod h1:2SECS4xJG1kd8XF9IcM1gMX6510RAEL65zxzNImwdc8= +github.com/prometheus/common v0.57.0 h1:Ro/rKjwdq9mZn1K5QPctzh+MA4Lp0BuYk5ZZEVhoNcY= +github.com/prometheus/common v0.57.0/go.mod h1:7uRPFSUTbfZWsJ7MHY56sqt7hLQu3bxXHDnNhl8E9qI= github.com/prometheus/exporter-toolkit v0.11.0 h1:yNTsuZ0aNCNFQ3aFTD2uhPOvr4iD7fdBvKPAEGkNf+g= github.com/prometheus/exporter-toolkit v0.11.0/go.mod h1:BVnENhnNecpwoTLiABx7mrPB/OLRIgN74qlQbV+FK1Q= github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= @@ -52,16 +56,16 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc= github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= -golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= -golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= -golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= -golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= +golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30= +golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= +golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys= +golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs= golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= -golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= +golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= From 3e52d46d2c2c5d4b07f5c00d2b1f0e2f146b3152 Mon Sep 17 00:00:00 2001 From: prombot Date: Thu, 5 Sep 2024 17:48:25 +0000 Subject: [PATCH 05/25] Update common Prometheus files Signed-off-by: prombot --- .github/workflows/golangci-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index f4a7385b..a15cfc97 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -28,7 +28,7 @@ jobs: - name: Install Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version: 1.22.x + go-version: 1.23.x - name: Install snmp_exporter/generator dependencies run: sudo apt-get update && sudo apt-get -y install libsnmp-dev if: github.repository == 'prometheus/snmp_exporter' From d62dc6f1eb219790dd0ce35cd5298541938fb3de Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 8 Sep 2024 16:09:13 +0000 Subject: [PATCH 06/25] Bump github.com/prometheus/client_golang from 1.20.0 to 1.20.3 Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.0 to 1.20.3. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/v1.20.3/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.20.0...v1.20.3) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index ff2fd9ae..718df24d 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/go-kit/log v0.2.1 github.com/gosnmp/gosnmp v1.37.0 github.com/itchyny/timefmt-go v0.1.6 - github.com/prometheus/client_golang v1.20.0 + github.com/prometheus/client_golang v1.20.3 github.com/prometheus/client_model v0.6.1 github.com/prometheus/common v0.57.0 github.com/prometheus/exporter-toolkit v0.11.0 diff --git a/go.sum b/go.sum index 6a6a8248..d7624966 100644 --- a/go.sum +++ b/go.sum @@ -38,8 +38,8 @@ github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+ github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v1.20.0 h1:jBzTZ7B099Rg24tny+qngoynol8LtVYlA2bqx3vEloI= -github.com/prometheus/client_golang v1.20.0/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= +github.com/prometheus/client_golang v1.20.3 h1:oPksm4K8B+Vt35tUhw6GbSNSgVlVSBH0qELP/7u83l4= +github.com/prometheus/client_golang v1.20.3/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.57.0 h1:Ro/rKjwdq9mZn1K5QPctzh+MA4Lp0BuYk5ZZEVhoNcY= From b6f33fbadd5abacf5aec7321b8981e94804b22ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 8 Sep 2024 16:23:09 +0000 Subject: [PATCH 07/25] Bump github.com/gosnmp/gosnmp from 1.37.0 to 1.38.0 Bumps [github.com/gosnmp/gosnmp](https://github.com/gosnmp/gosnmp) from 1.37.0 to 1.38.0. - [Release notes](https://github.com/gosnmp/gosnmp/releases) - [Changelog](https://github.com/gosnmp/gosnmp/blob/master/CHANGELOG.md) - [Commits](https://github.com/gosnmp/gosnmp/compare/v1.37.0...v1.38.0) --- updated-dependencies: - dependency-name: github.com/gosnmp/gosnmp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 718df24d..dc024a2a 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.21 require ( github.com/alecthomas/kingpin/v2 v2.4.0 github.com/go-kit/log v0.2.1 - github.com/gosnmp/gosnmp v1.37.0 + github.com/gosnmp/gosnmp v1.38.0 github.com/itchyny/timefmt-go v0.1.6 github.com/prometheus/client_golang v1.20.3 github.com/prometheus/client_model v0.6.1 diff --git a/go.sum b/go.sum index d7624966..26bd3768 100644 --- a/go.sum +++ b/go.sum @@ -18,8 +18,8 @@ github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KE github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/gosnmp/gosnmp v1.37.0 h1:/Tf8D3b9wrnNuf/SfbvO+44mPrjVphBhRtcGg22V07Y= -github.com/gosnmp/gosnmp v1.37.0/go.mod h1:GDH9vNqpsD7f2HvZhKs5dlqSEcAS6s6Qp099oZRCR+M= +github.com/gosnmp/gosnmp v1.38.0 h1:I5ZOMR8kb0DXAFg/88ACurnuwGwYkXWq3eLpJPHMEYc= +github.com/gosnmp/gosnmp v1.38.0/go.mod h1:FE+PEZvKrFz9afP9ii1W3cprXuVZ17ypCcyyfYuu5LY= github.com/itchyny/timefmt-go v0.1.6 h1:ia3s54iciXDdzWzwaVKXZPbiXzxxnv1SPGFfM/myJ5Q= github.com/itchyny/timefmt-go v0.1.6/go.mod h1:RRDZYC5s9ErkjQvTvvU7keJjxUYzIISJGxm9/mAERQg= github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA= From f1e5797ba7ec3c39ee560b76936dc3447b8a5b77 Mon Sep 17 00:00:00 2001 From: PhiBo Date: Thu, 12 Sep 2024 09:11:12 +0200 Subject: [PATCH 08/25] Add support for Sophos XG devices (#1239) Signed-off-by: PhiBo --- generator/Makefile | 12 +- generator/generator.yml | 124 +++++++++ snmp.yml | 571 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 706 insertions(+), 1 deletion(-) diff --git a/generator/Makefile b/generator/Makefile index bd33e407..4c5de2cc 100644 --- a/generator/Makefile +++ b/generator/Makefile @@ -59,6 +59,7 @@ INFRAPOWER_URL := https://www.austin-hughes.com/wp-content/uploads/2021/05/IP LIEBERT_URL := https://www.vertiv.com/globalassets/documents/software/monitoring/lgpmib-win_rev16_299461_0.zip READYNAS_URL := https://www.downloads.netgear.com/files/ReadyNAS/READYNAS-MIB.txt READYDATAOS_URL := https://www.downloads.netgear.com/files/GDC/RD5200/READYDATA_MIB.zip +SOPHOS_XG_URL := https://docs.sophos.com/nsg/sophos-firewall/MIB/SOPHOS-XG-MIB.zip CYBERPOWER_VERSION := 2.11 CYBERPOWER_URL := https://dl4jz3rbrsfum.cloudfront.net/software/CyberPower_MIB_v$(CYBERPOWER_VERSION).MIB.zip @@ -79,6 +80,7 @@ clean: $(MIBDIR)/.net-snmp \ $(MIBDIR)/.paloalto_panos \ $(MIBDIR)/.synology \ + $(MIBDIR)/.sophos_xg \ $(MIBDIR)/.kemp-lm \ $(MIBDIR)/readynas \ $(MIBDIR)/readydataos @@ -140,6 +142,7 @@ mibs: \ $(MIBDIR)/servertech-sentry3-mib \ $(MIBDIR)/servertech-sentry4-mib \ $(MIBDIR)/.synology \ + $(MIBDIR)/.sophos_xg \ $(MIBDIR)/UBNT-UniFi-MIB \ $(MIBDIR)/UBNT-AirFiber-MIB \ $(MIBDIR)/UBNT-AirMAX-MIB.txt \ @@ -293,6 +296,14 @@ $(MIBDIR)/servertech-sentry4-mib: @echo ">> Downloading servertech-sentry4-mib" @curl $(CURL_OPTS) -o $(MIBDIR)/servertech-sentry4-mib $(SERVERTECH4_URL) +$(MIBDIR)/.sophos_xg: + $(eval TMP := $(shell mktemp)) + @echo ">> Downloading Sophos XG to $(TMP)" + @curl $(CURL_OPTS) -o $(TMP) $(SOPHOS_XG_URL) + @unzip -j -d $(MIBDIR) $(TMP) SOPHOS-XG-MIB20.txt + @rm -v $(TMP) + @touch $(MIBDIR)/.sophos_xg + $(MIBDIR)/.synology: $(eval TMP := $(shell mktemp)) @echo ">> Downloading synology to $(TMP)" @@ -371,4 +382,3 @@ $(MIBDIR)/readydataos: @unzip -j -d $(MIBDIR) $(TMP) READYDATAOS-MIB.txt @mv -v $(MIBDIR)/READYDATAOS-MIB.txt $(MIBDIR)/readydataos @rm -v $(TMP) - diff --git a/generator/generator.yml b/generator/generator.yml index 3fd7b424..784157e6 100644 --- a/generator/generator.yml +++ b/generator/generator.yml @@ -200,6 +200,130 @@ modules: walk: - 1.3.6.1.4.1.30065.3.1.1 # aristaSwFwdIp +# Sophos XG +# +# Sophos XG MIBs can be found here: +# https://docs.sophos.com/nsg/sophos-firewall/MIB/SOPHOS-XG-MIB.zip +# +# Tested on Sophos XG v20 +# + sophos_xg: + walk: + - 1.3.6.1.4.1.2604.5.1.1 # sfosXGDeviceInfo + - 1.3.6.1.4.1.2604.5.1.2 # sfosXGDeviceStats + - 1.3.6.1.4.1.2604.5.1.3 # sfosXGServiceStatus + - 1.3.6.1.4.1.2604.5.1.4 # sfosXGHAStats + - 1.3.6.1.4.1.2604.5.1.5 # sfosXGLicenseDetails + overrides: + # Info + sfosCurrentDate: + type: ParseDateAndTime + datetime_pattern: "%a %b %d %H:%M:%S %Y" + # Services + sfosPoP3Service: + type: EnumAsStateSet + sfosImap4Service: + type: EnumAsStateSet + sfosSmtpService: + type: EnumAsStateSet + sfosFtpService: + type: EnumAsStateSet + sfosHttpService: + type: EnumAsStateSet + sfosAVService: + type: EnumAsStateSet + sfosASService: + type: EnumAsStateSet + sfosDNSService: + type: EnumAsStateSet + sfosHAService: + type: EnumAsStateSet + sfosIPSService: + type: EnumAsStateSet + sfosApacheService: + type: EnumAsStateSet + sfosNtpService: + type: EnumAsStateSet + sfosTomcatService: + type: EnumAsStateSet + sfosSSLVpnService: + type: EnumAsStateSet + sfosIPSecVpnService: + type: EnumAsStateSet + sfosDatabaseservice: + type: EnumAsStateSet + sfosNetworkService: + type: EnumAsStateSet + sfosGarnerService: + type: EnumAsStateSet + sfosDroutingService: + type: EnumAsStateSet + sfosSSHdService: + type: EnumAsStateSet + sfosDgdService: + type: EnumAsStateSet + + # HA + sfosHAStatus: + type: EnumAsInfo + sfosDeviceCurrentAppKey: + ignore: true + sfosDevicePeerAppKey: + ignore: true + sfosDeviceCurrentHAState: + type: EnumAsStateSet + sfosDevicePeerHAState: + type: EnumAsStateSet + sfosDeviceLoadBalancing: + type: EnumAsInfo + + # License + sfosBaseFWLicRegStatus: + type: EnumAsStateSet + sfosBaseFWLicExpiryDate: + type: ParseDateAndTime + datetime_pattern: "%b %d %Y" + sfosNetProtectionLicRegStatus: + type: EnumAsStateSet + sfosNetProtectionLicExpiryDate: + type: ParseDateAndTime + datetime_pattern: "%b %d %Y" + sfosWebProtectionLicRegStatus: + type: EnumAsStateSet + sfosWebProtectionLicExpiryDate: + type: ParseDateAndTime + datetime_pattern: "%b %d %Y" + sfosMailProtectionLicRegStatus: + type: EnumAsStateSet + sfosMailProtectionLicExpiryDate: + type: ParseDateAndTime + datetime_pattern: "%b %d %Y" + sfosWebServerProtectionLicRegStatus: + type: EnumAsStateSet + sfosWebServerProtectionLicExpiryDate: + type: ParseDateAndTime + datetime_pattern: "%b %d %Y" + sfosSandstromLicRegStatus: + type: EnumAsStateSet + sfosSandstromLicExpiryDate: + type: ParseDateAndTime + datetime_pattern: "%b %d %Y" + sfosEnhancedSupportLicRegStatus: + type: EnumAsStateSet + sfosEnhancedSupportLicExpiryDate: + type: ParseDateAndTime + datetime_pattern: "%b %d %Y" + sfosEnhancedPlusLicRegStatus: + type: EnumAsStateSet + sfosEnhancedPlusLicExpiryDate: + type: ParseDateAndTime + datetime_pattern: "%b %d %Y" + sfosCentralOrchestrationLicRegStatus: + type: EnumAsStateSet + sfosCentralOrchestrationLicExpiryDate: + type: ParseDateAndTime + datetime_pattern: "%b %d %Y" + # Synology # # Synology MIBs can be found here: diff --git a/snmp.yml b/snmp.yml index 817e41f7..aa219e23 100644 --- a/snmp.yml +++ b/snmp.yml @@ -29832,6 +29832,577 @@ modules: 21: nvmFail 22: profileError 23: conflict + sophos_xg: + walk: + - 1.3.6.1.4.1.2604.5.1.1 + - 1.3.6.1.4.1.2604.5.1.2 + - 1.3.6.1.4.1.2604.5.1.3 + - 1.3.6.1.4.1.2604.5.1.4 + - 1.3.6.1.4.1.2604.5.1.5 + metrics: + - name: sfosDeviceName + oid: 1.3.6.1.4.1.2604.5.1.1.1 + type: DisplayString + help: hostname of the SFOS XG Device - 1.3.6.1.4.1.2604.5.1.1.1 + - name: sfosDeviceType + oid: 1.3.6.1.4.1.2604.5.1.1.2 + type: DisplayString + help: Type of Device like XG-85, XG-210 - 1.3.6.1.4.1.2604.5.1.1.2 + - name: sfosDeviceFWVersion + oid: 1.3.6.1.4.1.2604.5.1.1.3 + type: DisplayString + help: Current running firmware version of SFOS - 1.3.6.1.4.1.2604.5.1.1.3 + - name: sfosDeviceAppKey + oid: 1.3.6.1.4.1.2604.5.1.1.4 + type: DisplayString + help: Appliance Key of SFOS Device - 1.3.6.1.4.1.2604.5.1.1.4 + - name: sfosWebcatVersion + oid: 1.3.6.1.4.1.2604.5.1.1.5 + type: DisplayString + help: Current webcat version running in SFOS - 1.3.6.1.4.1.2604.5.1.1.5 + - name: sfosIPSVersion + oid: 1.3.6.1.4.1.2604.5.1.1.6 + type: DisplayString + help: Current snort version running in SFOS - 1.3.6.1.4.1.2604.5.1.1.6 + - name: sfosCurrentDate + oid: 1.3.6.1.4.1.2604.5.1.2.1 + type: ParseDateAndTime + help: Current system date and time - 1.3.6.1.4.1.2604.5.1.2.1 + datetime_pattern: '%a %b %d %H:%M:%S %Y' + - name: sfosUpTime + oid: 1.3.6.1.4.1.2604.5.1.2.2 + type: gauge + help: sysUpTime will display the SNMP agent up time - 1.3.6.1.4.1.2604.5.1.2.2 + - name: sfosDiskCapacity + oid: 1.3.6.1.4.1.2604.5.1.2.4.1 + type: gauge + help: Disk capacity in MB - 1.3.6.1.4.1.2604.5.1.2.4.1 + - name: sfosDiskPercentUsage + oid: 1.3.6.1.4.1.2604.5.1.2.4.2 + type: gauge + help: '% Disk usage - 1.3.6.1.4.1.2604.5.1.2.4.2' + - name: sfosMemoryCapacity + oid: 1.3.6.1.4.1.2604.5.1.2.5.1 + type: gauge + help: Memory capacity in MB - 1.3.6.1.4.1.2604.5.1.2.5.1 + - name: sfosMemoryPercentUsage + oid: 1.3.6.1.4.1.2604.5.1.2.5.2 + type: gauge + help: '% usage of main memory - 1.3.6.1.4.1.2604.5.1.2.5.2' + - name: sfosSwapCapacity + oid: 1.3.6.1.4.1.2604.5.1.2.5.3 + type: gauge + help: Swap Capacity in MB - 1.3.6.1.4.1.2604.5.1.2.5.3 + - name: sfosSwapPercentUsage + oid: 1.3.6.1.4.1.2604.5.1.2.5.4 + type: gauge + help: '% usage of swap - 1.3.6.1.4.1.2604.5.1.2.5.4' + - name: sfosLiveUsersCount + oid: 1.3.6.1.4.1.2604.5.1.2.6 + type: gauge + help: Display live user count login into captive portal - 1.3.6.1.4.1.2604.5.1.2.6 + - name: sfosHTTPHits + oid: 1.3.6.1.4.1.2604.5.1.2.7 + type: counter + help: ' - 1.3.6.1.4.1.2604.5.1.2.7' + - name: sfosFTPHits + oid: 1.3.6.1.4.1.2604.5.1.2.8 + type: counter + help: ' - 1.3.6.1.4.1.2604.5.1.2.8' + - name: sfosPOP3Hits + oid: 1.3.6.1.4.1.2604.5.1.2.9.1 + type: counter + help: ' - 1.3.6.1.4.1.2604.5.1.2.9.1' + - name: sfosImapHits + oid: 1.3.6.1.4.1.2604.5.1.2.9.2 + type: counter + help: ' - 1.3.6.1.4.1.2604.5.1.2.9.2' + - name: sfosSmtpHits + oid: 1.3.6.1.4.1.2604.5.1.2.9.3 + type: counter + help: ' - 1.3.6.1.4.1.2604.5.1.2.9.3' + - name: sfosPoP3Service + oid: 1.3.6.1.4.1.2604.5.1.3.1 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.1' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosImap4Service + oid: 1.3.6.1.4.1.2604.5.1.3.2 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.2' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosSmtpService + oid: 1.3.6.1.4.1.2604.5.1.3.3 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.3' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosFtpService + oid: 1.3.6.1.4.1.2604.5.1.3.4 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.4' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosHttpService + oid: 1.3.6.1.4.1.2604.5.1.3.5 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.5' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosAVService + oid: 1.3.6.1.4.1.2604.5.1.3.6 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.6' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosASService + oid: 1.3.6.1.4.1.2604.5.1.3.7 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.7' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosDNSService + oid: 1.3.6.1.4.1.2604.5.1.3.8 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.8' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosHAService + oid: 1.3.6.1.4.1.2604.5.1.3.9 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.9' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosIPSService + oid: 1.3.6.1.4.1.2604.5.1.3.10 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.10' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosApacheService + oid: 1.3.6.1.4.1.2604.5.1.3.11 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.11' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosNtpService + oid: 1.3.6.1.4.1.2604.5.1.3.12 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.12' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosTomcatService + oid: 1.3.6.1.4.1.2604.5.1.3.13 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.13' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosSSLVpnService + oid: 1.3.6.1.4.1.2604.5.1.3.14 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.14' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosIPSecVpnService + oid: 1.3.6.1.4.1.2604.5.1.3.15 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.15' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosDatabaseservice + oid: 1.3.6.1.4.1.2604.5.1.3.16 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.16' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosNetworkService + oid: 1.3.6.1.4.1.2604.5.1.3.17 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.17' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosGarnerService + oid: 1.3.6.1.4.1.2604.5.1.3.18 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.18' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosDroutingService + oid: 1.3.6.1.4.1.2604.5.1.3.19 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.19' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosSSHdService + oid: 1.3.6.1.4.1.2604.5.1.3.20 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.20' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosDgdService + oid: 1.3.6.1.4.1.2604.5.1.3.21 + type: EnumAsStateSet + help: ' - 1.3.6.1.4.1.2604.5.1.3.21' + enum_values: + 0: untouched + 1: stopped + 2: initializing + 3: running + 4: exiting + 5: dead + 6: frozen + 7: unregistered + - name: sfosHAStatus + oid: 1.3.6.1.4.1.2604.5.1.4.1 + type: EnumAsInfo + help: ' - 1.3.6.1.4.1.2604.5.1.4.1' + enum_values: + 0: disabled + 1: enabled + - name: sfosDeviceCurrentHAState + oid: 1.3.6.1.4.1.2604.5.1.4.4 + type: EnumAsStateSet + help: HA State of current Device - 1.3.6.1.4.1.2604.5.1.4.4 + enum_values: + 0: notapplicable + 1: auxiliary + 2: standAlone + 3: primary + 4: faulty + 5: ready + - name: sfosDevicePeerHAState + oid: 1.3.6.1.4.1.2604.5.1.4.5 + type: EnumAsStateSet + help: HA State of peer Device - 1.3.6.1.4.1.2604.5.1.4.5 + enum_values: + 0: notapplicable + 1: auxiliary + 2: standAlone + 3: primary + 4: faulty + 5: ready + - name: sfosDeviceHAConfigMode + oid: 1.3.6.1.4.1.2604.5.1.4.6 + type: DisplayString + help: HA State of peer Device - 1.3.6.1.4.1.2604.5.1.4.6 + - name: sfosDeviceLoadBalancing + oid: 1.3.6.1.4.1.2604.5.1.4.7 + type: EnumAsInfo + help: sfos device load device - 1.3.6.1.4.1.2604.5.1.4.7 + enum_values: + 0: notapplicable + 1: loadBalanceOff + 2: loadBalanceOn + - name: sfosDeviceHAPort + oid: 1.3.6.1.4.1.2604.5.1.4.8 + type: DisplayString + help: SFOS dedciated port for HA - 1.3.6.1.4.1.2604.5.1.4.8 + - name: sfosDeviceHACurrentIP + oid: 1.3.6.1.4.1.2604.5.1.4.9 + type: InetAddressIPv4 + help: IPAddress of current Device for HA - 1.3.6.1.4.1.2604.5.1.4.9 + - name: sfosDeviceHAPeerIP + oid: 1.3.6.1.4.1.2604.5.1.4.10 + type: InetAddressIPv4 + help: Peer device IP Address - 1.3.6.1.4.1.2604.5.1.4.10 + - name: sfosDeviceAuxAdminPort + oid: 1.3.6.1.4.1.2604.5.1.4.11.1 + type: DisplayString + help: SFOS Auxiliary Admin Port - 1.3.6.1.4.1.2604.5.1.4.11.1 + - name: sfosDeviceHAAuxAdminIP + oid: 1.3.6.1.4.1.2604.5.1.4.11.2 + type: InetAddressIPv4 + help: SFOS Auxiliary Admin IP - 1.3.6.1.4.1.2604.5.1.4.11.2 + - name: sfosDeviceHAAuxAdminIPv6 + oid: 1.3.6.1.4.1.2604.5.1.4.11.3 + type: OctetString + help: SFOS Auxiliary Admin IPv6 - 1.3.6.1.4.1.2604.5.1.4.11.3 + - name: sfosBaseFWLicRegStatus + oid: 1.3.6.1.4.1.2604.5.1.5.1.1 + type: EnumAsStateSet + help: Base Firewall protection Lic status - 1.3.6.1.4.1.2604.5.1.5.1.1 + enum_values: + 0: none + 1: evaluating + 2: notsubscribed + 3: subscribed + 4: expired + 5: deactivated + - name: sfosBaseFWLicExpiryDate + oid: 1.3.6.1.4.1.2604.5.1.5.1.2 + type: ParseDateAndTime + help: Base Firewall protection Lic expiry date - 1.3.6.1.4.1.2604.5.1.5.1.2 + datetime_pattern: '%b %d %Y' + - name: sfosNetProtectionLicRegStatus + oid: 1.3.6.1.4.1.2604.5.1.5.2.1 + type: EnumAsStateSet + help: Network Protection registration Lic status - 1.3.6.1.4.1.2604.5.1.5.2.1 + enum_values: + 0: none + 1: evaluating + 2: notsubscribed + 3: subscribed + 4: expired + 5: deactivated + - name: sfosNetProtectionLicExpiryDate + oid: 1.3.6.1.4.1.2604.5.1.5.2.2 + type: ParseDateAndTime + help: Network Protection Lic Expiry Date - 1.3.6.1.4.1.2604.5.1.5.2.2 + datetime_pattern: '%b %d %Y' + - name: sfosWebProtectionLicRegStatus + oid: 1.3.6.1.4.1.2604.5.1.5.3.1 + type: EnumAsStateSet + help: Web Protection registration Lic status - 1.3.6.1.4.1.2604.5.1.5.3.1 + enum_values: + 0: none + 1: evaluating + 2: notsubscribed + 3: subscribed + 4: expired + 5: deactivated + - name: sfosWebProtectionLicExpiryDate + oid: 1.3.6.1.4.1.2604.5.1.5.3.2 + type: ParseDateAndTime + help: Web Protection Lic Expiry Date - 1.3.6.1.4.1.2604.5.1.5.3.2 + datetime_pattern: '%b %d %Y' + - name: sfosMailProtectionLicRegStatus + oid: 1.3.6.1.4.1.2604.5.1.5.4.1 + type: EnumAsStateSet + help: EMail Protection Lic Status - 1.3.6.1.4.1.2604.5.1.5.4.1 + enum_values: + 0: none + 1: evaluating + 2: notsubscribed + 3: subscribed + 4: expired + 5: deactivated + - name: sfosMailProtectionLicExpiryDate + oid: 1.3.6.1.4.1.2604.5.1.5.4.2 + type: ParseDateAndTime + help: EMail Protection Lic Expiry Date - 1.3.6.1.4.1.2604.5.1.5.4.2 + datetime_pattern: '%b %d %Y' + - name: sfosWebServerProtectionLicRegStatus + oid: 1.3.6.1.4.1.2604.5.1.5.5.1 + type: EnumAsStateSet + help: web server Protection Lic status - 1.3.6.1.4.1.2604.5.1.5.5.1 + enum_values: + 0: none + 1: evaluating + 2: notsubscribed + 3: subscribed + 4: expired + 5: deactivated + - name: sfosWebServerProtectionLicExpiryDate + oid: 1.3.6.1.4.1.2604.5.1.5.5.2 + type: ParseDateAndTime + help: web server Protection Lic Expiry Date - 1.3.6.1.4.1.2604.5.1.5.5.2 + datetime_pattern: '%b %d %Y' + - name: sfosSandstromLicRegStatus + oid: 1.3.6.1.4.1.2604.5.1.5.6.1 + type: EnumAsStateSet + help: sandstrom Protection Lic status - 1.3.6.1.4.1.2604.5.1.5.6.1 + enum_values: + 0: none + 1: evaluating + 2: notsubscribed + 3: subscribed + 4: expired + 5: deactivated + - name: sfosSandstromLicExpiryDate + oid: 1.3.6.1.4.1.2604.5.1.5.6.2 + type: ParseDateAndTime + help: sandstrom Protection Lic Expiry Date - 1.3.6.1.4.1.2604.5.1.5.6.2 + datetime_pattern: '%b %d %Y' + - name: sfosEnhancedSupportLicRegStatus + oid: 1.3.6.1.4.1.2604.5.1.5.7.1 + type: EnumAsStateSet + help: Enhanced Support Lic Status - 1.3.6.1.4.1.2604.5.1.5.7.1 + enum_values: + 0: none + 1: evaluating + 2: notsubscribed + 3: subscribed + 4: expired + 5: deactivated + - name: sfosEnhancedSupportLicExpiryDate + oid: 1.3.6.1.4.1.2604.5.1.5.7.2 + type: ParseDateAndTime + help: Enhanced Support Lic expiry date - 1.3.6.1.4.1.2604.5.1.5.7.2 + datetime_pattern: '%b %d %Y' + - name: sfosEnhancedPlusLicRegStatus + oid: 1.3.6.1.4.1.2604.5.1.5.8.1 + type: EnumAsStateSet + help: Enhanced Plus Support Lic Status - 1.3.6.1.4.1.2604.5.1.5.8.1 + enum_values: + 0: none + 1: evaluating + 2: notsubscribed + 3: subscribed + 4: expired + 5: deactivated + - name: sfosEnhancedPlusLicExpiryDate + oid: 1.3.6.1.4.1.2604.5.1.5.8.2 + type: ParseDateAndTime + help: Enhanced Plus Support Lic expiry date - 1.3.6.1.4.1.2604.5.1.5.8.2 + datetime_pattern: '%b %d %Y' + - name: sfosCentralOrchestrationLicRegStatus + oid: 1.3.6.1.4.1.2604.5.1.5.9.1 + type: EnumAsStateSet + help: Central Orchestration registration Lic Status - 1.3.6.1.4.1.2604.5.1.5.9.1 + enum_values: + 0: none + 1: evaluating + 2: notsubscribed + 3: subscribed + 4: expired + 5: deactivated + - name: sfosCentralOrchestrationLicExpiryDate + oid: 1.3.6.1.4.1.2604.5.1.5.9.2 + type: ParseDateAndTime + help: Central Orchestration Lic expiry date - 1.3.6.1.4.1.2604.5.1.5.9.2 + datetime_pattern: '%b %d %Y' synology: walk: - 1.3.6.1.4.1.6574.1 From bacd0591e2cc12b5b8e8f02df1625afc3b254f85 Mon Sep 17 00:00:00 2001 From: prombot Date: Tue, 17 Sep 2024 17:48:16 +0000 Subject: [PATCH 09/25] Update common Prometheus files Signed-off-by: prombot --- Makefile.common | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.common b/Makefile.common index 34d65bb5..cbb5d863 100644 --- a/Makefile.common +++ b/Makefile.common @@ -275,3 +275,9 @@ $(1)_precheck: exit 1; \ fi endef + +govulncheck: install-govulncheck + govulncheck ./... + +install-govulncheck: + command -v govulncheck > /dev/null || go install golang.org/x/vuln/cmd/govulncheck@latest From efa792c7919a62ebe803137b9f9b6aa5aeae8254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Urmas=20N=C3=A4rep?= Date: Sat, 21 Sep 2024 08:50:22 +0300 Subject: [PATCH 10/25] Set UseUnconnectedUDPSocket option if one of the modules has if set MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Urmas Närep --- collector/collector.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/collector/collector.go b/collector/collector.go index 522b7ab8..b531ee83 100644 --- a/collector/collector.go +++ b/collector/collector.go @@ -440,9 +440,18 @@ func (c Collector) Collect(ch chan<- prometheus.Metric) { ch <- prometheus.NewInvalidMetric(prometheus.NewDesc("snmp_error", "Error during initialisation of the Worker", nil, nil), err) return } + // Set UseUnconnectedSocket option if at least one module has it set + useUnconnectedUDPSocket := false + for _, m := range c.modules { + if m.WalkParams.UseUnconnectedUDPSocket { + useUnconnectedUDPSocket = true + break + } + } // Set the options. client.SetOptions(func(g *gosnmp.GoSNMP) { g.Context = ctx + g.UseUnconnectedUDPSocket = useUnconnectedUDPSocket c.auth.ConfigureSNMP(g, c.snmpContext) }) if err = client.Connect(); err != nil { From a005e3e7616992d4d7c048c6eb52bce5e58d7ba0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 02:48:26 +0000 Subject: [PATCH 11/25] Bump github.com/prometheus/client_golang from 1.20.3 to 1.20.4 Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.3 to 1.20.4. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.20.3...v1.20.4) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index dc024a2a..ffa92930 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/go-kit/log v0.2.1 github.com/gosnmp/gosnmp v1.38.0 github.com/itchyny/timefmt-go v0.1.6 - github.com/prometheus/client_golang v1.20.3 + github.com/prometheus/client_golang v1.20.4 github.com/prometheus/client_model v0.6.1 github.com/prometheus/common v0.57.0 github.com/prometheus/exporter-toolkit v0.11.0 diff --git a/go.sum b/go.sum index 26bd3768..d451aa5e 100644 --- a/go.sum +++ b/go.sum @@ -38,8 +38,8 @@ github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+ github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v1.20.3 h1:oPksm4K8B+Vt35tUhw6GbSNSgVlVSBH0qELP/7u83l4= -github.com/prometheus/client_golang v1.20.3/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= +github.com/prometheus/client_golang v1.20.4 h1:Tgh3Yr67PaOv/uTqloMsCEdeuFTatm5zIq5+qNN23vI= +github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.57.0 h1:Ro/rKjwdq9mZn1K5QPctzh+MA4Lp0BuYk5ZZEVhoNcY= From 1992ef1238923a7caa76953fa8b5472e08625368 Mon Sep 17 00:00:00 2001 From: PrometheusBot Date: Thu, 3 Oct 2024 10:07:56 +0200 Subject: [PATCH 12/25] Update common Prometheus files (#1255) Signed-off-by: prombot --- .github/workflows/golangci-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index a15cfc97..1c099932 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Install Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: From dd39255c93e0966ce09414a3b880dd98d54bac3b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Oct 2024 10:08:23 +0200 Subject: [PATCH 13/25] Bump github.com/prometheus/common from 0.57.0 to 0.60.0 (#1254) Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.57.0 to 0.60.0. - [Release notes](https://github.com/prometheus/common/releases) - [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md) - [Commits](https://github.com/prometheus/common/compare/v0.57.0...v0.60.0) --- updated-dependencies: - dependency-name: github.com/prometheus/common dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 14 +++++++------- go.sum | 28 ++++++++++++++-------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/go.mod b/go.mod index ffa92930..e4e1e0d2 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/itchyny/timefmt-go v0.1.6 github.com/prometheus/client_golang v1.20.4 github.com/prometheus/client_model v0.6.1 - github.com/prometheus/common v0.57.0 + github.com/prometheus/common v0.60.0 github.com/prometheus/exporter-toolkit v0.11.0 gopkg.in/yaml.v2 v2.4.0 ) @@ -26,11 +26,11 @@ require ( github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect github.com/prometheus/procfs v0.15.1 // indirect github.com/xhit/go-str2duration/v2 v2.1.0 // indirect - golang.org/x/crypto v0.25.0 // indirect - golang.org/x/net v0.27.0 // indirect - golang.org/x/oauth2 v0.21.0 // indirect - golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.22.0 // indirect - golang.org/x/text v0.16.0 // indirect + golang.org/x/crypto v0.27.0 // indirect + golang.org/x/net v0.29.0 // indirect + golang.org/x/oauth2 v0.23.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.25.0 // indirect + golang.org/x/text v0.18.0 // indirect google.golang.org/protobuf v1.34.2 // indirect ) diff --git a/go.sum b/go.sum index d451aa5e..cc75b2cb 100644 --- a/go.sum +++ b/go.sum @@ -42,8 +42,8 @@ github.com/prometheus/client_golang v1.20.4 h1:Tgh3Yr67PaOv/uTqloMsCEdeuFTatm5zI github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= -github.com/prometheus/common v0.57.0 h1:Ro/rKjwdq9mZn1K5QPctzh+MA4Lp0BuYk5ZZEVhoNcY= -github.com/prometheus/common v0.57.0/go.mod h1:7uRPFSUTbfZWsJ7MHY56sqt7hLQu3bxXHDnNhl8E9qI= +github.com/prometheus/common v0.60.0 h1:+V9PAREWNvJMAuJ1x1BaWl9dewMW4YrHZQbx0sJNllA= +github.com/prometheus/common v0.60.0/go.mod h1:h0LYf1R1deLSKtD4Vdg8gy4RuOvENW2J/h19V5NADQw= github.com/prometheus/exporter-toolkit v0.11.0 h1:yNTsuZ0aNCNFQ3aFTD2uhPOvr4iD7fdBvKPAEGkNf+g= github.com/prometheus/exporter-toolkit v0.11.0/go.mod h1:BVnENhnNecpwoTLiABx7mrPB/OLRIgN74qlQbV+FK1Q= github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= @@ -56,18 +56,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc= github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= -golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30= -golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= -golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys= -golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= -golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs= -golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= -golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= -golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= -golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= +golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= +golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= +golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= +golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs= +golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= +golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= +golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From dc969630b2fb34deba97d7bf7807ed05bff0d2f8 Mon Sep 17 00:00:00 2001 From: TJ Hoplock <33664289+tjhop@users.noreply.github.com> Date: Thu, 3 Oct 2024 11:27:40 -0400 Subject: [PATCH 14/25] chore!: adopt log/slog, drop go-kit/log (#1249) This PR includes: - Go version updates, so that `log/slog` can be used - linter updates to remove configs for `go-kit/log` that are no longer needed, and enable `sloglint` linter - Go dep updates for prometheus/{client_golang,common,exporter-toolkit} libs The bulk of this PR was automated by the following script which is being used to aid in converting the various exporters/projects to use slog: https://gist.github.com/tjhop/49f96fb7ebbe55b12deee0b0312d8434 Builds and passes tests. Signed-off-by: TJ Hoplock --- .circleci/config.yml | 2 +- .golangci.yml | 3 +- .promu.yml | 2 +- collector/collector.go | 73 ++++++++++++++++++------------------- collector/collector_test.go | 14 +++---- generator/main.go | 35 +++++++++--------- generator/net_snmp.go | 8 ++-- generator/tree.go | 18 ++++----- generator/tree_test.go | 8 ++-- go.mod | 10 +++-- go.sum | 12 +++--- main.go | 43 +++++++++++----------- scraper/gosnmp.go | 18 ++++----- 13 files changed, 119 insertions(+), 127 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e2b856d7..b90c31bd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ executors: # should also be updated. golang: docker: - - image: cimg/go:1.22 + - image: cimg/go:1.23 parameters: working_dir: type: string diff --git a/.golangci.yml b/.golangci.yml index 8ae9b68e..2e6dbf23 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,6 +2,7 @@ linters: enable: - misspell - revive + - sloglint disable: # Disable soon to deprecated[1] linters that lead to false # positives when build tags disable certain files[2] @@ -24,8 +25,6 @@ linters-settings: exclude-functions: # Used in HTTP handlers, any error is handled by the server itself. - (net/http.ResponseWriter).Write - # Never check for logger errors. - - (github.com/go-kit/log.Logger).Log revive: rules: # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter diff --git a/.promu.yml b/.promu.yml index 212c0e77..bfe1c531 100644 --- a/.promu.yml +++ b/.promu.yml @@ -1,7 +1,7 @@ go: # Whenever the Go version is updated here, # .circle/config.yml should also be updated. - version: 1.22 + version: 1.23 repository: path: github.com/prometheus/snmp_exporter build: diff --git a/collector/collector.go b/collector/collector.go index 522b7ab8..123ef5c2 100644 --- a/collector/collector.go +++ b/collector/collector.go @@ -17,6 +17,7 @@ import ( "context" "encoding/binary" "fmt" + "log/slog" "net" "regexp" "strconv" @@ -25,8 +26,6 @@ import ( "time" "github.com/alecthomas/kingpin/v2" - "github.com/go-kit/log" - "github.com/go-kit/log/level" "github.com/gosnmp/gosnmp" "github.com/itchyny/timefmt-go" "github.com/prometheus/client_golang/prometheus" @@ -82,7 +81,7 @@ type ScrapeResults struct { pdus []gosnmp.SnmpPDU } -func ScrapeTarget(snmp scraper.SNMPScraper, target string, auth *config.Auth, module *config.Module, logger log.Logger, metrics Metrics) (ScrapeResults, error) { +func ScrapeTarget(snmp scraper.SNMPScraper, target string, auth *config.Auth, module *config.Module, logger *slog.Logger, metrics Metrics) (ScrapeResults, error) { results := ScrapeResults{} // Evaluate rules. newGet := module.Get @@ -92,7 +91,7 @@ func ScrapeTarget(snmp scraper.SNMPScraper, target string, auth *config.Auth, mo pdus, err := snmp.WalkAll(filter.Oid) // Do not try to filter anything if we had errors. if err != nil { - level.Info(logger).Log("msg", "Error getting OID, won't do any filter on this oid", "oid", filter.Oid) + logger.Info("Error getting OID, won't do any filter on this oid", "oid", filter.Oid) continue } @@ -129,7 +128,7 @@ func ScrapeTarget(snmp scraper.SNMPScraper, target string, auth *config.Auth, mo } // SNMPv1 will return packet error for unsupported OIDs. if packet.Error == gosnmp.NoSuchName && version == 1 { - level.Debug(logger).Log("msg", "OID not supported by target", "oids", getOids[0]) + logger.Debug("OID not supported by target", "oids", getOids[0]) getOids = getOids[oids:] continue } @@ -140,7 +139,7 @@ func ScrapeTarget(snmp scraper.SNMPScraper, target string, auth *config.Auth, mo } for _, v := range packet.Variables { if v.Type == gosnmp.NoSuchObject || v.Type == gosnmp.NoSuchInstance { - level.Debug(logger).Log("msg", "OID not supported by target", "oids", v.Name) + logger.Debug("OID not supported by target", "oids", v.Name) continue } results.pdus = append(results.pdus, v) @@ -176,13 +175,13 @@ func configureTarget(g *gosnmp.GoSNMP, target string) error { return nil } -func filterAllowedIndices(logger log.Logger, filter config.DynamicFilter, pdus []gosnmp.SnmpPDU, allowedList []string, metrics Metrics) []string { - level.Debug(logger).Log("msg", "Evaluating rule for oid", "oid", filter.Oid) +func filterAllowedIndices(logger *slog.Logger, filter config.DynamicFilter, pdus []gosnmp.SnmpPDU, allowedList []string, metrics Metrics) []string { + logger.Debug("Evaluating rule for oid", "oid", filter.Oid) for _, pdu := range pdus { found := false for _, val := range filter.Values { snmpval := pduValueAsString(&pdu, "DisplayString", metrics) - level.Debug(logger).Log("config value", val, "snmp value", snmpval) + logger.Debug("evaluating filters", "config value", val, "snmp value", snmpval) if regexp.MustCompile(val).MatchString(snmpval) { found = true @@ -192,20 +191,20 @@ func filterAllowedIndices(logger log.Logger, filter config.DynamicFilter, pdus [ if found { pduArray := strings.Split(pdu.Name, ".") index := pduArray[len(pduArray)-1] - level.Debug(logger).Log("msg", "Caching index", "index", index) + logger.Debug("Caching index", "index", index) allowedList = append(allowedList, index) } } return allowedList } -func updateWalkConfig(walkConfig []string, filter config.DynamicFilter, logger log.Logger) []string { +func updateWalkConfig(walkConfig []string, filter config.DynamicFilter, logger *slog.Logger) []string { newCfg := []string{} for _, elem := range walkConfig { found := false for _, targetOid := range filter.Targets { if elem == targetOid { - level.Debug(logger).Log("msg", "Deleting for walk configuration", "oid", targetOid) + logger.Debug("Deleting for walk configuration", "oid", targetOid) found = true break } @@ -218,7 +217,7 @@ func updateWalkConfig(walkConfig []string, filter config.DynamicFilter, logger l return newCfg } -func updateGetConfig(getConfig []string, filter config.DynamicFilter, logger log.Logger) []string { +func updateGetConfig(getConfig []string, filter config.DynamicFilter, logger *slog.Logger) []string { newCfg := []string{} for _, elem := range getConfig { found := false @@ -230,17 +229,17 @@ func updateGetConfig(getConfig []string, filter config.DynamicFilter, logger log } // Oid not found in targets, we keep it. if !found { - level.Debug(logger).Log("msg", "Keeping get configuration", "oid", elem) + logger.Debug("Keeping get configuration", "oid", elem) newCfg = append(newCfg, elem) } } return newCfg } -func addAllowedIndices(filter config.DynamicFilter, allowedList []string, logger log.Logger, newCfg []string) []string { +func addAllowedIndices(filter config.DynamicFilter, allowedList []string, logger *slog.Logger, newCfg []string) []string { for _, targetOid := range filter.Targets { for _, index := range allowedList { - level.Debug(logger).Log("msg", "Adding get configuration", "oid", targetOid+"."+index) + logger.Debug("Adding get configuration", "oid", targetOid+"."+index) newCfg = append(newCfg, targetOid+"."+index) } } @@ -297,14 +296,14 @@ type Collector struct { auth *config.Auth authName string modules []*NamedModule - logger log.Logger + logger *slog.Logger metrics Metrics concurrency int snmpContext string debugSNMP bool } -func New(ctx context.Context, target, authName, snmpContext string, auth *config.Auth, modules []*NamedModule, logger log.Logger, metrics Metrics, conc int, debugSNMP bool) *Collector { +func New(ctx context.Context, target, authName, snmpContext string, auth *config.Auth, modules []*NamedModule, logger *slog.Logger, metrics Metrics, conc int, debugSNMP bool) *Collector { return &Collector{ ctx: ctx, target: target, @@ -312,7 +311,7 @@ func New(ctx context.Context, target, authName, snmpContext string, auth *config auth: auth, modules: modules, snmpContext: snmpContext, - logger: log.With(logger, "source_address", *srcAddress), + logger: logger.With("source_address", *srcAddress), metrics: metrics, concurrency: conc, debugSNMP: debugSNMP, @@ -324,7 +323,7 @@ func (c Collector) Describe(ch chan<- *prometheus.Desc) { ch <- prometheus.NewDesc("dummy", "dummy", nil, nil) } -func (c Collector) collect(ch chan<- prometheus.Metric, logger log.Logger, client scraper.SNMPScraper, module *NamedModule) { +func (c Collector) collect(ch chan<- prometheus.Metric, logger *slog.Logger, client scraper.SNMPScraper, module *NamedModule) { var ( packets uint64 retries uint64 @@ -365,7 +364,7 @@ func (c Collector) collect(ch chan<- prometheus.Metric, logger log.Logger, clien results, err := ScrapeTarget(client, c.target, c.auth, module.Module, logger, c.metrics) c.metrics.SNMPInflight.Dec() if err != nil { - level.Info(logger).Log("msg", "Error scraping target", "err", err) + logger.Info("Error scraping target", "err", err) ch <- prometheus.NewInvalidMetric(prometheus.NewDesc("snmp_error", "Error scraping target", nil, moduleLabel), err) return } @@ -432,10 +431,10 @@ func (c Collector) Collect(ch chan<- prometheus.Metric) { wg.Add(1) go func(i int) { defer wg.Done() - logger := log.With(c.logger, "worker", i) + logger := c.logger.With("worker", i) client, err := scraper.NewGoSNMP(logger, c.target, *srcAddress, c.debugSNMP) if err != nil { - level.Info(logger).Log("msg", err) + logger.Info("Failed to create snmp srape client", "err", err) cancel() ch <- prometheus.NewInvalidMetric(prometheus.NewDesc("snmp_error", "Error during initialisation of the Worker", nil, nil), err) return @@ -446,19 +445,19 @@ func (c Collector) Collect(ch chan<- prometheus.Metric) { c.auth.ConfigureSNMP(g, c.snmpContext) }) if err = client.Connect(); err != nil { - level.Info(logger).Log("msg", "Error connecting to target", "err", err) + logger.Info("Error connecting to target", "err", err) ch <- prometheus.NewInvalidMetric(prometheus.NewDesc("snmp_error", "Error connecting to target", nil, nil), err) cancel() return } defer client.Close() for m := range workerChan { - _logger := log.With(logger, "module", m.name) - level.Debug(_logger).Log("msg", "Starting scrape") + _logger := logger.With("module", m.name) + _logger.Debug("Starting scrape") start := time.Now() c.collect(ch, _logger, client, m) duration := time.Since(start).Seconds() - level.Debug(_logger).Log("msg", "Finished scrape", "duration_seconds", duration) + _logger.Debug("Finished scrape", "duration_seconds", duration) c.metrics.SNMPCollectionDuration.WithLabelValues(m.name).Observe(duration) } }(i) @@ -472,9 +471,9 @@ func (c Collector) Collect(ch chan<- prometheus.Metric) { select { case <-ctx.Done(): done = true - level.Debug(c.logger).Log("msg", "Context canceled", "err", ctx.Err(), "module", module.name) + c.logger.Debug("Context canceled", "err", ctx.Err(), "module", module.name) case workerChan <- module: - level.Debug(c.logger).Log("msg", "Sent module to worker", "module", module.name) + c.logger.Debug("Sent module to worker", "module", module.name) } } close(workerChan) @@ -554,7 +553,7 @@ func parseDateAndTimeWithPattern(metric *config.Metric, pdu *gosnmp.SnmpPDU, met return float64(t.Unix()), nil } -func pduToSamples(indexOids []int, pdu *gosnmp.SnmpPDU, metric *config.Metric, oidToPdu map[string]gosnmp.SnmpPDU, logger log.Logger, metrics Metrics) []prometheus.Metric { +func pduToSamples(indexOids []int, pdu *gosnmp.SnmpPDU, metric *config.Metric, oidToPdu map[string]gosnmp.SnmpPDU, logger *slog.Logger, metrics Metrics) []prometheus.Metric { var err error // The part of the OID that is the indexes. labels := indexesToLabels(indexOids, metric, oidToPdu, metrics) @@ -580,14 +579,14 @@ func pduToSamples(indexOids []int, pdu *gosnmp.SnmpPDU, metric *config.Metric, o t = prometheus.GaugeValue value, err = parseDateAndTime(pdu) if err != nil { - level.Debug(logger).Log("msg", "Error parsing DateAndTime", "err", err) + logger.Debug("Error parsing DateAndTime", "err", err) return []prometheus.Metric{} } case "ParseDateAndTime": t = prometheus.GaugeValue value, err = parseDateAndTimeWithPattern(metric, pdu, metrics) if err != nil { - level.Debug(logger).Log("msg", "Error parsing ParseDateAndTime", "err", err) + logger.Debug("Error parsing ParseDateAndTime", "err", err) return []prometheus.Metric{} } case "EnumAsInfo": @@ -611,11 +610,11 @@ func pduToSamples(indexOids []int, pdu *gosnmp.SnmpPDU, metric *config.Metric, o metricType = t } else { metricType = "OctetString" - level.Debug(logger).Log("msg", "Unable to handle type value", "value", val, "oid", prevOid, "metric", metric.Name) + logger.Debug("Unable to handle type value", "value", val, "oid", prevOid, "metric", metric.Name) } } else { metricType = "OctetString" - level.Debug(logger).Log("msg", "Unable to find type at oid for metric", "oid", prevOid, "metric", metric.Name) + logger.Debug("Unable to find type at oid for metric", "oid", prevOid, "metric", metric.Name) } } @@ -645,19 +644,19 @@ func pduToSamples(indexOids []int, pdu *gosnmp.SnmpPDU, metric *config.Metric, o return []prometheus.Metric{sample} } -func applyRegexExtracts(metric *config.Metric, pduValue string, labelnames, labelvalues []string, logger log.Logger) []prometheus.Metric { +func applyRegexExtracts(metric *config.Metric, pduValue string, labelnames, labelvalues []string, logger *slog.Logger) []prometheus.Metric { results := []prometheus.Metric{} for name, strMetricSlice := range metric.RegexpExtracts { for _, strMetric := range strMetricSlice { indexes := strMetric.Regex.FindStringSubmatchIndex(pduValue) if indexes == nil { - level.Debug(logger).Log("msg", "No match found for regexp", "metric", metric.Name, "value", pduValue, "regex", strMetric.Regex.String()) + logger.Debug("No match found for regexp", "metric", metric.Name, "value", pduValue, "regex", strMetric.Regex.String()) continue } res := strMetric.Regex.ExpandString([]byte{}, strMetric.Value, pduValue, indexes) v, err := strconv.ParseFloat(string(res), 64) if err != nil { - level.Debug(logger).Log("msg", "Error parsing float64 from value", "metric", metric.Name, "value", pduValue, "regex", strMetric.Regex.String(), "extracted_value", res) + logger.Debug("Error parsing float64 from value", "metric", metric.Name, "value", pduValue, "regex", strMetric.Regex.String(), "extracted_value", res) continue } newMetric, err := prometheus.NewConstMetric(prometheus.NewDesc(metric.Name+name, metric.Help+" (regex extracted)", labelnames, nil), diff --git a/collector/collector_test.go b/collector/collector_test.go index df1b6ded..b8ba8254 100644 --- a/collector/collector_test.go +++ b/collector/collector_test.go @@ -21,9 +21,9 @@ import ( "testing" kingpin "github.com/alecthomas/kingpin/v2" - "github.com/go-kit/log" "github.com/gosnmp/gosnmp" io_prometheus_client "github.com/prometheus/client_model/go" + "github.com/prometheus/common/promslog" "github.com/prometheus/snmp_exporter/config" "github.com/prometheus/snmp_exporter/scraper" @@ -571,7 +571,7 @@ func TestPduToSample(t *testing.T) { } for _, c := range cases { - metrics := pduToSamples(c.indexOids, c.pdu, c.metric, c.oidToPdu, log.NewNopLogger(), Metrics{}) + metrics := pduToSamples(c.indexOids, c.pdu, c.metric, c.oidToPdu, promslog.NewNopLogger(), Metrics{}) metric := &io_prometheus_client.Metric{} expected := map[string]struct{}{} for _, e := range c.expectedMetrics { @@ -1336,7 +1336,7 @@ func TestFilterAllowedIndices(t *testing.T) { }, } for _, c := range cases { - got := filterAllowedIndices(log.NewNopLogger(), c.filter, pdus, c.allowedList, Metrics{}) + got := filterAllowedIndices(promslog.NewNopLogger(), c.filter, pdus, c.allowedList, Metrics{}) if !reflect.DeepEqual(got, c.result) { t.Errorf("filterAllowedIndices(%v): got %v, want %v", c.filter, got, c.result) } @@ -1367,7 +1367,7 @@ func TestUpdateWalkConfig(t *testing.T) { } walkConfig := []string{"1.3.6.1.2.1.2.2.1.3", "1.3.6.1.2.1.2.2.1.5", "1.3.6.1.2.1.2.2.1.7"} for _, c := range cases { - got := updateWalkConfig(walkConfig, c.filter, log.NewNopLogger()) + got := updateWalkConfig(walkConfig, c.filter, promslog.NewNopLogger()) if !reflect.DeepEqual(got, c.result) { t.Errorf("updateWalkConfig(%v): got %v, want %v", c.filter, got, c.result) } @@ -1398,7 +1398,7 @@ func TestUpdateGetConfig(t *testing.T) { } getConfig := []string{"1.3.6.1.2.1.2.2.1.3", "1.3.6.1.2.1.2.2.1.5", "1.3.6.1.2.1.2.2.1.7"} for _, c := range cases { - got := updateGetConfig(getConfig, c.filter, log.NewNopLogger()) + got := updateGetConfig(getConfig, c.filter, promslog.NewNopLogger()) if !reflect.DeepEqual(got, c.result) { t.Errorf("updateGetConfig(%v): got %v, want %v", c.filter, got, c.result) } @@ -1430,7 +1430,7 @@ func TestAddAllowedIndices(t *testing.T) { allowedList := []string{"2", "3"} newCfg := []string{"1.3.6.1.2.1.31.1.1.1.10", "1.3.6.1.2.1.31.1.1.1.11"} for _, c := range cases { - got := addAllowedIndices(c.filter, allowedList, log.NewNopLogger(), newCfg) + got := addAllowedIndices(c.filter, allowedList, promslog.NewNopLogger(), newCfg) if !reflect.DeepEqual(got, c.result) { t.Errorf("addAllowedIndices(%v): got %v, want %v", c.filter, got, c.result) } @@ -1520,7 +1520,7 @@ func TestScrapeTarget(t *testing.T) { tt := c t.Run(tt.name, func(t *testing.T) { mock := scraper.NewMockSNMPScraper(tt.getResponse, tt.walkResponses) - results, err := ScrapeTarget(mock, "someTarget", auth, tt.module, log.NewNopLogger(), Metrics{}) + results, err := ScrapeTarget(mock, "someTarget", auth, tt.module, promslog.NewNopLogger(), Metrics{}) if err != nil { t.Errorf("ScrapeTarget returned an error: %v", err) } diff --git a/generator/main.go b/generator/main.go index 32110af2..37adbdf4 100644 --- a/generator/main.go +++ b/generator/main.go @@ -15,16 +15,15 @@ package main import ( "fmt" + "log/slog" "os" "path/filepath" "regexp" "strings" "github.com/alecthomas/kingpin/v2" - "github.com/go-kit/log" - "github.com/go-kit/log/level" - "github.com/prometheus/common/promlog" - "github.com/prometheus/common/promlog/flag" + "github.com/prometheus/common/promslog" + "github.com/prometheus/common/promslog/flag" "gopkg.in/yaml.v2" "github.com/prometheus/snmp_exporter/config" @@ -35,7 +34,7 @@ var ( ) // Generate a snmp_exporter config and write it out. -func generateConfig(nodes *Node, nameToNode map[string]*Node, logger log.Logger) error { +func generateConfig(nodes *Node, nameToNode map[string]*Node, logger *slog.Logger) error { outputPath, err := filepath.Abs(*outputPath) if err != nil { return fmt.Errorf("unable to determine absolute path for output") @@ -55,7 +54,7 @@ func generateConfig(nodes *Node, nameToNode map[string]*Node, logger log.Logger) outputConfig.Auths = cfg.Auths outputConfig.Modules = make(map[string]*config.Module, len(cfg.Modules)) for name, m := range cfg.Modules { - level.Info(logger).Log("msg", "Generating config for module", "module", name) + logger.Info("Generating config for module", "module", name) // Give each module a copy of the tree so that it can be modified. mNodes := nodes.Copy() // Build the map with new pointers. @@ -70,7 +69,7 @@ func generateConfig(nodes *Node, nameToNode map[string]*Node, logger log.Logger) } outputConfig.Modules[name] = out outputConfig.Modules[name].WalkParams = m.WalkParams - level.Info(logger).Log("msg", "Generated metrics", "module", name, "metrics", len(outputConfig.Modules[name].Metrics)) + logger.Info("Generated metrics", "module", name, "metrics", len(outputConfig.Modules[name].Metrics)) } config.DoNotHideSecrets = true @@ -95,7 +94,7 @@ func generateConfig(nodes *Node, nameToNode map[string]*Node, logger log.Logger) if err != nil { return fmt.Errorf("error writing to output file: %s", err) } - level.Info(logger).Log("msg", "Config written", "file", outputPath) + logger.Info("Config written", "file", outputPath) return nil } @@ -111,15 +110,15 @@ var ( ) func main() { - promlogConfig := &promlog.Config{} - flag.AddFlags(kingpin.CommandLine, promlogConfig) + promslogConfig := &promslog.Config{} + flag.AddFlags(kingpin.CommandLine, promslogConfig) kingpin.HelpFlag.Short('h') command := kingpin.Parse() - logger := promlog.New(promlogConfig) + logger := promslog.New(promslogConfig) output, err := initSNMP(logger) if err != nil { - level.Error(logger).Log("msg", "Error initializing netsnmp", "err", err) + logger.Error("Error initializing netsnmp", "err", err) os.Exit(1) } @@ -132,11 +131,11 @@ func main() { switch command { case generateCommand.FullCommand(): if *failOnParseErrors && parseErrors > 0 { - level.Error(logger).Log("msg", "Failing on reported parse error(s)", "help", "Use 'generator parse_errors' command to see errors, --no-fail-on-parse-errors to ignore") + logger.Error("Failing on reported parse error(s)", "help", "Use 'generator parse_errors' command to see errors, --no-fail-on-parse-errors to ignore") } else { err := generateConfig(nodes, nameToNode, logger) if err != nil { - level.Error(logger).Log("msg", "Error generating config netsnmp", "err", err) + logger.Error("Error generating config netsnmp", "err", err) os.Exit(1) } } @@ -144,7 +143,7 @@ func main() { if parseErrors > 0 { fmt.Printf("%s\n", strings.Join(parseOutput, "\n")) } else { - level.Info(logger).Log("msg", "No parse errors") + logger.Info("No parse errors") } case dumpCommand.FullCommand(): walkNode(nodes, func(n *Node) { @@ -165,7 +164,7 @@ func main() { } } -func scanParseOutput(logger log.Logger, output string) []string { +func scanParseOutput(logger *slog.Logger, output string) []string { var parseOutput []string output = strings.TrimSpace(strings.ToValidUTF8(output, "�")) if len(output) > 0 { @@ -174,13 +173,13 @@ func scanParseOutput(logger log.Logger, output string) []string { parseErrors := len(parseOutput) if parseErrors > 0 { - level.Warn(logger).Log("msg", "NetSNMP reported parse error(s)", "errors", parseErrors) + logger.Warn("NetSNMP reported parse error(s)", "errors", parseErrors) } for _, line := range parseOutput { if strings.HasPrefix(line, "Cannot find module") { missing := cannotFindModuleRE.FindStringSubmatch(line) - level.Error(logger).Log("msg", "Missing MIB", "mib", missing[1], "from", missing[2]) + logger.Error("Missing MIB", "mib", missing[1], "from", missing[2]) } } return parseOutput diff --git a/generator/net_snmp.go b/generator/net_snmp.go index 6ecb3544..fa435b9a 100644 --- a/generator/net_snmp.go +++ b/generator/net_snmp.go @@ -69,12 +69,10 @@ import "C" import ( "fmt" "io" + "log/slog" "os" "sort" "strings" - - "github.com/go-kit/log" - "github.com/go-kit/log/level" ) // One entry in the tree of the MIB. @@ -165,14 +163,14 @@ func getMibsDir(paths []string) string { // Initialize NetSNMP. Returns MIB parse errors. // // Warning: This function plays with the stderr file descriptor. -func initSNMP(logger log.Logger) (string, error) { +func initSNMP(logger *slog.Logger) (string, error) { // Load all the MIBs. err := os.Setenv("MIBS", "ALL") if err != nil { return "", err } mibsDir := getMibsDir(*userMibsDir) - level.Info(logger).Log("msg", "Loading MIBs", "from", mibsDir) + logger.Info("Loading MIBs", "from", mibsDir) C.netsnmp_set_mib_directory(C.CString(mibsDir)) if *snmpMIBOpts != "" { C.snmp_mib_toggle_options(C.CString(*snmpMIBOpts)) diff --git a/generator/tree.go b/generator/tree.go index 256cddc3..05c011b1 100644 --- a/generator/tree.go +++ b/generator/tree.go @@ -15,14 +15,12 @@ package main import ( "fmt" + "log/slog" "regexp" "sort" "strconv" "strings" - "github.com/go-kit/log" - "github.com/go-kit/log/level" - "github.com/prometheus/snmp_exporter/config" ) @@ -44,7 +42,7 @@ func walkNode(n *Node, f func(n *Node)) { } // Transform the tree. -func prepareTree(nodes *Node, logger log.Logger) map[string]*Node { +func prepareTree(nodes *Node, logger *slog.Logger) map[string]*Node { // Build a map from names and oids to nodes. nameToNode := map[string]*Node{} walkNode(nodes, func(n *Node) { @@ -80,7 +78,7 @@ func prepareTree(nodes *Node, logger log.Logger) map[string]*Node { } augmented, ok := nameToNode[n.Augments] if !ok { - level.Warn(logger).Log("msg", "Can't find augmenting node", "augments", n.Augments, "node", n.Label) + logger.Warn("Can't find augmenting node", "augments", n.Augments, "node", n.Label) return } for _, c := range n.Children { @@ -276,7 +274,7 @@ func getIndexNode(lookup string, nameToNode map[string]*Node, metricOid string) return nameToNode[lookup] } -func generateConfigModule(cfg *ModuleConfig, node *Node, nameToNode map[string]*Node, logger log.Logger) (*config.Module, error) { +func generateConfigModule(cfg *ModuleConfig, node *Node, nameToNode map[string]*Node, logger *slog.Logger) (*config.Module, error) { out := &config.Module{} needToWalk := map[string]struct{}{} tableInstances := map[string][]string{} @@ -289,7 +287,7 @@ func generateConfigModule(cfg *ModuleConfig, node *Node, nameToNode map[string]* // Find node to override. n, ok := nameToNode[name] if !ok { - level.Warn(logger).Log("msg", "Could not find node to override type", "node", name) + logger.Warn("Could not find node to override type", "node", name) continue } // params.Type validated at generator configuration. @@ -373,12 +371,12 @@ func generateConfigModule(cfg *ModuleConfig, node *Node, nameToNode map[string]* index := &config.Index{Labelname: i} indexNode, ok := nameToNode[i] if !ok { - level.Warn(logger).Log("msg", "Could not find index for node", "node", n.Label, "index", i) + logger.Warn("Could not find index for node", "node", n.Label, "index", i) return } index.Type, ok = metricType(indexNode.Type) if !ok { - level.Warn(logger).Log("msg", "Can't handle index type on node", "node", n.Label, "index", i, "type", indexNode.Type) + logger.Warn("Can't handle index type on node", "node", n.Label, "index", i, "type", indexNode.Type) return } index.FixedSize = indexNode.FixedSize @@ -394,7 +392,7 @@ func generateConfigModule(cfg *ModuleConfig, node *Node, nameToNode map[string]* } else if prev2Type == subtype { metric.Indexes = metric.Indexes[:len(metric.Indexes)-2] } else { - level.Warn(logger).Log("msg", "Can't handle index type on node, missing preceding", "node", n.Label, "type", index.Type, "missing", subtype) + logger.Warn("Can't handle index type on node, missing preceding", "node", n.Label, "type", index.Type, "missing", subtype) return } } diff --git a/generator/tree_test.go b/generator/tree_test.go index 297073a3..b22e0315 100644 --- a/generator/tree_test.go +++ b/generator/tree_test.go @@ -18,7 +18,7 @@ import ( "regexp" "testing" - "github.com/go-kit/log" + "github.com/prometheus/common/promslog" "github.com/prometheus/snmp_exporter/config" yaml "gopkg.in/yaml.v2" ) @@ -157,7 +157,7 @@ func TestTreePrepare(t *testing.T) { } }) - prepareTree(c.in, log.NewNopLogger()) + prepareTree(c.in, promslog.NewNopLogger()) if !reflect.DeepEqual(c.in, c.out) { t.Errorf("prepareTree: difference in case %d", i) @@ -2021,8 +2021,8 @@ func TestGenerateConfigModule(t *testing.T) { } } - nameToNode := prepareTree(c.node, log.NewNopLogger()) - got, err := generateConfigModule(c.cfg, c.node, nameToNode, log.NewNopLogger()) + nameToNode := prepareTree(c.node, promslog.NewNopLogger()) + got, err := generateConfigModule(c.cfg, c.node, nameToNode, promslog.NewNopLogger()) if err != nil { t.Errorf("Error generating config in case %d: %s", i, err) } diff --git a/go.mod b/go.mod index e4e1e0d2..8c17accc 100644 --- a/go.mod +++ b/go.mod @@ -1,16 +1,17 @@ module github.com/prometheus/snmp_exporter -go 1.21 +go 1.22 + +toolchain go1.23.1 require ( github.com/alecthomas/kingpin/v2 v2.4.0 - github.com/go-kit/log v0.2.1 github.com/gosnmp/gosnmp v1.38.0 github.com/itchyny/timefmt-go v0.1.6 github.com/prometheus/client_golang v1.20.4 github.com/prometheus/client_model v0.6.1 github.com/prometheus/common v0.60.0 - github.com/prometheus/exporter-toolkit v0.11.0 + github.com/prometheus/exporter-toolkit v0.13.0 gopkg.in/yaml.v2 v2.4.0 ) @@ -19,9 +20,10 @@ require ( github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/coreos/go-systemd/v22 v22.5.0 // indirect - github.com/go-logfmt/logfmt v0.5.1 // indirect github.com/jpillora/backoff v1.0.0 // indirect github.com/klauspost/compress v1.17.9 // indirect + github.com/mdlayher/socket v0.4.1 // indirect + github.com/mdlayher/vsock v1.2.1 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect github.com/prometheus/procfs v0.15.1 // indirect diff --git a/go.sum b/go.sum index cc75b2cb..c2ea4e23 100644 --- a/go.sum +++ b/go.sum @@ -11,10 +11,6 @@ github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSV github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU= -github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= -github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= -github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= @@ -32,6 +28,10 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +github.com/mdlayher/socket v0.4.1 h1:eM9y2/jlbs1M615oshPQOHZzj6R6wMT7bX5NPiQvn2U= +github.com/mdlayher/socket v0.4.1/go.mod h1:cAqeGjoufqdxWkD7DkpyS+wcefOtmu5OQ8KuoJGIReA= +github.com/mdlayher/vsock v1.2.1 h1:pC1mTJTvjo1r9n9fbm7S1j04rCgCzhCOS5DY0zqHlnQ= +github.com/mdlayher/vsock v1.2.1/go.mod h1:NRfCibel++DgeMD8z/hP+PPTjlNJsdPOmxcnENvE+SE= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= @@ -44,8 +44,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.60.0 h1:+V9PAREWNvJMAuJ1x1BaWl9dewMW4YrHZQbx0sJNllA= github.com/prometheus/common v0.60.0/go.mod h1:h0LYf1R1deLSKtD4Vdg8gy4RuOvENW2J/h19V5NADQw= -github.com/prometheus/exporter-toolkit v0.11.0 h1:yNTsuZ0aNCNFQ3aFTD2uhPOvr4iD7fdBvKPAEGkNf+g= -github.com/prometheus/exporter-toolkit v0.11.0/go.mod h1:BVnENhnNecpwoTLiABx7mrPB/OLRIgN74qlQbV+FK1Q= +github.com/prometheus/exporter-toolkit v0.13.0 h1:lmA0Q+8IaXgmFRKw09RldZmZdnvu9wwcDLIXGmTPw1c= +github.com/prometheus/exporter-toolkit v0.13.0/go.mod h1:2uop99EZl80KdXhv/MxVI2181fMcwlsumFOqBecGkG0= github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= diff --git a/main.go b/main.go index 9a6bd537..eee19722 100644 --- a/main.go +++ b/main.go @@ -15,6 +15,7 @@ package main import ( "fmt" + "log/slog" "net/http" _ "net/http/pprof" "os" @@ -24,14 +25,12 @@ import ( "syscall" "github.com/alecthomas/kingpin/v2" - "github.com/go-kit/log" - "github.com/go-kit/log/level" "github.com/prometheus/client_golang/prometheus" versioncollector "github.com/prometheus/client_golang/prometheus/collectors/version" "github.com/prometheus/client_golang/prometheus/promauto" "github.com/prometheus/client_golang/prometheus/promhttp" - "github.com/prometheus/common/promlog" - "github.com/prometheus/common/promlog/flag" + "github.com/prometheus/common/promslog" + "github.com/prometheus/common/promslog/flag" "github.com/prometheus/common/version" "github.com/prometheus/exporter-toolkit/web" webflag "github.com/prometheus/exporter-toolkit/web/kingpinflag" @@ -84,7 +83,7 @@ const ( configPath = "/config" ) -func handler(w http.ResponseWriter, r *http.Request, logger log.Logger, exporterMetrics collector.Metrics) { +func handler(w http.ResponseWriter, r *http.Request, logger *slog.Logger, exporterMetrics collector.Metrics) { query := r.URL.Query() debug := *debugSNMP @@ -92,7 +91,7 @@ func handler(w http.ResponseWriter, r *http.Request, logger log.Logger, exporter debug = true // TODO: This doesn't work the way I want. // logger = level.NewFilter(logger, level.AllowDebug()) - level.Debug(logger).Log("msg", "Debug query param enabled") + logger.Debug("Debug query param enabled") } target := query.Get("target") @@ -156,7 +155,7 @@ func handler(w http.ResponseWriter, r *http.Request, logger log.Logger, exporter nmodules = append(nmodules, collector.NewNamedModule(m, module)) } sc.RUnlock() - logger = log.With(logger, "auth", authName, "target", target) + logger = logger.With("auth", authName, "target", target) registry := prometheus.NewRegistry() c := collector.New(r.Context(), target, authName, snmpContext, auth, nmodules, logger, exporterMetrics, *concurrency, debug) registry.MustRegister(c) @@ -199,32 +198,32 @@ func (sc *SafeConfig) ReloadConfig(configFile []string, expandEnvVars bool) (err } func main() { - promlogConfig := &promlog.Config{} - flag.AddFlags(kingpin.CommandLine, promlogConfig) + promslogConfig := &promslog.Config{} + flag.AddFlags(kingpin.CommandLine, promslogConfig) kingpin.Version(version.Print("snmp_exporter")) kingpin.HelpFlag.Short('h') kingpin.Parse() - logger := promlog.New(promlogConfig) + logger := promslog.New(promslogConfig) if *concurrency < 1 { *concurrency = 1 } - level.Info(logger).Log("msg", "Starting snmp_exporter", "version", version.Info(), "concurrency", concurrency, "debug_snmp", debugSNMP) - level.Info(logger).Log("build_context", version.BuildContext()) + logger.Info("Starting snmp_exporter", "version", version.Info(), "concurrency", concurrency, "debug_snmp", debugSNMP) + logger.Info("operational information", "build_context", version.BuildContext()) prometheus.MustRegister(versioncollector.NewCollector("snmp_exporter")) // Bail early if the config is bad. err := sc.ReloadConfig(*configFile, *expandEnvVars) if err != nil { - level.Error(logger).Log("msg", "Error parsing config file", "err", err) - level.Error(logger).Log("msg", "Possible old config file, see https://github.com/prometheus/snmp_exporter/blob/main/auth-split-migration.md") + logger.Error("Error parsing config file", "err", err) + logger.Error("Possible old config file, see https://github.com/prometheus/snmp_exporter/blob/main/auth-split-migration.md") os.Exit(1) } // Exit if in dry-run mode. if *dryRun { - level.Info(logger).Log("msg", "Configuration parsed successfully") + logger.Info("Configuration parsed successfully") return } @@ -236,16 +235,16 @@ func main() { select { case <-hup: if err := sc.ReloadConfig(*configFile, *expandEnvVars); err != nil { - level.Error(logger).Log("msg", "Error reloading config", "err", err) + logger.Error("Error reloading config", "err", err) } else { - level.Info(logger).Log("msg", "Loaded config file") + logger.Info("Loaded config file") } case rc := <-reloadCh: if err := sc.ReloadConfig(*configFile, *expandEnvVars); err != nil { - level.Error(logger).Log("msg", "Error reloading config", "err", err) + logger.Error("Error reloading config", "err", err) rc <- err } else { - level.Info(logger).Log("msg", "Loaded config file") + logger.Info("Loaded config file") rc <- nil } } @@ -344,7 +343,7 @@ func main() { } landingPage, err := web.NewLandingPage(landingConfig) if err != nil { - level.Error(logger).Log("err", err) + logger.Error("Error creating landing page", "err", err) os.Exit(1) } http.Handle("/", landingPage) @@ -355,7 +354,7 @@ func main() { c, err := yaml.Marshal(sc.C) sc.RUnlock() if err != nil { - level.Error(logger).Log("msg", "Error marshaling configuration", "err", err) + logger.Error("Error marshaling configuration", "err", err) http.Error(w, err.Error(), http.StatusInternalServerError) return } @@ -364,7 +363,7 @@ func main() { srv := &http.Server{} if err := web.ListenAndServe(srv, toolkitFlags, logger); err != nil { - level.Error(logger).Log("msg", "Error starting HTTP server", "err", err) + logger.Error("Error starting HTTP server", "err", err) os.Exit(1) } } diff --git a/scraper/gosnmp.go b/scraper/gosnmp.go index 3f56f8f6..65c34459 100644 --- a/scraper/gosnmp.go +++ b/scraper/gosnmp.go @@ -16,23 +16,21 @@ package scraper import ( "context" "fmt" - stdlog "log" + "log/slog" "net" "strconv" "strings" "time" - "github.com/go-kit/log" - "github.com/go-kit/log/level" "github.com/gosnmp/gosnmp" ) type GoSNMPWrapper struct { c *gosnmp.GoSNMP - logger log.Logger + logger *slog.Logger } -func NewGoSNMP(logger log.Logger, target, srcAddress string, debug bool) (*GoSNMPWrapper, error) { +func NewGoSNMP(logger *slog.Logger, target, srcAddress string, debug bool) (*GoSNMPWrapper, error) { transport := "udp" if s := strings.SplitN(target, "://", 2); len(s) == 2 { transport = s[0] @@ -54,7 +52,7 @@ func NewGoSNMP(logger log.Logger, target, srcAddress string, debug bool) (*GoSNM LocalAddr: srcAddress, } if debug { - g.Logger = gosnmp.NewLogger(stdlog.New(log.NewStdlibAdapter(level.Debug(logger)), "", 0)) + g.Logger = gosnmp.NewLogger(slog.NewLogLogger(logger.Handler(), slog.LevelDebug)) } return &GoSNMPWrapper{c: g, logger: logger}, nil } @@ -83,7 +81,7 @@ func (g *GoSNMPWrapper) Close() error { } func (g *GoSNMPWrapper) Get(oids []string) (results *gosnmp.SnmpPacket, err error) { - level.Debug(g.logger).Log("msg", "Getting OIDs", "oids", oids) + g.logger.Debug("Getting OIDs", "oids", oids) st := time.Now() results, err = g.c.Get(oids) if err != nil { @@ -95,12 +93,12 @@ func (g *GoSNMPWrapper) Get(oids []string) (results *gosnmp.SnmpPacket, err erro } return } - level.Debug(g.logger).Log("msg", "Get of OIDs completed", "oids", oids, "duration_seconds", time.Since(st)) + g.logger.Debug("Get of OIDs completed", "oids", oids, "duration_seconds", time.Since(st)) return } func (g *GoSNMPWrapper) WalkAll(oid string) (results []gosnmp.SnmpPDU, err error) { - level.Debug(g.logger).Log("msg", "Walking subtree", "oid", oid) + g.logger.Debug("Walking subtree", "oid", oid) st := time.Now() if g.c.Version == gosnmp.Version1 { results, err = g.c.WalkAll(oid) @@ -116,6 +114,6 @@ func (g *GoSNMPWrapper) WalkAll(oid string) (results []gosnmp.SnmpPDU, err error } return } - level.Debug(g.logger).Log("msg", "Walk of subtree completed", "oid", oid, "duration_seconds", time.Since(st)) + g.logger.Debug("Walk of subtree completed", "oid", oid, "duration_seconds", time.Since(st)) return } From cf2862117122ed86870b86c256d75cdde996a091 Mon Sep 17 00:00:00 2001 From: PrometheusBot Date: Thu, 10 Oct 2024 08:00:41 +0200 Subject: [PATCH 15/25] Update common Prometheus files (#1260) Signed-off-by: prombot --- .github/workflows/container_description.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/container_description.yml b/.github/workflows/container_description.yml index 8ddbc34a..14485948 100644 --- a/.github/workflows/container_description.yml +++ b/.github/workflows/container_description.yml @@ -18,7 +18,7 @@ jobs: if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. steps: - name: git checkout - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Set docker hub repo name run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV - name: Push README to Dockerhub @@ -40,7 +40,7 @@ jobs: if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. steps: - name: git checkout - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Set quay.io org name run: echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV - name: Set quay.io repo name From e7309c4497dfbc619bad356aba19027c03807808 Mon Sep 17 00:00:00 2001 From: Matvey Kruglov Date: Sat, 12 Oct 2024 14:03:00 +0200 Subject: [PATCH 16/25] Fix Sophos mibs unpack (#1266) Signed-off-by: Matvey Kruglov --- generator/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/Makefile b/generator/Makefile index 4c5de2cc..e45b69a7 100644 --- a/generator/Makefile +++ b/generator/Makefile @@ -300,7 +300,7 @@ $(MIBDIR)/.sophos_xg: $(eval TMP := $(shell mktemp)) @echo ">> Downloading Sophos XG to $(TMP)" @curl $(CURL_OPTS) -o $(TMP) $(SOPHOS_XG_URL) - @unzip -j -d $(MIBDIR) $(TMP) SOPHOS-XG-MIB20.txt + @unzip -j -d $(MIBDIR) $(TMP) sophos-xg-mib/SOPHOS-XG-MIB20.txt @rm -v $(TMP) @touch $(MIBDIR)/.sophos_xg From 1195562c70c255d01edae308826f5a58891818ea Mon Sep 17 00:00:00 2001 From: dsgnr Date: Tue, 15 Oct 2024 13:30:50 +0100 Subject: [PATCH 17/25] Add HPE MIBs Signed-off-by: dsgnr --- generator/Makefile | 11 + generator/generator.yml | 19 + snmp.yml | 7532 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 7562 insertions(+) diff --git a/generator/Makefile b/generator/Makefile index e45b69a7..9cb981c8 100644 --- a/generator/Makefile +++ b/generator/Makefile @@ -35,6 +35,7 @@ APC_URL := https://download.schneider-electric.com/files?p_enDocType=F ARISTA_URL := https://www.arista.com/assets/data/docs/MIBS CISCO_URL := https://raw.githubusercontent.com/cisco/cisco-mibs/f55dc443daff58dfc86a764047ded2248bb94e12/v2 DELL_URL := https://dl.dell.com/FOLDER11196144M/1/Dell-OM-MIBS-11010_A00.zip +HPE_URL := https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1580676047/v229101/upd11.85mib.tar.gz IANA_CHARSET_URL := https://www.iana.org/assignments/ianacharset-mib/ianacharset-mib IANA_IFTYPE_URL := https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib IANA_PRINTER_URL := https://www.iana.org/assignments/ianaprinter-mib/ianaprinter-mib @@ -120,6 +121,7 @@ mibs: \ $(MIBDIR)/ARISTA-SMI-MIB \ $(MIBDIR)/ARISTA-SW-IP-FORWARDING-MIB \ $(MIBDIR)/iDRAC-SMIv2.mib \ + $(MIBDIR)/HPE-MIB \ $(MIBDIR)/ENTITY-MIB \ $(MIBDIR)/ENTITY-SENSOR-MIB \ $(MIBDIR)/ENTITY-STATE-MIB \ @@ -188,6 +190,15 @@ $(MIBDIR)/iDRAC-SMIv2.mib: @unzip -j -d $(MIBDIR) $(TMP) support/station/mibs/iDRAC-SMIv2.mib @rm -v $(TMP) +$(MIBDIR)/HPE-MIB: + $(eval TMP := $(shell mktemp)) + $(eval TMP_DIR := $(shell mktemp -d)) + @echo ">> Downloading HPE to $(TMP)" + @curl -L $(CURL_OPTS) $(CURL_USER_AGENT) -o $(TMP) $(HPE_URL) + @tar -xf $(TMP) -C $(TMP_DIR) + @mv $(TMP_DIR)/*cpq*.mib $(MIBDIR) + @rm -rf $(TMP_DIR) $(TMP) + $(MIBDIR)/ENTITY-MIB: @echo ">> Downloading Cisco ENTITY-MIB" @curl $(CURL_OPTS) -o $(MIBDIR)/ENTITY-MIB "$(CISCO_URL)/ENTITY-MIB.my" diff --git a/generator/generator.yml b/generator/generator.yml index 784157e6..e87cc5b1 100644 --- a/generator/generator.yml +++ b/generator/generator.yml @@ -63,6 +63,25 @@ modules: - 1.3.6.1.4.1.674.10892.5.4 # systemDetailsGroup - 1.3.6.1.4.1.674.10892.5.5 # storageDetailsGroup +# HPE MIBs + hpe: + walk: + - sysUpTime + - 1.3.6.1.4.1.232.1.2.2.1.1 + - 1.3.6.1.4.1.232.11 + - 1.3.6.1.4.1.232.14 + - 1.3.6.1.4.1.232.3.2.2.1 + - 1.3.6.1.4.1.232.3.2.3.1.1 + - 1.3.6.1.4.1.232.3.2.5.1.1 + - 1.3.6.1.4.1.232.5 + - 1.3.6.1.4.1.232.6.2.14.13.1.6 + - 1.3.6.1.4.1.232.6.2.15 + - 1.3.6.1.4.1.232.6.2.16 + - 1.3.6.1.4.1.232.6.2.17 + - 1.3.6.1.4.1.232.6.2.6.8.1 + - 1.3.6.1.4.1.232.6.2.9 + - 1.3.6.1.4.1.232.9.2.2 + # APC/Schneider UPS Network Management Cards # # Note: older management cards only support SNMP v1 (AP9606 and diff --git a/snmp.yml b/snmp.yml index aa219e23..c05dc92e 100644 --- a/snmp.yml +++ b/snmp.yml @@ -12968,6 +12968,7538 @@ modules: oid: 1.3.6.1.4.1.11863.10.1.1.1 type: gauge help: this used to get the count of clients - 1.3.6.1.4.1.11863.10.1.1.1 + hpe: + walk: + - 1.3.6.1.4.1.232.1.2.2.1.1 + - 1.3.6.1.4.1.232.11 + - 1.3.6.1.4.1.232.14 + - 1.3.6.1.4.1.232.3.2.2.1 + - 1.3.6.1.4.1.232.3.2.3.1.1 + - 1.3.6.1.4.1.232.3.2.5.1.1 + - 1.3.6.1.4.1.232.5 + - 1.3.6.1.4.1.232.6.2.14.13.1.6 + - 1.3.6.1.4.1.232.6.2.15 + - 1.3.6.1.4.1.232.6.2.16 + - 1.3.6.1.4.1.232.6.2.17 + - 1.3.6.1.4.1.232.6.2.6.8.1 + - 1.3.6.1.4.1.232.6.2.9 + - 1.3.6.1.4.1.232.9.2.2 + get: + - 1.3.6.1.2.1.1.3.0 + metrics: + - name: sysUpTime + oid: 1.3.6.1.2.1.1.3 + type: gauge + help: The time (in hundredths of a second) since the network management portion + of the system was last re-initialized. - 1.3.6.1.2.1.1.3 + - name: cpqSeCpuUnitIndex + oid: 1.3.6.1.4.1.232.1.2.2.1.1.1 + type: gauge + help: This is a number that uniquely specifies a processor unit - 1.3.6.1.4.1.232.1.2.2.1.1.1 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuSlot + oid: 1.3.6.1.4.1.232.1.2.2.1.1.2 + type: gauge + help: This value represents this processor`s slot - 1.3.6.1.4.1.232.1.2.2.1.1.2 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuName + oid: 1.3.6.1.4.1.232.1.2.2.1.1.3 + type: DisplayString + help: The name of this processor - 1.3.6.1.4.1.232.1.2.2.1.1.3 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuSpeed + oid: 1.3.6.1.4.1.232.1.2.2.1.1.4 + type: gauge + help: The current internal speed of this processor in megahertz - 1.3.6.1.4.1.232.1.2.2.1.1.4 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuStep + oid: 1.3.6.1.4.1.232.1.2.2.1.1.5 + type: gauge + help: This step of the processor - 1.3.6.1.4.1.232.1.2.2.1.1.5 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuStatus + oid: 1.3.6.1.4.1.232.1.2.2.1.1.6 + type: gauge + help: The status of the processor - 1.3.6.1.4.1.232.1.2.2.1.1.6 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + enum_values: + 1: unknown + 2: ok + 3: degraded + 4: failed + 5: disabled + - name: cpqSeCpuExtSpeed + oid: 1.3.6.1.4.1.232.1.2.2.1.1.7 + type: gauge + help: This is the external frequency in megahertz of the processor bus - 1.3.6.1.4.1.232.1.2.2.1.1.7 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuDesigner + oid: 1.3.6.1.4.1.232.1.2.2.1.1.8 + type: gauge + help: This attribute specifies the manufacturer which designs this CPU. - 1.3.6.1.4.1.232.1.2.2.1.1.8 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + enum_values: + 1: unknown + 2: intel + 3: amd + 4: cyrix + 5: ti + 6: nexgen + 7: compaq + 8: samsung + 9: mitsubishi + 10: mips + - name: cpqSeCpuSocketNumber + oid: 1.3.6.1.4.1.232.1.2.2.1.1.9 + type: gauge + help: The physical socket number of the CPU chip - 1.3.6.1.4.1.232.1.2.2.1.1.9 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuThreshPassed + oid: 1.3.6.1.4.1.232.1.2.2.1.1.10 + type: gauge + help: CPU threshold passed (Exceeded) - 1.3.6.1.4.1.232.1.2.2.1.1.10 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + enum_values: + 1: unsupported + 2: "false" + 3: "true" + - name: cpqSeCpuHwLocation + oid: 1.3.6.1.4.1.232.1.2.2.1.1.11 + type: DisplayString + help: A text description of the hardware location, on complex multi SBB hardware + only, for the CPU - 1.3.6.1.4.1.232.1.2.2.1.1.11 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuCellTablePtr + oid: 1.3.6.1.4.1.232.1.2.2.1.1.12 + type: gauge + help: This is the index for the cell in cpqSeCellTable where this CPU is physically + located. - 1.3.6.1.4.1.232.1.2.2.1.1.12 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuPowerpodStatus + oid: 1.3.6.1.4.1.232.1.2.2.1.1.13 + type: gauge + help: This is the status of CPU power pod - 1.3.6.1.4.1.232.1.2.2.1.1.13 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + enum_values: + 1: notfailed + 2: failed + - name: cpqSeCpuArchitectureRevision + oid: 1.3.6.1.4.1.232.1.2.2.1.1.14 + type: DisplayString + help: This is the CPU architecture revision. - 1.3.6.1.4.1.232.1.2.2.1.1.14 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuCore + oid: 1.3.6.1.4.1.232.1.2.2.1.1.15 + type: gauge + help: The number of cores in this CPU module - 1.3.6.1.4.1.232.1.2.2.1.1.15 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCPUSerialNumber + oid: 1.3.6.1.4.1.232.1.2.2.1.1.16 + type: DisplayString + help: The OEM serial number of the CPU. - 1.3.6.1.4.1.232.1.2.2.1.1.16 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCPUPartNumber + oid: 1.3.6.1.4.1.232.1.2.2.1.1.17 + type: DisplayString + help: The OEM part number of the CPU. - 1.3.6.1.4.1.232.1.2.2.1.1.17 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCPUSerialNumberMfgr + oid: 1.3.6.1.4.1.232.1.2.2.1.1.18 + type: DisplayString + help: The manufacturer serial number of the CPU. - 1.3.6.1.4.1.232.1.2.2.1.1.18 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCPUPartNumberMfgr + oid: 1.3.6.1.4.1.232.1.2.2.1.1.19 + type: DisplayString + help: The manufacturer part number of the CPU. - 1.3.6.1.4.1.232.1.2.2.1.1.19 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCPUCoreIndex + oid: 1.3.6.1.4.1.232.1.2.2.1.1.20 + type: gauge + help: This is a number that uniquely identifies a core in a CPU unit. - 1.3.6.1.4.1.232.1.2.2.1.1.20 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCPUMaxSpeed + oid: 1.3.6.1.4.1.232.1.2.2.1.1.21 + type: gauge + help: This is the maximum internal speed in megahertz this processor can support + - 1.3.6.1.4.1.232.1.2.2.1.1.21 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCPUCoreThreadIndex + oid: 1.3.6.1.4.1.232.1.2.2.1.1.22 + type: gauge + help: This is an unique number to identify the running threads in a CPU core. + - 1.3.6.1.4.1.232.1.2.2.1.1.22 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCPUChipGenerationName + oid: 1.3.6.1.4.1.232.1.2.2.1.1.23 + type: DisplayString + help: CPU chip generation name e.g - 1.3.6.1.4.1.232.1.2.2.1.1.23 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCPUMultiThreadStatus + oid: 1.3.6.1.4.1.232.1.2.2.1.1.24 + type: gauge + help: This OID identifies whether the CPU threading is enabled or not. - 1.3.6.1.4.1.232.1.2.2.1.1.24 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + enum_values: + 1: unknown + 2: enabled + 3: disabled + - name: cpqSeCPUCoreMaxThreads + oid: 1.3.6.1.4.1.232.1.2.2.1.1.25 + type: gauge + help: This OID indicates the maximum number of threads that a cpu core is capable + of. - 1.3.6.1.4.1.232.1.2.2.1.1.25 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuLowPowerStatus + oid: 1.3.6.1.4.1.232.1.2.2.1.1.26 + type: gauge + help: Servers like Itanium has capability to lower power supply to CPU if it + is idle for specified period of time - 1.3.6.1.4.1.232.1.2.2.1.1.26 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + enum_values: + 1: unknown + 2: lowpowered + 3: normalpowered + 4: highpowered + - name: cpqSeCpuPrimary + oid: 1.3.6.1.4.1.232.1.2.2.1.1.27 + type: gauge + help: On SMP systems one of the CPU is set to Primary and the other CPUs as + secondary - 1.3.6.1.4.1.232.1.2.2.1.1.27 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + enum_values: + 1: unknown + 2: "false" + 3: "true" + - name: cpqSeCpuCoreSteppingText + oid: 1.3.6.1.4.1.232.1.2.2.1.1.28 + type: DisplayString + help: The processor stepping version string - 1.3.6.1.4.1.232.1.2.2.1.1.28 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuCurrentPerformanceState + oid: 1.3.6.1.4.1.232.1.2.2.1.1.29 + type: gauge + help: This OID returns the current performance state of this processor - 1.3.6.1.4.1.232.1.2.2.1.1.29 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuMinPerformanceState + oid: 1.3.6.1.4.1.232.1.2.2.1.1.30 + type: gauge + help: This OID returns the minimum performance state set for this processor + - 1.3.6.1.4.1.232.1.2.2.1.1.30 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqSeCpuMaxPerformanceState + oid: 1.3.6.1.4.1.232.1.2.2.1.1.31 + type: gauge + help: This OID returns the maximum performance state set for this processor + - 1.3.6.1.4.1.232.1.2.2.1.1.31 + indexes: + - labelname: cpqSeCpuUnitIndex + type: gauge + - name: cpqHoMibRevMajor + oid: 1.3.6.1.4.1.232.11.1.1 + type: gauge + help: The Major Revision level of the MIB - 1.3.6.1.4.1.232.11.1.1 + - name: cpqHoMibRevMinor + oid: 1.3.6.1.4.1.232.11.1.2 + type: gauge + help: The Minor Revision level of the MIB - 1.3.6.1.4.1.232.11.1.2 + - name: cpqHoMibCondition + oid: 1.3.6.1.4.1.232.11.1.3 + type: gauge + help: The overall condition - 1.3.6.1.4.1.232.11.1.3 + enum_values: + 1: unknown + 2: ok + 3: degraded + 4: failed + - name: cpqHoOsCommonPollFreq + oid: 1.3.6.1.4.1.232.11.2.1.4.1 + type: gauge + help: The Insight Agent`s polling frequency - 1.3.6.1.4.1.232.11.2.1.4.1 + - name: cpqHoOsCommonModuleIndex + oid: 1.3.6.1.4.1.232.11.2.1.4.2.1.1 + type: gauge + help: A unique index for this module description. - 1.3.6.1.4.1.232.11.2.1.4.2.1.1 + indexes: + - labelname: cpqHoOsCommonModuleIndex + type: gauge + - name: cpqHoOsCommonModuleName + oid: 1.3.6.1.4.1.232.11.2.1.4.2.1.2 + type: DisplayString + help: The module name. - 1.3.6.1.4.1.232.11.2.1.4.2.1.2 + indexes: + - labelname: cpqHoOsCommonModuleIndex + type: gauge + - name: cpqHoOsCommonModuleVersion + oid: 1.3.6.1.4.1.232.11.2.1.4.2.1.3 + type: DisplayString + help: The module version in XX.YY format - 1.3.6.1.4.1.232.11.2.1.4.2.1.3 + indexes: + - labelname: cpqHoOsCommonModuleIndex + type: gauge + - name: cpqHoOsCommonModuleDate + oid: 1.3.6.1.4.1.232.11.2.1.4.2.1.4 + type: OctetString + help: The module date - 1.3.6.1.4.1.232.11.2.1.4.2.1.4 + indexes: + - labelname: cpqHoOsCommonModuleIndex + type: gauge + - name: cpqHoOsCommonModulePurpose + oid: 1.3.6.1.4.1.232.11.2.1.4.2.1.5 + type: DisplayString + help: The purpose of the module described in this entry. - 1.3.6.1.4.1.232.11.2.1.4.2.1.5 + indexes: + - labelname: cpqHoOsCommonModuleIndex + type: gauge + - name: cpqHoName + oid: 1.3.6.1.4.1.232.11.2.2.1 + type: DisplayString + help: The name of the host operating system (OS). - 1.3.6.1.4.1.232.11.2.2.1 + - name: cpqHoVersion + oid: 1.3.6.1.4.1.232.11.2.2.2 + type: DisplayString + help: The version of the host OS. - 1.3.6.1.4.1.232.11.2.2.2 + - name: cpqHoDesc + oid: 1.3.6.1.4.1.232.11.2.2.3 + type: DisplayString + help: A further description of the host OS. - 1.3.6.1.4.1.232.11.2.2.3 + - name: cpqHoOsType + oid: 1.3.6.1.4.1.232.11.2.2.4 + type: gauge + help: Host Operating system enumeration. - 1.3.6.1.4.1.232.11.2.2.4 + enum_values: + 1: other + 2: netware + 3: windowsnt + 4: sco-unix + 5: unixware + 6: os-2 + 7: ms-dos + 8: dos-windows + 9: windows95 + 10: windows98 + 11: open-vms + 12: nsk + 13: windowsCE + 14: linux + 15: windows2000 + 16: tru64UNIX + 17: windows2003 + 18: windows2003-x64 + 19: solaris + 20: windows2003-ia64 + 21: windows2008 + 22: windows2008-x64 + 23: windows2008-ia64 + 24: vmware-esx + 25: vmware-esxi + 26: windows2012 + 27: windows7 + 28: windows7-x64 + 29: windows8 + 30: windows8-x64 + 31: windows81 + 32: windows81-x64 + 33: windowsxp + 34: windowsxp-x64 + 35: windowsvista + 36: windowsvista-x64 + 37: windows2008-r2 + 38: windows2012-r2 + 39: rhel + 40: rhel-64 + 41: solaris-64 + 42: sles + 43: sles-64 + 44: ubuntu + 45: ubuntu-64 + 46: debian + 47: debian-64 + 48: linux-64-bit + 49: other-64-bit + 50: centos-32bit + 51: centos-64bit + 52: oracle-linux32 + 53: oracle-linux64 + 54: apple-osx + 55: windows2016 + 56: nanoserver + 57: windows2019 + 58: windows10-x64 + 59: windows2022 + 60: azurestackhciOS-20h2 + 61: azurestackhciOS-21h2 + 62: azurestackhciOS-22h2 + - name: cpqHoTelnet + oid: 1.3.6.1.4.1.232.11.2.2.5 + type: gauge + help: Telnet on socket 23 is available. - 1.3.6.1.4.1.232.11.2.2.5 + enum_values: + 1: other + 2: available + 3: notavailable + - name: cpqHoSystemRole + oid: 1.3.6.1.4.1.232.11.2.2.6 + type: DisplayString + help: The system role - 1.3.6.1.4.1.232.11.2.2.6 + - name: cpqHoSystemRoleDetail + oid: 1.3.6.1.4.1.232.11.2.2.7 + type: DisplayString + help: The system detailed description - 1.3.6.1.4.1.232.11.2.2.7 + - name: cpqHoCrashDumpState + oid: 1.3.6.1.4.1.232.11.2.2.8 + type: gauge + help: Crash dump state - 1.3.6.1.4.1.232.11.2.2.8 + enum_values: + 1: completememorydump + 2: kernelmemorydump + 3: smallmemorydump + 4: none + - name: cpqHoCrashDumpCondition + oid: 1.3.6.1.4.1.232.11.2.2.9 + type: gauge + help: The condition of the Crash dump configuration. - 1.3.6.1.4.1.232.11.2.2.9 + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqHoCrashDumpMonitoring + oid: 1.3.6.1.4.1.232.11.2.2.10 + type: gauge + help: Enable/disable crash dump monitoring - 1.3.6.1.4.1.232.11.2.2.10 + enum_values: + 1: enabled + 2: disabled + - name: cpqHoMaxLogicalCPUSupported + oid: 1.3.6.1.4.1.232.11.2.2.11 + type: gauge + help: Maximum number of logical CPUs supported by Operating System. - 1.3.6.1.4.1.232.11.2.2.11 + - name: cpqHoSystemName + oid: 1.3.6.1.4.1.232.11.2.2.12 + type: DisplayString + help: Full computer name of the host - 1.3.6.1.4.1.232.11.2.2.12 + - name: cpqHosysDescr + oid: 1.3.6.1.4.1.232.11.2.2.13 + type: DisplayString + help: The value that would be returned in the RFC-1213 sysDescr MIB element + - 1.3.6.1.4.1.232.11.2.2.13 + - name: cpqHoCpuUtilUnitIndex + oid: 1.3.6.1.4.1.232.11.2.3.1.1.1 + type: gauge + help: This number uniquely specifies a processor unit - 1.3.6.1.4.1.232.11.2.3.1.1.1 + indexes: + - labelname: cpqHoCpuUtilUnitIndex + type: gauge + - name: cpqHoCpuUtilMin + oid: 1.3.6.1.4.1.232.11.2.3.1.1.2 + type: gauge + help: The CPU utilization as a percentage of the theoretical maximum during + the last minute - 1.3.6.1.4.1.232.11.2.3.1.1.2 + indexes: + - labelname: cpqHoCpuUtilUnitIndex + type: gauge + - name: cpqHoCpuUtilFiveMin + oid: 1.3.6.1.4.1.232.11.2.3.1.1.3 + type: gauge + help: The CPU utilization as a percentage of the theoretical maximum during + the last five minutes - 1.3.6.1.4.1.232.11.2.3.1.1.3 + indexes: + - labelname: cpqHoCpuUtilUnitIndex + type: gauge + - name: cpqHoCpuUtilThirtyMin + oid: 1.3.6.1.4.1.232.11.2.3.1.1.4 + type: gauge + help: The CPU utilization as a percentage of the theoretical maximum during + the last thirty minutes - 1.3.6.1.4.1.232.11.2.3.1.1.4 + indexes: + - labelname: cpqHoCpuUtilUnitIndex + type: gauge + - name: cpqHoCpuUtilHour + oid: 1.3.6.1.4.1.232.11.2.3.1.1.5 + type: gauge + help: The CPU utilization as a percentage of the theoretical maximum during + the last hour - 1.3.6.1.4.1.232.11.2.3.1.1.5 + indexes: + - labelname: cpqHoCpuUtilUnitIndex + type: gauge + - name: cpqHoCpuUtilHwLocation + oid: 1.3.6.1.4.1.232.11.2.3.1.1.6 + type: DisplayString + help: A text description of the hardware location, on complex multi SBB hardware + only, for the CPU - 1.3.6.1.4.1.232.11.2.3.1.1.6 + indexes: + - labelname: cpqHoCpuUtilUnitIndex + type: gauge + - name: cpqHoFileSysIndex + oid: 1.3.6.1.4.1.232.11.2.4.1.1.1 + type: gauge + help: An index that uniquely specifies this entry. - 1.3.6.1.4.1.232.11.2.4.1.1.1 + indexes: + - labelname: cpqHoFileSysIndex + type: gauge + - name: cpqHoFileSysDesc + oid: 1.3.6.1.4.1.232.11.2.4.1.1.2 + type: DisplayString + help: A description of the file system include the GUID. - 1.3.6.1.4.1.232.11.2.4.1.1.2 + indexes: + - labelname: cpqHoFileSysIndex + type: gauge + - name: cpqHoFileSysSpaceTotal + oid: 1.3.6.1.4.1.232.11.2.4.1.1.3 + type: gauge + help: The file system size in megabytes - 1.3.6.1.4.1.232.11.2.4.1.1.3 + indexes: + - labelname: cpqHoFileSysIndex + type: gauge + - name: cpqHoFileSysSpaceUsed + oid: 1.3.6.1.4.1.232.11.2.4.1.1.4 + type: gauge + help: The megabytes of file system space currently in use - 1.3.6.1.4.1.232.11.2.4.1.1.4 + indexes: + - labelname: cpqHoFileSysIndex + type: gauge + - name: cpqHoFileSysPercentSpaceUsed + oid: 1.3.6.1.4.1.232.11.2.4.1.1.5 + type: gauge + help: The percent of file system space currently in use - 1.3.6.1.4.1.232.11.2.4.1.1.5 + indexes: + - labelname: cpqHoFileSysIndex + type: gauge + - name: cpqHoFileSysAllocUnitsTotal + oid: 1.3.6.1.4.1.232.11.2.4.1.1.6 + type: gauge + help: The total number of files (directory entries) that can be stored on the + file system if a limit exists other than total space used - 1.3.6.1.4.1.232.11.2.4.1.1.6 + indexes: + - labelname: cpqHoFileSysIndex + type: gauge + - name: cpqHoFileSysAllocUnitsUsed + oid: 1.3.6.1.4.1.232.11.2.4.1.1.7 + type: gauge + help: The number of files (directory entries) on this file system - 1.3.6.1.4.1.232.11.2.4.1.1.7 + indexes: + - labelname: cpqHoFileSysIndex + type: gauge + - name: cpqHoFileSysStatus + oid: 1.3.6.1.4.1.232.11.2.4.1.1.8 + type: gauge + help: The Threshold Status - 1.3.6.1.4.1.232.11.2.4.1.1.8 + indexes: + - labelname: cpqHoFileSysIndex + type: gauge + enum_values: + 1: unknown + 2: ok + 3: degraded + 4: failed + - name: cpqHoFileSysShortDesc + oid: 1.3.6.1.4.1.232.11.2.4.1.1.9 + type: DisplayString + help: A description of the file system. - 1.3.6.1.4.1.232.11.2.4.1.1.9 + indexes: + - labelname: cpqHoFileSysIndex + type: gauge + - name: cpqHoFileSysCondition + oid: 1.3.6.1.4.1.232.11.2.4.2 + type: gauge + help: The overall condition of File System Threshold - 1.3.6.1.4.1.232.11.2.4.2 + enum_values: + 1: unknown + 2: ok + 3: degraded + 4: failed + - name: cpqHoIfPhysMapIndex + oid: 1.3.6.1.4.1.232.11.2.5.1.1.1 + type: gauge + help: An index that uniquely specifies this entry - 1.3.6.1.4.1.232.11.2.5.1.1.1 + indexes: + - labelname: cpqHoIfPhysMapIndex + type: gauge + - name: cpqHoIfPhysMapSlot + oid: 1.3.6.1.4.1.232.11.2.5.1.1.2 + type: gauge + help: The number of the slot containing the physical hardware that implements + this interface - 1.3.6.1.4.1.232.11.2.5.1.1.2 + indexes: + - labelname: cpqHoIfPhysMapIndex + type: gauge + - name: cpqHoIfPhysMapIoBaseAddr + oid: 1.3.6.1.4.1.232.11.2.5.1.1.3 + type: gauge + help: The base I/O address of the physical hardware that implements this interface. + - 1.3.6.1.4.1.232.11.2.5.1.1.3 + indexes: + - labelname: cpqHoIfPhysMapIndex + type: gauge + - name: cpqHoIfPhysMapIrq + oid: 1.3.6.1.4.1.232.11.2.5.1.1.4 + type: gauge + help: The number of the IRQ (interrupt) used for this physical hardware interface + - 1.3.6.1.4.1.232.11.2.5.1.1.4 + indexes: + - labelname: cpqHoIfPhysMapIndex + type: gauge + - name: cpqHoIfPhysMapDma + oid: 1.3.6.1.4.1.232.11.2.5.1.1.5 + type: gauge + help: The number of the DMA channel used for this physical hardware interface + - 1.3.6.1.4.1.232.11.2.5.1.1.5 + indexes: + - labelname: cpqHoIfPhysMapIndex + type: gauge + - name: cpqHoIfPhysMapMemBaseAddr + oid: 1.3.6.1.4.1.232.11.2.5.1.1.6 + type: gauge + help: The base memory address used by this physical hardware interface - 1.3.6.1.4.1.232.11.2.5.1.1.6 + indexes: + - labelname: cpqHoIfPhysMapIndex + type: gauge + - name: cpqHoIfPhysMapPort + oid: 1.3.6.1.4.1.232.11.2.5.1.1.7 + type: gauge + help: The port number of the interface for multi-port NICs - 1.3.6.1.4.1.232.11.2.5.1.1.7 + indexes: + - labelname: cpqHoIfPhysMapIndex + type: gauge + - name: cpqHoIfPhysMapDuplexState + oid: 1.3.6.1.4.1.232.11.2.5.1.1.8 + type: gauge + help: This variable describes the configured duplex state of the NIC. - 1.3.6.1.4.1.232.11.2.5.1.1.8 + indexes: + - labelname: cpqHoIfPhysMapIndex + type: gauge + enum_values: + 1: other + 2: half + 3: full + - name: cpqHoIfPhysMapCondition + oid: 1.3.6.1.4.1.232.11.2.5.1.1.9 + type: gauge + help: The condition of this interface. - 1.3.6.1.4.1.232.11.2.5.1.1.9 + indexes: + - labelname: cpqHoIfPhysMapIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqHoIfPhysMapOverallCondition + oid: 1.3.6.1.4.1.232.11.2.5.2 + type: gauge + help: The overall condition of all interfaces. - 1.3.6.1.4.1.232.11.2.5.2 + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqHoSWRunningIndex + oid: 1.3.6.1.4.1.232.11.2.6.1.1.1 + type: gauge + help: An index that uniquely specifies this entry. - 1.3.6.1.4.1.232.11.2.6.1.1.1 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + - name: cpqHoSWRunningName + oid: 1.3.6.1.4.1.232.11.2.6.1.1.2 + type: DisplayString + help: The name of the software. - 1.3.6.1.4.1.232.11.2.6.1.1.2 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + - name: cpqHoSWRunningDesc + oid: 1.3.6.1.4.1.232.11.2.6.1.1.3 + type: DisplayString + help: A description of the software. - 1.3.6.1.4.1.232.11.2.6.1.1.3 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + - name: cpqHoSWRunningVersion + oid: 1.3.6.1.4.1.232.11.2.6.1.1.4 + type: DisplayString + help: The version of the software - 1.3.6.1.4.1.232.11.2.6.1.1.4 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + - name: cpqHoSWRunningDate + oid: 1.3.6.1.4.1.232.11.2.6.1.1.5 + type: OctetString + help: The software date - 1.3.6.1.4.1.232.11.2.6.1.1.5 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + - name: cpqHoSWRunningMonitor + oid: 1.3.6.1.4.1.232.11.2.6.1.1.6 + type: gauge + help: The user specified monitor option for a process. - 1.3.6.1.4.1.232.11.2.6.1.1.6 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + enum_values: + 1: other + 2: start + 3: stop + 4: startAndStop + 5: count + 6: startAndCount + 7: countAndStop + 8: startCountAndStop + - name: cpqHoSWRunningState + oid: 1.3.6.1.4.1.232.11.2.6.1.1.7 + type: gauge + help: The current state of monitored process. - 1.3.6.1.4.1.232.11.2.6.1.1.7 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + enum_values: + 1: other + 2: started + 3: stopped + - name: cpqHoSWRunningCount + oid: 1.3.6.1.4.1.232.11.2.6.1.1.8 + type: gauge + help: For each process name, the number of instances of the process running + on the system is kept count of, in this variable. - 1.3.6.1.4.1.232.11.2.6.1.1.8 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + - name: cpqHoSWRunningCountMin + oid: 1.3.6.1.4.1.232.11.2.6.1.1.9 + type: gauge + help: This is the lower threshold on cpqHoSWRunningCount to be set by the user. + - 1.3.6.1.4.1.232.11.2.6.1.1.9 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + - name: cpqHoSWRunningCountMax + oid: 1.3.6.1.4.1.232.11.2.6.1.1.10 + type: gauge + help: This is the upper threshold on cpqHoSWRunningCount to be set by the user. + - 1.3.6.1.4.1.232.11.2.6.1.1.10 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + - name: cpqHoSWRunningEventTime + oid: 1.3.6.1.4.1.232.11.2.6.1.1.11 + type: OctetString + help: The system time at which the monitored event, as per cpqHoSWRunningMonitor, + last occurred - 1.3.6.1.4.1.232.11.2.6.1.1.11 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + - name: cpqHoSWRunningStatus + oid: 1.3.6.1.4.1.232.11.2.6.1.1.12 + type: gauge + help: The overall alarm state of the resources managed by the software, or the + software itself. - 1.3.6.1.4.1.232.11.2.6.1.1.12 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + enum_values: + 1: unknown + 2: normal + 3: warning + 4: minor + 5: major + 6: critical + 7: disabled + - name: cpqHoSWRunningConfigStatus + oid: 1.3.6.1.4.1.232.11.2.6.1.1.13 + type: gauge + help: The configuration state of the software - 1.3.6.1.4.1.232.11.2.6.1.1.13 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + enum_values: + 1: unknown + 2: starting + 3: initialized + 4: configured + 5: operational + - name: cpqHoSWRunningIdentifier + oid: 1.3.6.1.4.1.232.11.2.6.1.1.14 + type: DisplayString + help: The unique identifier of the sofware - 1.3.6.1.4.1.232.11.2.6.1.1.14 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + - name: cpqHoSWRunningRedundancyMode + oid: 1.3.6.1.4.1.232.11.2.6.1.1.15 + type: gauge + help: When the software is running in a high availability mode, the failover + mode of this instance of the software. - 1.3.6.1.4.1.232.11.2.6.1.1.15 + indexes: + - labelname: cpqHoSWRunningIndex + type: gauge + enum_values: + 1: unknown + 2: master + 3: backup + 4: slave + - name: cpqHoSwRunningTrapDesc + oid: 1.3.6.1.4.1.232.11.2.6.2 + type: DisplayString + help: The error message for a process monitor event. - 1.3.6.1.4.1.232.11.2.6.2 + - name: cpqHoSwVerNextIndex + oid: 1.3.6.1.4.1.232.11.2.7.1 + type: gauge + help: The index of the next available entry in the cpqHoSwVer table - 1.3.6.1.4.1.232.11.2.7.1 + - name: cpqHoSwVerIndex + oid: 1.3.6.1.4.1.232.11.2.7.2.1.1 + type: gauge + help: An index that uniquely identifies an entry in the cpqHoSwVer table. - + 1.3.6.1.4.1.232.11.2.7.2.1.1 + indexes: + - labelname: cpqHoSwVerIndex + type: gauge + - name: cpqHoSwVerStatus + oid: 1.3.6.1.4.1.232.11.2.7.2.1.2 + type: gauge + help: Status for the software item. - 1.3.6.1.4.1.232.11.2.7.2.1.2 + indexes: + - labelname: cpqHoSwVerIndex + type: gauge + enum_values: + 1: other + 2: loaded + 3: notloaded + - name: cpqHoSwVerType + oid: 1.3.6.1.4.1.232.11.2.7.2.1.3 + type: gauge + help: Type of software item. - 1.3.6.1.4.1.232.11.2.7.2.1.3 + indexes: + - labelname: cpqHoSwVerIndex + type: gauge + enum_values: + 1: other + 2: driver + 3: agent + 4: sysutil + 5: application + 6: keyfile + 7: firmware + - name: cpqHoSwVerName + oid: 1.3.6.1.4.1.232.11.2.7.2.1.4 + type: DisplayString + help: The name of this software item. - 1.3.6.1.4.1.232.11.2.7.2.1.4 + indexes: + - labelname: cpqHoSwVerIndex + type: gauge + - name: cpqHoSwVerDescription + oid: 1.3.6.1.4.1.232.11.2.7.2.1.5 + type: DisplayString + help: The description of this software item. - 1.3.6.1.4.1.232.11.2.7.2.1.5 + indexes: + - labelname: cpqHoSwVerIndex + type: gauge + - name: cpqHoSwVerDate + oid: 1.3.6.1.4.1.232.11.2.7.2.1.6 + type: OctetString + help: The date of the software item, if any - 1.3.6.1.4.1.232.11.2.7.2.1.6 + indexes: + - labelname: cpqHoSwVerIndex + type: gauge + - name: cpqHoSwVerLocation + oid: 1.3.6.1.4.1.232.11.2.7.2.1.7 + type: DisplayString + help: The location of this software item on the server. - 1.3.6.1.4.1.232.11.2.7.2.1.7 + indexes: + - labelname: cpqHoSwVerIndex + type: gauge + - name: cpqHoSwVerVersion + oid: 1.3.6.1.4.1.232.11.2.7.2.1.8 + type: DisplayString + help: An string that specifies the version of this item. - 1.3.6.1.4.1.232.11.2.7.2.1.8 + indexes: + - labelname: cpqHoSwVerIndex + type: gauge + - name: cpqHoSwVerVersionBinary + oid: 1.3.6.1.4.1.232.11.2.7.2.1.9 + type: DisplayString + help: An string that specifies the version of this item based on the binary + version resource. - 1.3.6.1.4.1.232.11.2.7.2.1.9 + indexes: + - labelname: cpqHoSwVerIndex + type: gauge + - name: cpqHoSwVerAgentsVer + oid: 1.3.6.1.4.1.232.11.2.7.3 + type: DisplayString + help: A string that specifies the version of the Insight Management Agents running + on the system. - 1.3.6.1.4.1.232.11.2.7.3 + - name: cpqHoGenericData + oid: 1.3.6.1.4.1.232.11.2.8.1 + type: DisplayString + help: Data for the generic trap. - 1.3.6.1.4.1.232.11.2.8.1 + - name: cpqHoCriticalSoftwareUpdateData + oid: 1.3.6.1.4.1.232.11.2.8.2 + type: DisplayString + help: Data for the Critical Software Update trap. - 1.3.6.1.4.1.232.11.2.8.2 + - name: cpqHoSwPerfAppErrorDesc + oid: 1.3.6.1.4.1.232.11.2.9.1 + type: DisplayString + help: This string holds error information about the last application error that + occurred in the system. - 1.3.6.1.4.1.232.11.2.9.1 + - name: cpqHoMibStatusArray + oid: 1.3.6.1.4.1.232.11.2.10.1 + type: OctetString + help: The MIB Status Array is an array of MIB status structures - 1.3.6.1.4.1.232.11.2.10.1 + - name: cpqHoConfigChangedDate + oid: 1.3.6.1.4.1.232.11.2.10.2 + type: OctetString + help: The date/time when the agents were last loaded - 1.3.6.1.4.1.232.11.2.10.2 + - name: cpqHoGUID + oid: 1.3.6.1.4.1.232.11.2.10.3 + type: OctetString + help: The globally unique identifier of this physical server - 1.3.6.1.4.1.232.11.2.10.3 + - name: cpqHoCodeServer + oid: 1.3.6.1.4.1.232.11.2.10.4 + type: gauge + help: This item indicates how many code server shares are currently configured + on the system - 1.3.6.1.4.1.232.11.2.10.4 + - name: cpqHoWebMgmtPort + oid: 1.3.6.1.4.1.232.11.2.10.5 + type: gauge + help: This item indicates the port used by the Insight Web Agent - 1.3.6.1.4.1.232.11.2.10.5 + - name: cpqHoGUIDCanonical + oid: 1.3.6.1.4.1.232.11.2.10.6 + type: OctetString + help: The globally unique identifier in canonical format of this physical server + - 1.3.6.1.4.1.232.11.2.10.6 + - name: cpqHoMibHealthStatusArray + oid: 1.3.6.1.4.1.232.11.2.10.7 + type: OctetString + help: 'The MIB Health Status Array is an array of status values representing + an overall status in element 0 follwed by server and storage status values + as follows: Octet Element Field ======== ======= ========= 0 0 Aggregated + Status of array elements 1 1 Status of element 1 2 2 Status of element 2 - + 1.3.6.1.4.1.232.11.2.10.7' + - name: cpqHoTrapFlags + oid: 1.3.6.1.4.1.232.11.2.11.1 + type: gauge + help: The Trap Flags - 1.3.6.1.4.1.232.11.2.11.1 + - name: cpqHoClientLastModified + oid: 1.3.6.1.4.1.232.11.2.12.1 + type: OctetString + help: The date/time of the last modification to the client table - 1.3.6.1.4.1.232.11.2.12.1 + - name: cpqHoClientDelete + oid: 1.3.6.1.4.1.232.11.2.12.2 + type: DisplayString + help: Setting this variable to the name of a client in the client table will + cause that row in the table to be deleted - 1.3.6.1.4.1.232.11.2.12.2 + - name: cpqHoClientIndex + oid: 1.3.6.1.4.1.232.11.2.12.3.1.1 + type: gauge + help: An index that uniquely specifies this entry. - 1.3.6.1.4.1.232.11.2.12.3.1.1 + indexes: + - labelname: cpqHoClientIndex + type: gauge + - name: cpqHoClientName + oid: 1.3.6.1.4.1.232.11.2.12.3.1.2 + type: DisplayString + help: The Win95 machine name of this client. - 1.3.6.1.4.1.232.11.2.12.3.1.2 + indexes: + - labelname: cpqHoClientIndex + type: gauge + - name: cpqHoClientIpxAddress + oid: 1.3.6.1.4.1.232.11.2.12.3.1.3 + type: OctetString + help: The IPX address for this client, all octets should be set to 0xff if this + machine does not support IPX - 1.3.6.1.4.1.232.11.2.12.3.1.3 + indexes: + - labelname: cpqHoClientIndex + type: gauge + - name: cpqHoClientIpAddress + oid: 1.3.6.1.4.1.232.11.2.12.3.1.4 + type: InetAddressIPv4 + help: The IP address for this client, all octets should be set to 0xff if this + machine does not support IP - 1.3.6.1.4.1.232.11.2.12.3.1.4 + indexes: + - labelname: cpqHoClientIndex + type: gauge + - name: cpqHoClientCommunity + oid: 1.3.6.1.4.1.232.11.2.12.3.1.5 + type: DisplayString + help: A community name that can be used to query the client with SNMP - 1.3.6.1.4.1.232.11.2.12.3.1.5 + indexes: + - labelname: cpqHoClientIndex + type: gauge + - name: cpqHoClientID + oid: 1.3.6.1.4.1.232.11.2.12.3.1.6 + type: OctetString + help: The unique identifier of this client. - 1.3.6.1.4.1.232.11.2.12.3.1.6 + indexes: + - labelname: cpqHoClientIndex + type: gauge + - name: cpqHoPhysicalMemorySize + oid: 1.3.6.1.4.1.232.11.2.13.1 + type: gauge + help: Total amount of physical memory as seen by the OS (in megabytes) - 1.3.6.1.4.1.232.11.2.13.1 + - name: cpqHoPhysicalMemoryFree + oid: 1.3.6.1.4.1.232.11.2.13.2 + type: gauge + help: The amount of free physical memory (in megabytes) - 1.3.6.1.4.1.232.11.2.13.2 + - name: cpqHoPagingMemorySize + oid: 1.3.6.1.4.1.232.11.2.13.3 + type: gauge + help: Total virtual memory available from the OS (in megabytes) - 1.3.6.1.4.1.232.11.2.13.3 + - name: cpqHoPagingMemoryFree + oid: 1.3.6.1.4.1.232.11.2.13.4 + type: gauge + help: Available paging memory (in megabytes) - 1.3.6.1.4.1.232.11.2.13.4 + - name: cpqHoBootPagingFileSize + oid: 1.3.6.1.4.1.232.11.2.13.5 + type: DisplayString + help: The paging file size of the boot volume in the format xxxMB or xxxGB, + where xxx is the paging file size in that unit shown right after it - 1.3.6.1.4.1.232.11.2.13.5 + - name: cpqHoBootPagingFileMinimumSize + oid: 1.3.6.1.4.1.232.11.2.13.6 + type: DisplayString + help: Minimum paging file size of the boot volume required to save the memory + dump in the event of a system crash - 1.3.6.1.4.1.232.11.2.13.6 + - name: cpqHoBootPagingFileVolumeFreeSpace + oid: 1.3.6.1.4.1.232.11.2.13.7 + type: DisplayString + help: Free space of the boot volume required to save the memory dump in the + event of a system crash - 1.3.6.1.4.1.232.11.2.13.7 + - name: cpqHoFwVerIndex + oid: 1.3.6.1.4.1.232.11.2.14.1.1.1 + type: gauge + help: Firmware Version Index - 1.3.6.1.4.1.232.11.2.14.1.1.1 + indexes: + - labelname: cpqHoFwVerIndex + type: gauge + - name: cpqHoFwVerCategory + oid: 1.3.6.1.4.1.232.11.2.14.1.1.2 + type: gauge + help: Firmware Version Category. - 1.3.6.1.4.1.232.11.2.14.1.1.2 + indexes: + - labelname: cpqHoFwVerIndex + type: gauge + enum_values: + 1: other + 2: storage + 3: nic + 4: rib + 5: system + - name: cpqHoFwVerDeviceType + oid: 1.3.6.1.4.1.232.11.2.14.1.1.3 + type: gauge + help: Firmware Version Device Type. - 1.3.6.1.4.1.232.11.2.14.1.1.3 + indexes: + - labelname: cpqHoFwVerIndex + type: gauge + enum_values: + 1: other + 2: internalArrayController + 3: fibreArrayController + 4: scsiController + 5: fibreChannelTapeController + 6: modularDataRouter + 7: ideCdRomDrive + 8: ideDiskDrive + 9: scsiCdRom-ScsiAttached + 10: scsiDiskDrive-ScsiAttached + 11: scsiTapeDrive-ScsiAttached + 12: scsiTapeLibrary-ScsiAttached + 13: scsiDiskDrive-ArrayAttached + 14: scsiTapeDrive-ArrayAttached + 15: scsiTapeLibrary-ArrayAttached + 16: scsiDiskDrive-FibreAttached + 17: scsiTapeDrive-FibreAttached + 18: scsiTapeLibrary-FibreAttached + 19: scsiEnclosureBackplaneRom-ScsiAttached + 20: scsiEnclosureBackplaneRom-ArrayAttached + 21: scsiEnclosureBackplaneRom-FibreAttached + 22: scsiEnclosureBackplaneRom-ra4x00 + 23: systemRom + 24: networkInterfaceController + 25: remoteInsightBoard + 26: sasDiskDrive-SasAttached + 27: sataDiskDrive-SataAttached + 28: usbController + 29: sasControllerAdapter + 30: sataControllerAdapter + 31: systemDevice + 32: fibreChannelHba + 33: convergedNetworkAdapter + 34: ideController + - name: cpqHoFwVerDisplayName + oid: 1.3.6.1.4.1.232.11.2.14.1.1.4 + type: DisplayString + help: Firmware Version Device Display Name - 1.3.6.1.4.1.232.11.2.14.1.1.4 + indexes: + - labelname: cpqHoFwVerIndex + type: gauge + - name: cpqHoFwVerVersion + oid: 1.3.6.1.4.1.232.11.2.14.1.1.5 + type: DisplayString + help: Firmware Version - 1.3.6.1.4.1.232.11.2.14.1.1.5 + indexes: + - labelname: cpqHoFwVerIndex + type: gauge + - name: cpqHoFwVerLocation + oid: 1.3.6.1.4.1.232.11.2.14.1.1.6 + type: DisplayString + help: Firmware Version Device Location - 1.3.6.1.4.1.232.11.2.14.1.1.6 + indexes: + - labelname: cpqHoFwVerIndex + type: gauge + - name: cpqHoFwVerXmlString + oid: 1.3.6.1.4.1.232.11.2.14.1.1.7 + type: DisplayString + help: Firmware Version Xml String - 1.3.6.1.4.1.232.11.2.14.1.1.7 + indexes: + - labelname: cpqHoFwVerIndex + type: gauge + - name: cpqHoFwVerKeyString + oid: 1.3.6.1.4.1.232.11.2.14.1.1.8 + type: DisplayString + help: Firmware Version Key String - 1.3.6.1.4.1.232.11.2.14.1.1.8 + indexes: + - labelname: cpqHoFwVerIndex + type: gauge + - name: cpqHoFwVerUpdateMethod + oid: 1.3.6.1.4.1.232.11.2.14.1.1.9 + type: gauge + help: Firmware Version update method. - 1.3.6.1.4.1.232.11.2.14.1.1.9 + indexes: + - labelname: cpqHoFwVerIndex + type: gauge + enum_values: + 1: other + 2: noUpdate + 3: softwareflash + 4: replacePhysicalRom + - name: cpqHoHWInfoPlatform + oid: 1.3.6.1.4.1.232.11.2.15.1 + type: gauge + help: Hardware platform type - 1.3.6.1.4.1.232.11.2.15.1 + enum_values: + 1: unknown + 2: cellular + 3: foundation + 4: virtualMachine + 5: serverBlade + - name: cpqPwrWarnType + oid: 1.3.6.1.4.1.232.11.2.16.1 + type: DisplayString + help: Type of power reading on which the warning is based. - 1.3.6.1.4.1.232.11.2.16.1 + - name: cpqPwrWarnThreshold + oid: 1.3.6.1.4.1.232.11.2.16.2 + type: gauge + help: The threshold the power usage must exceed (in Watts). - 1.3.6.1.4.1.232.11.2.16.2 + - name: cpqPwrWarnDuration + oid: 1.3.6.1.4.1.232.11.2.16.3 + type: gauge + help: Duration that power usage must be exceeded before warning (in minutes). + - 1.3.6.1.4.1.232.11.2.16.3 + - name: cpqSerialNum + oid: 1.3.6.1.4.1.232.11.2.16.4 + type: DisplayString + help: Serial number of the server. - 1.3.6.1.4.1.232.11.2.16.4 + - name: cpqServerUUID + oid: 1.3.6.1.4.1.232.11.2.16.5 + type: DisplayString + help: Server UUID - 1.3.6.1.4.1.232.11.2.16.5 + - name: cpqIdeMibRevMajor + oid: 1.3.6.1.4.1.232.14.1.1 + type: gauge + help: The Major Revision level - 1.3.6.1.4.1.232.14.1.1 + - name: cpqIdeMibRevMinor + oid: 1.3.6.1.4.1.232.14.1.2 + type: gauge + help: The Minor Revision level - 1.3.6.1.4.1.232.14.1.2 + - name: cpqIdeMibCondition + oid: 1.3.6.1.4.1.232.14.1.3 + type: gauge + help: The overall condition - 1.3.6.1.4.1.232.14.1.3 + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqIdeOsCommonPollFreq + oid: 1.3.6.1.4.1.232.14.2.1.4.1 + type: gauge + help: The Insight Agent`s polling frequency - 1.3.6.1.4.1.232.14.2.1.4.1 + - name: cpqIdeOsCommonModuleIndex + oid: 1.3.6.1.4.1.232.14.2.1.4.2.1.1 + type: gauge + help: A unique index for this module description. - 1.3.6.1.4.1.232.14.2.1.4.2.1.1 + indexes: + - labelname: cpqIdeOsCommonModuleIndex + type: gauge + - name: cpqIdeOsCommonModuleName + oid: 1.3.6.1.4.1.232.14.2.1.4.2.1.2 + type: DisplayString + help: The module name. - 1.3.6.1.4.1.232.14.2.1.4.2.1.2 + indexes: + - labelname: cpqIdeOsCommonModuleIndex + type: gauge + - name: cpqIdeOsCommonModuleVersion + oid: 1.3.6.1.4.1.232.14.2.1.4.2.1.3 + type: DisplayString + help: The module version in XX.YY format - 1.3.6.1.4.1.232.14.2.1.4.2.1.3 + indexes: + - labelname: cpqIdeOsCommonModuleIndex + type: gauge + - name: cpqIdeOsCommonModuleDate + oid: 1.3.6.1.4.1.232.14.2.1.4.2.1.4 + type: OctetString + help: The module date - 1.3.6.1.4.1.232.14.2.1.4.2.1.4 + indexes: + - labelname: cpqIdeOsCommonModuleIndex + type: gauge + - name: cpqIdeOsCommonModulePurpose + oid: 1.3.6.1.4.1.232.14.2.1.4.2.1.5 + type: DisplayString + help: The purpose of the module described in this entry. - 1.3.6.1.4.1.232.14.2.1.4.2.1.5 + indexes: + - labelname: cpqIdeOsCommonModuleIndex + type: gauge + - name: cpqIdeIdentIndex + oid: 1.3.6.1.4.1.232.14.2.2.1.1.1 + type: gauge + help: An index that uniquely specifies each device - 1.3.6.1.4.1.232.14.2.2.1.1.1 + indexes: + - labelname: cpqIdeIdentIndex + type: gauge + - name: cpqIdeIdentModel + oid: 1.3.6.1.4.1.232.14.2.2.1.1.2 + type: DisplayString + help: IDE Drive Model - 1.3.6.1.4.1.232.14.2.2.1.1.2 + indexes: + - labelname: cpqIdeIdentIndex + type: gauge + - name: cpqIdeIdentSerNum + oid: 1.3.6.1.4.1.232.14.2.2.1.1.3 + type: DisplayString + help: IDE Drive Serial Number - 1.3.6.1.4.1.232.14.2.2.1.1.3 + indexes: + - labelname: cpqIdeIdentIndex + type: gauge + - name: cpqIdeIdentFWVers + oid: 1.3.6.1.4.1.232.14.2.2.1.1.4 + type: DisplayString + help: IDE Firmware Version - 1.3.6.1.4.1.232.14.2.2.1.1.4 + indexes: + - labelname: cpqIdeIdentIndex + type: gauge + - name: cpqIdeIdentCondition + oid: 1.3.6.1.4.1.232.14.2.2.1.1.5 + type: gauge + help: IDE Drive Condition - 1.3.6.1.4.1.232.14.2.2.1.1.5 + indexes: + - labelname: cpqIdeIdentIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqIdeIdentErrorNumber + oid: 1.3.6.1.4.1.232.14.2.2.1.1.6 + type: DisplayString + help: IDE Error Number - 1.3.6.1.4.1.232.14.2.2.1.1.6 + indexes: + - labelname: cpqIdeIdentIndex + type: gauge + - name: cpqIdeIdentType + oid: 1.3.6.1.4.1.232.14.2.2.1.1.7 + type: gauge + help: IDE Device Type - 1.3.6.1.4.1.232.14.2.2.1.1.7 + indexes: + - labelname: cpqIdeIdentIndex + type: gauge + enum_values: + 1: other + 2: disk + 3: tape + 4: printer + 5: processor + 6: wormDrive + 7: cd-rom + 8: scanner + 9: optical + 10: jukeBox + 11: commDev + - name: cpqIdeIdentTypeExtended + oid: 1.3.6.1.4.1.232.14.2.2.1.1.8 + type: gauge + help: IDE Extended Device Type - 1.3.6.1.4.1.232.14.2.2.1.1.8 + indexes: + - labelname: cpqIdeIdentIndex + type: gauge + enum_values: + 1: other + 2: pdcd + 3: removableDisk + - name: cpqIdeIdentCondition2 + oid: 1.3.6.1.4.1.232.14.2.2.1.1.9 + type: gauge + help: IDE Drive Condition - 1.3.6.1.4.1.232.14.2.2.1.1.9 + indexes: + - labelname: cpqIdeIdentIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqIdeIdentStatus + oid: 1.3.6.1.4.1.232.14.2.2.1.1.10 + type: gauge + help: IDE Drive Satus - 1.3.6.1.4.1.232.14.2.2.1.1.10 + indexes: + - labelname: cpqIdeIdentIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: preFailureDegraded + 4: ultraAtaDegraded + - name: cpqIdeIdentUltraAtaAvailability + oid: 1.3.6.1.4.1.232.14.2.2.1.1.11 + type: gauge + help: This describes the availability of Ultra ATA transfers between this device + and the controller - 1.3.6.1.4.1.232.14.2.2.1.1.11 + indexes: + - labelname: cpqIdeIdentIndex + type: gauge + enum_values: + 1: other + 2: noNotSupportedByDeviceAndController + 3: noNotSupportedByDevice + 4: noNotSupportedByController + 5: noDisabledInSetup + 6: yesEnabledInSetup + - name: cpqIdeControllerIndex + oid: 1.3.6.1.4.1.232.14.2.3.1.1.1 + type: gauge + help: An index that uniquely identifies each controller. - 1.3.6.1.4.1.232.14.2.3.1.1.1 + indexes: + - labelname: cpqIdeControllerIndex + type: gauge + - name: cpqIdeControllerOverallCondition + oid: 1.3.6.1.4.1.232.14.2.3.1.1.2 + type: gauge + help: IDE Controller Overall Condition - 1.3.6.1.4.1.232.14.2.3.1.1.2 + indexes: + - labelname: cpqIdeControllerIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqIdeControllerModel + oid: 1.3.6.1.4.1.232.14.2.3.1.1.3 + type: DisplayString + help: IDE Controller Model - 1.3.6.1.4.1.232.14.2.3.1.1.3 + indexes: + - labelname: cpqIdeControllerIndex + type: gauge + - name: cpqIdeControllerFwRev + oid: 1.3.6.1.4.1.232.14.2.3.1.1.4 + type: DisplayString + help: IDE Controller Firmware Revision - 1.3.6.1.4.1.232.14.2.3.1.1.4 + indexes: + - labelname: cpqIdeControllerIndex + type: gauge + - name: cpqIdeControllerSlot + oid: 1.3.6.1.4.1.232.14.2.3.1.1.5 + type: gauge + help: IDE Controller Slot - 1.3.6.1.4.1.232.14.2.3.1.1.5 + indexes: + - labelname: cpqIdeControllerIndex + type: gauge + - name: cpqIdeControllerStatus + oid: 1.3.6.1.4.1.232.14.2.3.1.1.6 + type: gauge + help: IDE Channel Host Controller Status - 1.3.6.1.4.1.232.14.2.3.1.1.6 + indexes: + - labelname: cpqIdeControllerIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: failed + - name: cpqIdeControllerCondition + oid: 1.3.6.1.4.1.232.14.2.3.1.1.7 + type: gauge + help: IDE Controller Condition - 1.3.6.1.4.1.232.14.2.3.1.1.7 + indexes: + - labelname: cpqIdeControllerIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqIdeControllerSerialNumber + oid: 1.3.6.1.4.1.232.14.2.3.1.1.8 + type: DisplayString + help: IDE Controller Serial Number - 1.3.6.1.4.1.232.14.2.3.1.1.8 + indexes: + - labelname: cpqIdeControllerIndex + type: gauge + - name: cpqIdeControllerHwLocation + oid: 1.3.6.1.4.1.232.14.2.3.1.1.9 + type: DisplayString + help: IDE Controller Hardware Location - 1.3.6.1.4.1.232.14.2.3.1.1.9 + indexes: + - labelname: cpqIdeControllerIndex + type: gauge + - name: cpqIdeControllerPciLocation + oid: 1.3.6.1.4.1.232.14.2.3.1.1.10 + type: DisplayString + help: IDE Controller PCI Location - 1.3.6.1.4.1.232.14.2.3.1.1.10 + indexes: + - labelname: cpqIdeControllerIndex + type: gauge + - name: cpqIdeAtaDiskControllerIndex + oid: 1.3.6.1.4.1.232.14.2.4.1.1.1 + type: gauge + help: An index that uniquely identifies each controller. - 1.3.6.1.4.1.232.14.2.4.1.1.1 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskIndex + oid: 1.3.6.1.4.1.232.14.2.4.1.1.2 + type: gauge + help: An index that uniquely identifies each disk. - 1.3.6.1.4.1.232.14.2.4.1.1.2 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskModel + oid: 1.3.6.1.4.1.232.14.2.4.1.1.3 + type: DisplayString + help: ATA Disk Model - 1.3.6.1.4.1.232.14.2.4.1.1.3 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskFwRev + oid: 1.3.6.1.4.1.232.14.2.4.1.1.4 + type: DisplayString + help: ATA Disk Firmware Revision - 1.3.6.1.4.1.232.14.2.4.1.1.4 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskSerialNumber + oid: 1.3.6.1.4.1.232.14.2.4.1.1.5 + type: DisplayString + help: ATA Disk Serial Number - 1.3.6.1.4.1.232.14.2.4.1.1.5 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskStatus + oid: 1.3.6.1.4.1.232.14.2.4.1.1.6 + type: gauge + help: ATA Disk Status - 1.3.6.1.4.1.232.14.2.4.1.1.6 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: smartError + 4: failed + 5: ssdWearOut + 6: removed + 7: inserted + - name: cpqIdeAtaDiskCondition + oid: 1.3.6.1.4.1.232.14.2.4.1.1.7 + type: gauge + help: ATA Disk Condition - 1.3.6.1.4.1.232.14.2.4.1.1.7 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqIdeAtaDiskCapacity + oid: 1.3.6.1.4.1.232.14.2.4.1.1.8 + type: gauge + help: ATA Disk Capacity - 1.3.6.1.4.1.232.14.2.4.1.1.8 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskSmartEnabled + oid: 1.3.6.1.4.1.232.14.2.4.1.1.9 + type: gauge + help: ATA Disk S.M.A.R.T Enabled? other(1) The agent cannot determine the state + of S.M.A.R.T - 1.3.6.1.4.1.232.14.2.4.1.1.9 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: "true" + 3: "false" + - name: cpqIdeAtaDiskTransferMode + oid: 1.3.6.1.4.1.232.14.2.4.1.1.10 + type: gauge + help: ATA Disk Transfer Mode - 1.3.6.1.4.1.232.14.2.4.1.1.10 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: pioMode0 + 3: pioMode1 + 4: pioMode2 + 5: pioMode3 + 6: pioMode4 + 7: dmaMode0 + 8: dmaMode1 + 9: dmaMode2 + 10: ultraDmaMode0 + 11: ultraDmaMode1 + 12: ultraDmaMode2 + 13: ultraDmaMode3 + 14: ultraDmaMode4 + 15: ultraDmaMode5 + - name: cpqIdeAtaDiskChannel + oid: 1.3.6.1.4.1.232.14.2.4.1.1.11 + type: gauge + help: ATA Disk Channel - 1.3.6.1.4.1.232.14.2.4.1.1.11 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: channel0 + 3: channel1 + 4: serial + - name: cpqIdeAtaDiskNumber + oid: 1.3.6.1.4.1.232.14.2.4.1.1.12 + type: gauge + help: ATA Disk Number - 1.3.6.1.4.1.232.14.2.4.1.1.12 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: device0 + 3: device1 + 4: sataDevice0 + 5: sataDevice1 + 6: sataDevice2 + 7: sataDevice3 + 8: sataDevice4 + 9: sataDevice5 + 10: sataDevice6 + 11: sataDevice7 + 12: sataDevice8 + 13: sataDevice9 + 14: sataDevice10 + 15: sataDevice11 + 16: sataDevice12 + 17: sataDevice13 + 18: sataDevice14 + 19: sataDevice15 + 20: sataDevice16 + 21: bay1 + 22: bay2 + 23: bay3 + 24: bay4 + 25: bay5 + 26: bay6 + 27: bay7 + 28: bay8 + 29: bay9 + 30: bay10 + 31: bay11 + 32: bay12 + 33: bay13 + 34: bay14 + 35: bay15 + 36: bay16 + 37: bay17 + 38: bay18 + 39: bay19 + 40: bay20 + 41: bay21 + 42: bay22 + 43: bay23 + 44: bay24 + - name: cpqIdeAtaDiskLogicalDriveMember + oid: 1.3.6.1.4.1.232.14.2.4.1.1.13 + type: gauge + help: Logical Drive Membership? other(1) The agent cannot determine if the ATA + disk is part of a logical drive - 1.3.6.1.4.1.232.14.2.4.1.1.13 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: "true" + 3: "false" + - name: cpqIdeAtaDiskIsSpare + oid: 1.3.6.1.4.1.232.14.2.4.1.1.14 + type: gauge + help: ATA Disk Spare? other(1) The agent cannot determine if the ATA disk is + a spare - 1.3.6.1.4.1.232.14.2.4.1.1.14 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: "true" + 3: "false" + - name: cpqIdeAtaDiskOsName + oid: 1.3.6.1.4.1.232.14.2.4.1.1.15 + type: DisplayString + help: ATA Disk OS Name - 1.3.6.1.4.1.232.14.2.4.1.1.15 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskType + oid: 1.3.6.1.4.1.232.14.2.4.1.1.16 + type: gauge + help: ATA Disk Type other(1) The agent cannot determine the disk type - 1.3.6.1.4.1.232.14.2.4.1.1.16 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: ata + 3: sata + - name: cpqIdeAtaDiskSataVersion + oid: 1.3.6.1.4.1.232.14.2.4.1.1.17 + type: gauge + help: Physical Drive SATA Version - 1.3.6.1.4.1.232.14.2.4.1.1.17 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: sataOne + 3: sataTwo + - name: cpqIdeAtaDiskMediaType + oid: 1.3.6.1.4.1.232.14.2.4.1.1.18 + type: gauge + help: SATA Physical Drive Media Type - 1.3.6.1.4.1.232.14.2.4.1.1.18 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: rotatingPlatters + 3: solidState + - name: cpqIdeAtaDiskSSDWearStatus + oid: 1.3.6.1.4.1.232.14.2.4.1.1.19 + type: gauge + help: SATA Physical Drive Solid State Disk Wear Status - 1.3.6.1.4.1.232.14.2.4.1.1.19 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: fiftySixDayThreshold + 4: fivePercentThreshold + 5: twoPercentThreshold + 6: ssdWearOut + - name: cpqIdeAtaDiskPowerOnHours + oid: 1.3.6.1.4.1.232.14.2.4.1.1.20 + type: counter + help: SATA Physical Drive Power On Hours - 1.3.6.1.4.1.232.14.2.4.1.1.20 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskSSDPercntEndrnceUsed + oid: 1.3.6.1.4.1.232.14.2.4.1.1.21 + type: gauge + help: SATA Physical Drive Solid State Percent Endurance Used - 1.3.6.1.4.1.232.14.2.4.1.1.21 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskSSDEstTimeRemainingHours + oid: 1.3.6.1.4.1.232.14.2.4.1.1.22 + type: counter + help: SATA Physical Drive Solid State Estimated Time Remaining In Hours - 1.3.6.1.4.1.232.14.2.4.1.1.22 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskCurrTemperature + oid: 1.3.6.1.4.1.232.14.2.4.1.1.23 + type: gauge + help: SATA Physical Drive Current Operating Temperature degrees Celsius - 1.3.6.1.4.1.232.14.2.4.1.1.23 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskTemperatureThreshold + oid: 1.3.6.1.4.1.232.14.2.4.1.1.24 + type: gauge + help: SATA Physical Drive Maximum Operating Temperature in degrees Celsius - + 1.3.6.1.4.1.232.14.2.4.1.1.24 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskMaximumOperatingTemp + oid: 1.3.6.1.4.1.232.14.2.4.1.1.25 + type: gauge + help: SATA Physical Drive Maximum Operating Temperature, as specified by the + manufacturer, in degrees Celsius - 1.3.6.1.4.1.232.14.2.4.1.1.25 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskDestructiveOperatingTemp + oid: 1.3.6.1.4.1.232.14.2.4.1.1.26 + type: gauge + help: SATA Physical Drive Destructive Operating Temperature, as specified by + the manufacturer, in degrees Celsius, which if exceeded can cause damage to + the drive - 1.3.6.1.4.1.232.14.2.4.1.1.26 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskLocation + oid: 1.3.6.1.4.1.232.14.2.4.1.1.27 + type: DisplayString + help: Location of Disk Drive - 1.3.6.1.4.1.232.14.2.4.1.1.27 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskCapacityHighBytes + oid: 1.3.6.1.4.1.232.14.2.4.1.1.28 + type: counter + help: ATA Disk Capacity in Bytes (high) - 1.3.6.1.4.1.232.14.2.4.1.1.28 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaDiskCapacityLowBytes + oid: 1.3.6.1.4.1.232.14.2.4.1.1.29 + type: counter + help: ATA Disk Capacity in Bytes (low) - 1.3.6.1.4.1.232.14.2.4.1.1.29 + indexes: + - labelname: cpqIdeAtaDiskControllerIndex + type: gauge + - labelname: cpqIdeAtaDiskIndex + type: gauge + - name: cpqIdeAtaEraseFailureType + oid: 1.3.6.1.4.1.232.14.2.4.2 + type: gauge + help: The value specifies the secure erase status of SATA drive - 1.3.6.1.4.1.232.14.2.4.2 + enum_values: + 1: secureEraseFailed + 2: secureEraseNotSupported + 3: noEraseSupported + - name: cpqIdeAtapiDeviceControllerIndex + oid: 1.3.6.1.4.1.232.14.2.5.1.1.1 + type: gauge + help: An index that uniquely identifies each controller. - 1.3.6.1.4.1.232.14.2.5.1.1.1 + indexes: + - labelname: cpqIdeAtapiDeviceControllerIndex + type: gauge + - labelname: cpqIdeAtapiDeviceIndex + type: gauge + - name: cpqIdeAtapiDeviceIndex + oid: 1.3.6.1.4.1.232.14.2.5.1.1.2 + type: gauge + help: An index that uniquely identifies each ATAPI device. - 1.3.6.1.4.1.232.14.2.5.1.1.2 + indexes: + - labelname: cpqIdeAtapiDeviceControllerIndex + type: gauge + - labelname: cpqIdeAtapiDeviceIndex + type: gauge + - name: cpqIdeAtapiDeviceModel + oid: 1.3.6.1.4.1.232.14.2.5.1.1.3 + type: DisplayString + help: ATAPI Device Model - 1.3.6.1.4.1.232.14.2.5.1.1.3 + indexes: + - labelname: cpqIdeAtapiDeviceControllerIndex + type: gauge + - labelname: cpqIdeAtapiDeviceIndex + type: gauge + - name: cpqIdeAtapiDeviceFwRev + oid: 1.3.6.1.4.1.232.14.2.5.1.1.4 + type: DisplayString + help: ATAPI Device Firmware Revision - 1.3.6.1.4.1.232.14.2.5.1.1.4 + indexes: + - labelname: cpqIdeAtapiDeviceControllerIndex + type: gauge + - labelname: cpqIdeAtapiDeviceIndex + type: gauge + - name: cpqIdeAtapiDeviceType + oid: 1.3.6.1.4.1.232.14.2.5.1.1.5 + type: gauge + help: ATAPI Device Type - 1.3.6.1.4.1.232.14.2.5.1.1.5 + indexes: + - labelname: cpqIdeAtapiDeviceControllerIndex + type: gauge + - labelname: cpqIdeAtapiDeviceIndex + type: gauge + enum_values: + 1: other + 2: disk + 3: tape + 4: printer + 5: processor + 6: wormDrive + 7: cd-rom + 8: scanner + 9: optical + 10: jukeBox + 11: commDev + - name: cpqIdeAtapiDeviceTypeExtended + oid: 1.3.6.1.4.1.232.14.2.5.1.1.6 + type: gauge + help: ATAPI Extended Device Type - 1.3.6.1.4.1.232.14.2.5.1.1.6 + indexes: + - labelname: cpqIdeAtapiDeviceControllerIndex + type: gauge + - labelname: cpqIdeAtapiDeviceIndex + type: gauge + enum_values: + 1: other + 2: pdcd + 3: removableDisk + - name: cpqIdeAtapiDeviceChannel + oid: 1.3.6.1.4.1.232.14.2.5.1.1.7 + type: gauge + help: ATAPI Device Channel - 1.3.6.1.4.1.232.14.2.5.1.1.7 + indexes: + - labelname: cpqIdeAtapiDeviceControllerIndex + type: gauge + - labelname: cpqIdeAtapiDeviceIndex + type: gauge + enum_values: + 1: other + 2: channel0 + 3: channel1 + - name: cpqIdeAtapiDeviceNumber + oid: 1.3.6.1.4.1.232.14.2.5.1.1.8 + type: gauge + help: ATAPI Device Number - 1.3.6.1.4.1.232.14.2.5.1.1.8 + indexes: + - labelname: cpqIdeAtapiDeviceControllerIndex + type: gauge + - labelname: cpqIdeAtapiDeviceIndex + type: gauge + enum_values: + 1: other + 2: device0 + 3: device1 + - name: cpqIdeLogicalDriveControllerIndex + oid: 1.3.6.1.4.1.232.14.2.6.1.1.1 + type: gauge + help: An index that uniquely identifies each controller. - 1.3.6.1.4.1.232.14.2.6.1.1.1 + indexes: + - labelname: cpqIdeLogicalDriveControllerIndex + type: gauge + - labelname: cpqIdeLogicalDriveIndex + type: gauge + - name: cpqIdeLogicalDriveIndex + oid: 1.3.6.1.4.1.232.14.2.6.1.1.2 + type: gauge + help: An index that uniquely identifies each logical drive. - 1.3.6.1.4.1.232.14.2.6.1.1.2 + indexes: + - labelname: cpqIdeLogicalDriveControllerIndex + type: gauge + - labelname: cpqIdeLogicalDriveIndex + type: gauge + - name: cpqIdeLogicalDriveRaidLevel + oid: 1.3.6.1.4.1.232.14.2.6.1.1.3 + type: gauge + help: IDE Logical Drive RAID Level - 1.3.6.1.4.1.232.14.2.6.1.1.3 + indexes: + - labelname: cpqIdeLogicalDriveControllerIndex + type: gauge + - labelname: cpqIdeLogicalDriveIndex + type: gauge + enum_values: + 1: other + 2: raid0 + 3: raid1 + 4: raid0plus1 + 5: raid5 + 6: raid15 + 7: volume + - name: cpqIdeLogicalDriveCapacity + oid: 1.3.6.1.4.1.232.14.2.6.1.1.4 + type: gauge + help: IDE Logical Drive Capacity - 1.3.6.1.4.1.232.14.2.6.1.1.4 + indexes: + - labelname: cpqIdeLogicalDriveControllerIndex + type: gauge + - labelname: cpqIdeLogicalDriveIndex + type: gauge + - name: cpqIdeLogicalDriveStatus + oid: 1.3.6.1.4.1.232.14.2.6.1.1.5 + type: gauge + help: IDE Logical Drive Status - 1.3.6.1.4.1.232.14.2.6.1.1.5 + indexes: + - labelname: cpqIdeLogicalDriveControllerIndex + type: gauge + - labelname: cpqIdeLogicalDriveIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: rebuilding + 5: failed + - name: cpqIdeLogicalDriveCondition + oid: 1.3.6.1.4.1.232.14.2.6.1.1.6 + type: gauge + help: IDE Logical Drive Condition - 1.3.6.1.4.1.232.14.2.6.1.1.6 + indexes: + - labelname: cpqIdeLogicalDriveControllerIndex + type: gauge + - labelname: cpqIdeLogicalDriveIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqIdeLogicalDriveDiskIds + oid: 1.3.6.1.4.1.232.14.2.6.1.1.7 + type: OctetString + help: IDE Logical Drive Disk ID list - 1.3.6.1.4.1.232.14.2.6.1.1.7 + indexes: + - labelname: cpqIdeLogicalDriveControllerIndex + type: gauge + - labelname: cpqIdeLogicalDriveIndex + type: gauge + - name: cpqIdeLogicalDriveStripeSize + oid: 1.3.6.1.4.1.232.14.2.6.1.1.8 + type: gauge + help: IDE Logical Drive Stripe Size - 1.3.6.1.4.1.232.14.2.6.1.1.8 + indexes: + - labelname: cpqIdeLogicalDriveControllerIndex + type: gauge + - labelname: cpqIdeLogicalDriveIndex + type: gauge + - name: cpqIdeLogicalDriveSpareIds + oid: 1.3.6.1.4.1.232.14.2.6.1.1.9 + type: OctetString + help: IDE Logical Drive Spare ID list - 1.3.6.1.4.1.232.14.2.6.1.1.9 + indexes: + - labelname: cpqIdeLogicalDriveControllerIndex + type: gauge + - labelname: cpqIdeLogicalDriveIndex + type: gauge + - name: cpqIdeLogicalDriveRebuildingDisk + oid: 1.3.6.1.4.1.232.14.2.6.1.1.10 + type: gauge + help: IDE Logical Drive Rebuilding Disk - 1.3.6.1.4.1.232.14.2.6.1.1.10 + indexes: + - labelname: cpqIdeLogicalDriveControllerIndex + type: gauge + - labelname: cpqIdeLogicalDriveIndex + type: gauge + - name: cpqIdeLogicalDriveOsName + oid: 1.3.6.1.4.1.232.14.2.6.1.1.11 + type: DisplayString + help: IDE Logical Drive OS Name - 1.3.6.1.4.1.232.14.2.6.1.1.11 + indexes: + - labelname: cpqIdeLogicalDriveControllerIndex + type: gauge + - labelname: cpqIdeLogicalDriveIndex + type: gauge + - name: cpqDaCntlrIndex + oid: 1.3.6.1.4.1.232.3.2.2.1.1.1 + type: gauge + help: Array Controller Index - 1.3.6.1.4.1.232.3.2.2.1.1.1 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrModel + oid: 1.3.6.1.4.1.232.3.2.2.1.1.2 + type: gauge + help: Array Controller Model - 1.3.6.1.4.1.232.3.2.2.1.1.2 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: ida + 3: idaExpansion + 4: ida-2 + 5: smart + 6: smart-2e + 7: smart-2p + 8: smart-2sl + 9: smart-3100es + 10: smart-3200 + 11: smart-2dh + 12: smart-221 + 13: sa-4250es + 14: sa-4200 + 15: sa-integrated + 16: sa-431 + 17: sa-5300 + 18: raidLc2 + 19: sa-5i + 20: sa-532 + 21: sa-5312 + 22: sa-641 + 23: sa-642 + 24: sa-6400 + 25: sa-6400em + 26: sa-6i + 27: sa-generic + 29: sa-p600 + 30: sa-p400 + 31: sa-e200 + 32: sa-e200i + 33: sa-p400i + 34: sa-p800 + 35: sa-e500 + 36: sa-p700m + 37: sa-p212 + 38: sa-p410 + 39: sa-p410i + 40: sa-p411 + 41: sa-b110i + 42: sa-p712m + 43: sa-p711m + 44: sa-p812 + 45: sw-1210m + 46: sa-p220i + 47: sa-p222 + 48: sa-p420 + 49: sa-p420i + 50: sa-p421 + 51: sa-b320i + 52: sa-p822 + 53: sa-p721m + 54: sa-b120i + 55: hps-1224 + 56: hps-1228 + 57: hps-1228m + 58: sa-p822se + 59: hps-1224e + 60: hps-1228e + 61: hps-1228em + 62: sa-p230i + 63: sa-p430i + 64: sa-p430 + 65: sa-p431 + 66: sa-p731m + 67: sa-p830i + 68: sa-p830 + 69: sa-p831 + 70: sa-p530 + 71: sa-p531 + 72: sa-p244br + 73: sa-p246br + 74: sa-p440 + 75: sa-p440ar + 76: sa-p441 + 77: sa-p741m + 78: sa-p840 + 79: sa-p841 + 80: sh-h240ar + 81: sh-h244br + 82: sh-h240 + 83: sh-h241 + 84: sa-b140i + 85: sh-generic + 86: sa-p240nr + 87: sh-h240nr + 88: sa-p840ar + 89: sa-p542d + 90: s100i + 91: e208i-p + 92: e208i-a + 93: e208i-c + 94: e208e-p + 95: p204i-b + 96: p204i-c + 97: p408i-p + 98: p408i-a + 99: p408e-p + 100: p408i-c + 101: p408e-m + 102: p416ie-m + 103: p816i-a + 104: p408i-sb + - name: cpqDaCntlrFWRev + oid: 1.3.6.1.4.1.232.3.2.2.1.1.3 + type: DisplayString + help: Array Controller Firmware Revision - 1.3.6.1.4.1.232.3.2.2.1.1.3 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrStndIntr + oid: 1.3.6.1.4.1.232.3.2.2.1.1.4 + type: gauge + help: The status of the Standard Interface - 1.3.6.1.4.1.232.3.2.2.1.1.4 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: primary + 3: secondary + 4: disabled + 5: unavailable + - name: cpqDaCntlrSlot + oid: 1.3.6.1.4.1.232.3.2.2.1.1.5 + type: gauge + help: Array Controller Slot - 1.3.6.1.4.1.232.3.2.2.1.1.5 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrCondition + oid: 1.3.6.1.4.1.232.3.2.2.1.1.6 + type: gauge + help: The condition of the device - 1.3.6.1.4.1.232.3.2.2.1.1.6 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqDaCntlrProductRev + oid: 1.3.6.1.4.1.232.3.2.2.1.1.7 + type: DisplayString + help: Array Controller Product Revision - 1.3.6.1.4.1.232.3.2.2.1.1.7 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrPartnerSlot + oid: 1.3.6.1.4.1.232.3.2.2.1.1.8 + type: gauge + help: Array Controller Partner Slot - 1.3.6.1.4.1.232.3.2.2.1.1.8 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrCurrentRole + oid: 1.3.6.1.4.1.232.3.2.2.1.1.9 + type: gauge + help: Array Controller Current Role - 1.3.6.1.4.1.232.3.2.2.1.1.9 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: notDuplexed + 3: active + 4: backup + 5: asymActiveActive + - name: cpqDaCntlrBoardStatus + oid: 1.3.6.1.4.1.232.3.2.2.1.1.10 + type: gauge + help: Array Controller Board Status - 1.3.6.1.4.1.232.3.2.2.1.1.10 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: generalFailure + 4: cableProblem + 5: poweredOff + 6: cacheModuleMissing + 7: degraded + - name: cpqDaCntlrPartnerBoardStatus + oid: 1.3.6.1.4.1.232.3.2.2.1.1.11 + type: gauge + help: Array Controller Partner Board Status - 1.3.6.1.4.1.232.3.2.2.1.1.11 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: generalFailure + 4: cableProblem + 5: poweredOff + - name: cpqDaCntlrBoardCondition + oid: 1.3.6.1.4.1.232.3.2.2.1.1.12 + type: gauge + help: The condition of the device - 1.3.6.1.4.1.232.3.2.2.1.1.12 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqDaCntlrPartnerBoardCondition + oid: 1.3.6.1.4.1.232.3.2.2.1.1.13 + type: gauge + help: The condition of the device - 1.3.6.1.4.1.232.3.2.2.1.1.13 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqDaCntlrDriveOwnership + oid: 1.3.6.1.4.1.232.3.2.2.1.1.14 + type: gauge + help: Array Controller Drive Ownership - 1.3.6.1.4.1.232.3.2.2.1.1.14 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: owner + 3: notOwner + - name: cpqDaCntlrSerialNumber + oid: 1.3.6.1.4.1.232.3.2.2.1.1.15 + type: DisplayString + help: Array Controller Serial Number - 1.3.6.1.4.1.232.3.2.2.1.1.15 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrRedundancyType + oid: 1.3.6.1.4.1.232.3.2.2.1.1.16 + type: gauge + help: Array Controller Redundancy Type - 1.3.6.1.4.1.232.3.2.2.1.1.16 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: notRedundant + 3: driverDuplexing + 4: fwActiveStandby + 5: fwPrimarySecondary + 6: fwActiveActive + - name: cpqDaCntlrRedundancyError + oid: 1.3.6.1.4.1.232.3.2.2.1.1.17 + type: gauge + help: Array Controller Redundancy Error - 1.3.6.1.4.1.232.3.2.2.1.1.17 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: noFailure + 3: noRedundantController + 4: differentHardware + 5: noLink + 6: differentFirmware + 7: differentCache + 8: otherCacheFailure + 9: noDrives + 10: otherNoDrives + 11: unsupportedDrives + 12: expandInProgress + - name: cpqDaCntlrAccessModuleStatus + oid: 1.3.6.1.4.1.232.3.2.2.1.1.18 + type: gauge + help: Array Controller RAID ADG Enabler Module Status - 1.3.6.1.4.1.232.3.2.2.1.1.18 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: notSupported + 3: notPresent + 4: badSignature + 5: badChecksum + 6: fullyFunctional + 7: upgradeFirmware + - name: cpqDaCntlrDaughterBoardType + oid: 1.3.6.1.4.1.232.3.2.2.1.1.19 + type: gauge + help: Array Controller Daughter Board Type - 1.3.6.1.4.1.232.3.2.2.1.1.19 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: notSupported + 3: notPresent + 4: scsiBoardPresent + 5: fibreBoardPresent + 6: arrayExpansionModulePresent + - name: cpqDaCntlrHwLocation + oid: 1.3.6.1.4.1.232.3.2.2.1.1.20 + type: DisplayString + help: A text description of the hardware location of the controller - 1.3.6.1.4.1.232.3.2.2.1.1.20 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrNumberOfBuses + oid: 1.3.6.1.4.1.232.3.2.2.1.1.21 + type: gauge + help: Array Controller Number of Buses - 1.3.6.1.4.1.232.3.2.2.1.1.21 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrBlinkTime + oid: 1.3.6.1.4.1.232.3.2.2.1.1.22 + type: counter + help: Controller Physical Drive Blink Time Count - 1.3.6.1.4.1.232.3.2.2.1.1.22 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrRebuildPriority + oid: 1.3.6.1.4.1.232.3.2.2.1.1.23 + type: gauge + help: Array Controller Rebuild Priority - 1.3.6.1.4.1.232.3.2.2.1.1.23 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: low + 3: medium + 4: high + 5: mediumHigh + - name: cpqDaCntlrExpandPriority + oid: 1.3.6.1.4.1.232.3.2.2.1.1.24 + type: gauge + help: Array Controller Expand Priority - 1.3.6.1.4.1.232.3.2.2.1.1.24 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: low + 3: medium + 4: high + - name: cpqDaCntlrNumberOfInternalPorts + oid: 1.3.6.1.4.1.232.3.2.2.1.1.25 + type: gauge + help: Array Controller Number of Internal Ports - 1.3.6.1.4.1.232.3.2.2.1.1.25 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrNumberOfExternalPorts + oid: 1.3.6.1.4.1.232.3.2.2.1.1.26 + type: gauge + help: Array Controller Number of External Ports - 1.3.6.1.4.1.232.3.2.2.1.1.26 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrDriveWriteCacheState + oid: 1.3.6.1.4.1.232.3.2.2.1.1.27 + type: gauge + help: Array Controller Drive Write Cache State - 1.3.6.1.4.1.232.3.2.2.1.1.27 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: disabled + 3: enabled + - name: cpqDaCntlrPartnerSerialNumber + oid: 1.3.6.1.4.1.232.3.2.2.1.1.28 + type: DisplayString + help: Array Controller Partner Serial Number - 1.3.6.1.4.1.232.3.2.2.1.1.28 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrOptionRomRev + oid: 1.3.6.1.4.1.232.3.2.2.1.1.29 + type: DisplayString + help: Array Controller Option ROM Revision - 1.3.6.1.4.1.232.3.2.2.1.1.29 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrHbaFWRev + oid: 1.3.6.1.4.1.232.3.2.2.1.1.30 + type: DisplayString + help: Array Controller HBA Firmware Revision - 1.3.6.1.4.1.232.3.2.2.1.1.30 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrHBAModeOptionRomRev + oid: 1.3.6.1.4.1.232.3.2.2.1.1.31 + type: DisplayString + help: Array Controller HBA Mode Option Rom Revision - 1.3.6.1.4.1.232.3.2.2.1.1.31 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrCurrentTemp + oid: 1.3.6.1.4.1.232.3.2.2.1.1.32 + type: gauge + help: Array Controller Current Temperature - 1.3.6.1.4.1.232.3.2.2.1.1.32 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrLastLockupCode + oid: 1.3.6.1.4.1.232.3.2.2.1.1.33 + type: gauge + help: Array Controller Last Lockup Code - 1.3.6.1.4.1.232.3.2.2.1.1.33 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + - name: cpqDaCntlrEncryptionStatus + oid: 1.3.6.1.4.1.232.3.2.2.1.1.34 + type: gauge + help: Array Controller Encryption Status - 1.3.6.1.4.1.232.3.2.2.1.1.34 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: notEnabled + 3: enabledLocalKeyMode + 4: enabledRemoteKeyManagerMode + - name: cpqDaCntlrASICEncptSelfTestStatus + oid: 1.3.6.1.4.1.232.3.2.2.1.1.35 + type: gauge + help: Array Controller ASIC Encryption Self Test Status - 1.3.6.1.4.1.232.3.2.2.1.1.35 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: selfTestsPass + 3: selfTestsFailed + - name: cpqDaCntlrEncryptCspNvramStatus + oid: 1.3.6.1.4.1.232.3.2.2.1.1.36 + type: gauge + help: Array Controller Encryption Critical Security Parameter NVRAM Status - + 1.3.6.1.4.1.232.3.2.2.1.1.36 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: detectionFailed + - name: cpqDaCntlrEncryptCryptoOfficerPwdSetStatus + oid: 1.3.6.1.4.1.232.3.2.2.1.1.37 + type: gauge + help: Array Controller Encryption Crypto Officer Password Set Status - 1.3.6.1.4.1.232.3.2.2.1.1.37 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: "false" + 3: "true" + - name: cpqDaCntlrEncryptCntlrPwdSetStatus + oid: 1.3.6.1.4.1.232.3.2.2.1.1.38 + type: gauge + help: Array Controller Encryption Controller Password Set Status - 1.3.6.1.4.1.232.3.2.2.1.1.38 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: "false" + 3: "true" + - name: cpqDaCntlrEncryptCntlrPwdAvailStatus + oid: 1.3.6.1.4.1.232.3.2.2.1.1.39 + type: gauge + help: Array Controller Encryption Controller Password Availability Status - + 1.3.6.1.4.1.232.3.2.2.1.1.39 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: passwordMissing + 3: passwordActive + - name: cpqDaCntlrUnencryptedLogDrvCreationPolicy + oid: 1.3.6.1.4.1.232.3.2.2.1.1.40 + type: gauge + help: Array Controller Unencrypted Logical Drive Creation Policy - 1.3.6.1.4.1.232.3.2.2.1.1.40 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: "false" + 3: "true" + - name: cpqDaCntlrEncryptedLogDrvCreationPolicy + oid: 1.3.6.1.4.1.232.3.2.2.1.1.41 + type: gauge + help: Array Controller Encrypted Logical Drive Creation Policy - 1.3.6.1.4.1.232.3.2.2.1.1.41 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: "false" + 3: "true" + - name: cpqDaCntlrEncryptFWLockStatus + oid: 1.3.6.1.4.1.232.3.2.2.1.1.42 + type: gauge + help: Array Controller Encryption Firmware Lock Status - 1.3.6.1.4.1.232.3.2.2.1.1.42 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: "false" + 3: "true" + - name: cpqDaCntlrOperatingMode + oid: 1.3.6.1.4.1.232.3.2.2.1.1.43 + type: gauge + help: Array Controller Operating Mode - 1.3.6.1.4.1.232.3.2.2.1.1.43 + indexes: + - labelname: cpqDaCntlrIndex + type: gauge + enum_values: + 1: other + 2: smartArrayMode + 3: smartHbaMode + 4: mixedMode + - name: cpqDaLogDrvCntlrIndex + oid: 1.3.6.1.4.1.232.3.2.3.1.1.1 + type: gauge + help: Drive Array Logical Drive Controller Index - 1.3.6.1.4.1.232.3.2.3.1.1.1 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvIndex + oid: 1.3.6.1.4.1.232.3.2.3.1.1.2 + type: gauge + help: Drive Array Logical Drive Index - 1.3.6.1.4.1.232.3.2.3.1.1.2 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvFaultTol + oid: 1.3.6.1.4.1.232.3.2.3.1.1.3 + type: gauge + help: Logical Drive Fault Tolerance - 1.3.6.1.4.1.232.3.2.3.1.1.3 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + enum_values: + 1: other + 2: none + 3: mirroring + 4: dataGuard + 5: distribDataGuard + 7: advancedDataGuard + 8: raid50 + 9: raid60 + 10: raid1Adm + 11: raid10Adm + 12: raid10 + - name: cpqDaLogDrvStatus + oid: 1.3.6.1.4.1.232.3.2.3.1.1.4 + type: gauge + help: Logical Drive Status - 1.3.6.1.4.1.232.3.2.3.1.1.4 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: failed + 4: unconfigured + 5: recovering + 6: readyForRebuild + 7: rebuilding + 8: wrongDrive + 9: badConnect + 10: overheating + 11: shutdown + 12: expanding + 13: notAvailable + 14: queuedForExpansion + 15: multipathAccessDegraded + 16: erasing + 17: predictiveSpareRebuildReady + 18: rapidParityInitInProgress + 19: rapidParityInitPending + 20: noAccessEncryptedNoCntlrKey + 21: unencryptedToEncryptedInProgress + 22: newLogDrvKeyRekeyInProgress + 23: noAccessEncryptedCntlrEncryptnNotEnbld + 24: unencryptedToEncryptedNotStarted + 25: newLogDrvKeyRekeyRequestReceived + 26: unsupported + 27: offline + 28: sedQualInProgrss + 29: sedQualFailed + - name: cpqDaLogDrvAutoRel + oid: 1.3.6.1.4.1.232.3.2.3.1.1.5 + type: gauge + help: Array Controller Logical Drive Auto-Reliability Delay - 1.3.6.1.4.1.232.3.2.3.1.1.5 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvRebuildBlks + oid: 1.3.6.1.4.1.232.3.2.3.1.1.6 + type: counter + help: Logical Drive Rebuild Blocks Remaining - 1.3.6.1.4.1.232.3.2.3.1.1.6 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvHasAccel + oid: 1.3.6.1.4.1.232.3.2.3.1.1.7 + type: gauge + help: Logical Drive Has Cache Module Board - 1.3.6.1.4.1.232.3.2.3.1.1.7 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + enum_values: + 1: other + 2: unavailable + 3: enabled + 4: disabled + - name: cpqDaLogDrvAvailSpares + oid: 1.3.6.1.4.1.232.3.2.3.1.1.8 + type: OctetString + help: Drive Array Logical Drive Available Spares - 1.3.6.1.4.1.232.3.2.3.1.1.8 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvSize + oid: 1.3.6.1.4.1.232.3.2.3.1.1.9 + type: gauge + help: Logical Drive Size - 1.3.6.1.4.1.232.3.2.3.1.1.9 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvPhyDrvIDs + oid: 1.3.6.1.4.1.232.3.2.3.1.1.10 + type: OctetString + help: Drive Array Logical Drive Physical Drive IDs - 1.3.6.1.4.1.232.3.2.3.1.1.10 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvCondition + oid: 1.3.6.1.4.1.232.3.2.3.1.1.11 + type: gauge + help: The Logical Drive condition - 1.3.6.1.4.1.232.3.2.3.1.1.11 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqDaLogDrvPercentRebuild + oid: 1.3.6.1.4.1.232.3.2.3.1.1.12 + type: gauge + help: Logical Drive Percent Rebuild - 1.3.6.1.4.1.232.3.2.3.1.1.12 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvStripeSize + oid: 1.3.6.1.4.1.232.3.2.3.1.1.13 + type: gauge + help: Logical Drive Stripe Size - 1.3.6.1.4.1.232.3.2.3.1.1.13 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvOsName + oid: 1.3.6.1.4.1.232.3.2.3.1.1.14 + type: DisplayString + help: Logical Drive OS Name - 1.3.6.1.4.1.232.3.2.3.1.1.14 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvBlinkTime + oid: 1.3.6.1.4.1.232.3.2.3.1.1.15 + type: counter + help: Logical Drive Physical Drive Blink Time Count - 1.3.6.1.4.1.232.3.2.3.1.1.15 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvSpareReplaceMap + oid: 1.3.6.1.4.1.232.3.2.3.1.1.16 + type: OctetString + help: Logical Drive Spare To Replacement Drive Map - 1.3.6.1.4.1.232.3.2.3.1.1.16 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvRebuildingPhyDrv + oid: 1.3.6.1.4.1.232.3.2.3.1.1.17 + type: gauge + help: Logical Drive Physical Drive Rebuilding Index - 1.3.6.1.4.1.232.3.2.3.1.1.17 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvMultipathAccess + oid: 1.3.6.1.4.1.232.3.2.3.1.1.18 + type: gauge + help: Logical Drive Multi-path Access - 1.3.6.1.4.1.232.3.2.3.1.1.18 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + enum_values: + 1: other + 2: notSupported + 3: notConfigured + 4: pathRedundant + 5: noRedundantPath + - name: cpqDaLogDrvNmbrOfParityGroups + oid: 1.3.6.1.4.1.232.3.2.3.1.1.19 + type: gauge + help: Logical Drive Number Of Parity Groups - 1.3.6.1.4.1.232.3.2.3.1.1.19 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvSplitMirrorBackupLogDrv + oid: 1.3.6.1.4.1.232.3.2.3.1.1.20 + type: gauge + help: Logical Drive Split Mirror Backup Logical Drive - 1.3.6.1.4.1.232.3.2.3.1.1.20 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + enum_values: + 1: other + 2: isNotBackupLogicalDrive + 3: isBackupLogicalDrive + - name: cpqDaLogDrvCacheVolAccelAssocType + oid: 1.3.6.1.4.1.232.3.2.3.1.1.21 + type: gauge + help: Logical Drive Cache Volume Accelerator Association Type - 1.3.6.1.4.1.232.3.2.3.1.1.21 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + enum_values: + 1: other + 2: nonMember + 3: logicalDriveMember + 4: cacheVolumeMember + - name: cpqDaLogDrvCacheVolIndex + oid: 1.3.6.1.4.1.232.3.2.3.1.1.22 + type: gauge + help: Logical Drive Cache Volume Index - 1.3.6.1.4.1.232.3.2.3.1.1.22 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvRPIPercentComplete + oid: 1.3.6.1.4.1.232.3.2.3.1.1.23 + type: gauge + help: Logical Drive Rapid Parity Initialization Percent Complete - 1.3.6.1.4.1.232.3.2.3.1.1.23 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + - name: cpqDaLogDrvSSDSmartPathStatus + oid: 1.3.6.1.4.1.232.3.2.3.1.1.24 + type: gauge + help: Logical Drive SSD Smart Path Status - 1.3.6.1.4.1.232.3.2.3.1.1.24 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + enum_values: + 1: other + 2: updateDriver + 3: ssdSmartPathDisabled + 4: ssdSmartPathEnabled + - name: cpqDaLogDrvEncryptionStatus + oid: 1.3.6.1.4.1.232.3.2.3.1.1.25 + type: gauge + help: Logical Drive Encryption Status - 1.3.6.1.4.1.232.3.2.3.1.1.25 + indexes: + - labelname: cpqDaLogDrvCntlrIndex + type: gauge + - labelname: cpqDaLogDrvIndex + type: gauge + enum_values: + 1: other + 2: encrypted + 3: notEncrypted + - name: cpqDaPhyDrvCntlrIndex + oid: 1.3.6.1.4.1.232.3.2.5.1.1.1 + type: gauge + help: Drive Array Physical Drive Controller Index - 1.3.6.1.4.1.232.3.2.5.1.1.1 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvIndex + oid: 1.3.6.1.4.1.232.3.2.5.1.1.2 + type: gauge + help: Drive Array Physical Drive Index - 1.3.6.1.4.1.232.3.2.5.1.1.2 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvModel + oid: 1.3.6.1.4.1.232.3.2.5.1.1.3 + type: DisplayString + help: Physical Drive Model - 1.3.6.1.4.1.232.3.2.5.1.1.3 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvFWRev + oid: 1.3.6.1.4.1.232.3.2.5.1.1.4 + type: DisplayString + help: Physical Drive Firmware Revision - 1.3.6.1.4.1.232.3.2.5.1.1.4 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvBay + oid: 1.3.6.1.4.1.232.3.2.5.1.1.5 + type: gauge + help: Physical Drive Bay Location - 1.3.6.1.4.1.232.3.2.5.1.1.5 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvStatus + oid: 1.3.6.1.4.1.232.3.2.5.1.1.6 + type: gauge + help: Physical Drive Status - 1.3.6.1.4.1.232.3.2.5.1.1.6 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: failed + 4: predictiveFailure + 5: erasing + 6: eraseDone + 7: eraseQueued + 8: ssdWearOut + 9: notAuthenticated + - name: cpqDaPhyDrvFactReallocs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.7 + type: gauge + help: This shows the number of spare sectors available for remapping at the + time the physical drive was shipped - 1.3.6.1.4.1.232.3.2.5.1.1.7 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvUsedReallocs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.8 + type: counter + help: Physical Drive Used Reallocated Sectors - 1.3.6.1.4.1.232.3.2.5.1.1.8 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvRefHours + oid: 1.3.6.1.4.1.232.3.2.5.1.1.9 + type: counter + help: Reference Time in hours - 1.3.6.1.4.1.232.3.2.5.1.1.9 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvHReads + oid: 1.3.6.1.4.1.232.3.2.5.1.1.10 + type: counter + help: Sectors Read (high) - 1.3.6.1.4.1.232.3.2.5.1.1.10 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvReads + oid: 1.3.6.1.4.1.232.3.2.5.1.1.11 + type: counter + help: Sectors Read (low) - 1.3.6.1.4.1.232.3.2.5.1.1.11 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvHWrites + oid: 1.3.6.1.4.1.232.3.2.5.1.1.12 + type: counter + help: Sectors Written (high) - 1.3.6.1.4.1.232.3.2.5.1.1.12 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvWrites + oid: 1.3.6.1.4.1.232.3.2.5.1.1.13 + type: counter + help: Sectors Written (low) - 1.3.6.1.4.1.232.3.2.5.1.1.13 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvHSeeks + oid: 1.3.6.1.4.1.232.3.2.5.1.1.14 + type: counter + help: Total Seeks (high) - 1.3.6.1.4.1.232.3.2.5.1.1.14 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvSeeks + oid: 1.3.6.1.4.1.232.3.2.5.1.1.15 + type: counter + help: Total Seeks (low) - 1.3.6.1.4.1.232.3.2.5.1.1.15 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvHardReadErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.16 + type: counter + help: Hard Read Errors - 1.3.6.1.4.1.232.3.2.5.1.1.16 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvRecvReadErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.17 + type: counter + help: Recovered Read Errors - 1.3.6.1.4.1.232.3.2.5.1.1.17 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvHardWriteErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.18 + type: counter + help: Hard Write Errors - 1.3.6.1.4.1.232.3.2.5.1.1.18 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvRecvWriteErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.19 + type: counter + help: Recovered Write Errors - 1.3.6.1.4.1.232.3.2.5.1.1.19 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvHSeekErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.20 + type: counter + help: Seek Errors (High) - 1.3.6.1.4.1.232.3.2.5.1.1.20 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvSeekErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.21 + type: counter + help: Seek Errors (low) - 1.3.6.1.4.1.232.3.2.5.1.1.21 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvSpinupTime + oid: 1.3.6.1.4.1.232.3.2.5.1.1.22 + type: gauge + help: Spin up Time in tenths of seconds - 1.3.6.1.4.1.232.3.2.5.1.1.22 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvFunctTest1 + oid: 1.3.6.1.4.1.232.3.2.5.1.1.23 + type: gauge + help: Functional Test 1 - 1.3.6.1.4.1.232.3.2.5.1.1.23 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvFunctTest2 + oid: 1.3.6.1.4.1.232.3.2.5.1.1.24 + type: gauge + help: Functional Test 2 - 1.3.6.1.4.1.232.3.2.5.1.1.24 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvFunctTest3 + oid: 1.3.6.1.4.1.232.3.2.5.1.1.25 + type: gauge + help: Functional Test 3 - 1.3.6.1.4.1.232.3.2.5.1.1.25 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvDrqTimeouts + oid: 1.3.6.1.4.1.232.3.2.5.1.1.26 + type: counter + help: DRQ Timeouts - 1.3.6.1.4.1.232.3.2.5.1.1.26 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvOtherTimeouts + oid: 1.3.6.1.4.1.232.3.2.5.1.1.27 + type: counter + help: Other Timeouts - 1.3.6.1.4.1.232.3.2.5.1.1.27 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvSpinupRetries + oid: 1.3.6.1.4.1.232.3.2.5.1.1.28 + type: counter + help: Spin up Retries - 1.3.6.1.4.1.232.3.2.5.1.1.28 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvBadRecvReads + oid: 1.3.6.1.4.1.232.3.2.5.1.1.29 + type: counter + help: Recovery Failed (Bad) Read Error - 1.3.6.1.4.1.232.3.2.5.1.1.29 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvBadRecvWrites + oid: 1.3.6.1.4.1.232.3.2.5.1.1.30 + type: counter + help: Recovery Failed (Bad) Write Error - 1.3.6.1.4.1.232.3.2.5.1.1.30 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvFormatErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.31 + type: counter + help: Format Error - 1.3.6.1.4.1.232.3.2.5.1.1.31 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvPostErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.32 + type: counter + help: Power On Self Test (Post) Error - 1.3.6.1.4.1.232.3.2.5.1.1.32 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvNotReadyErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.33 + type: counter + help: Drive Not Ready Errors - 1.3.6.1.4.1.232.3.2.5.1.1.33 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvReallocAborts + oid: 1.3.6.1.4.1.232.3.2.5.1.1.34 + type: counter + help: Physical Drive Reallocation Aborts - 1.3.6.1.4.1.232.3.2.5.1.1.34 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvThreshPassed + oid: 1.3.6.1.4.1.232.3.2.5.1.1.35 + type: gauge + help: Physical Drive Factory Threshold Passed (Exceeded) - 1.3.6.1.4.1.232.3.2.5.1.1.35 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: "false" + 2: "true" + - name: cpqDaPhyDrvHasMonInfo + oid: 1.3.6.1.4.1.232.3.2.5.1.1.36 + type: gauge + help: Physical Drive Has Monitor Information - 1.3.6.1.4.1.232.3.2.5.1.1.36 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: "false" + 2: "true" + - name: cpqDaPhyDrvCondition + oid: 1.3.6.1.4.1.232.3.2.5.1.1.37 + type: gauge + help: The condition of the device - 1.3.6.1.4.1.232.3.2.5.1.1.37 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqDaPhyDrvHotPlugs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.38 + type: counter + help: Physical Drive Hot Plug Count - 1.3.6.1.4.1.232.3.2.5.1.1.38 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvMediaErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.39 + type: counter + help: Physical Drive Media Failure Count - 1.3.6.1.4.1.232.3.2.5.1.1.39 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvHardwareErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.40 + type: counter + help: Physical Drive Hardware Error Count - 1.3.6.1.4.1.232.3.2.5.1.1.40 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvAbortedCmds + oid: 1.3.6.1.4.1.232.3.2.5.1.1.41 + type: counter + help: Physical Drive Aborted Command Failures - 1.3.6.1.4.1.232.3.2.5.1.1.41 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvSpinUpErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.42 + type: counter + help: Physical Drive Spin-Up Failure Count - 1.3.6.1.4.1.232.3.2.5.1.1.42 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvBadTargetErrs + oid: 1.3.6.1.4.1.232.3.2.5.1.1.43 + type: counter + help: Physical Drive Bad Target Count - 1.3.6.1.4.1.232.3.2.5.1.1.43 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvLocation + oid: 1.3.6.1.4.1.232.3.2.5.1.1.44 + type: gauge + help: Drive Physical Location - 1.3.6.1.4.1.232.3.2.5.1.1.44 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: internal + 3: external + 4: proLiant + - name: cpqDaPhyDrvSize + oid: 1.3.6.1.4.1.232.3.2.5.1.1.45 + type: gauge + help: Physical Drive Size in MB - 1.3.6.1.4.1.232.3.2.5.1.1.45 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvBusFaults + oid: 1.3.6.1.4.1.232.3.2.5.1.1.46 + type: counter + help: Physical Drive Bus Fault Count - 1.3.6.1.4.1.232.3.2.5.1.1.46 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvIrqDeglitches + oid: 1.3.6.1.4.1.232.3.2.5.1.1.47 + type: counter + help: Physical Drive IRQ Deglitch Count - 1.3.6.1.4.1.232.3.2.5.1.1.47 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvHotPlug + oid: 1.3.6.1.4.1.232.3.2.5.1.1.48 + type: gauge + help: Physical Drive Hot Plug Support Status - 1.3.6.1.4.1.232.3.2.5.1.1.48 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: hotPlug + 3: nonHotPlug + - name: cpqDaPhyDrvPlacement + oid: 1.3.6.1.4.1.232.3.2.5.1.1.49 + type: gauge + help: Physical Drive Placement - 1.3.6.1.4.1.232.3.2.5.1.1.49 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: internal + 3: external + - name: cpqDaPhyDrvBusNumber + oid: 1.3.6.1.4.1.232.3.2.5.1.1.50 + type: gauge + help: Physical Drive SCSI Bus Number - 1.3.6.1.4.1.232.3.2.5.1.1.50 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvSerialNum + oid: 1.3.6.1.4.1.232.3.2.5.1.1.51 + type: DisplayString + help: Physical Drive Serial Number - 1.3.6.1.4.1.232.3.2.5.1.1.51 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvPreFailMonitoring + oid: 1.3.6.1.4.1.232.3.2.5.1.1.52 + type: gauge + help: Drive Array Physical Drive Predictive Failure Monitoring - 1.3.6.1.4.1.232.3.2.5.1.1.52 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: notAvailable + 3: available + - name: cpqDaPhyDrvCurrentWidth + oid: 1.3.6.1.4.1.232.3.2.5.1.1.53 + type: gauge + help: Drive Array Physical Drive Current Width - 1.3.6.1.4.1.232.3.2.5.1.1.53 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: narrow + 3: wide16 + - name: cpqDaPhyDrvCurrentSpeed + oid: 1.3.6.1.4.1.232.3.2.5.1.1.54 + type: gauge + help: Drive Array Physical Drive Current Data Transfer Speed - 1.3.6.1.4.1.232.3.2.5.1.1.54 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: asynchronous + 3: fast + 4: ultra + 5: ultra2 + 6: ultra3 + 7: ultra320 + - name: cpqDaPhyDrvFailureCode + oid: 1.3.6.1.4.1.232.3.2.5.1.1.55 + type: gauge + help: Drive Array Physical Drive Failure Code - 1.3.6.1.4.1.232.3.2.5.1.1.55 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvBlinkTime + oid: 1.3.6.1.4.1.232.3.2.5.1.1.56 + type: counter + help: Physical Drive Blink Time Count - 1.3.6.1.4.1.232.3.2.5.1.1.56 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvSmartStatus + oid: 1.3.6.1.4.1.232.3.2.5.1.1.57 + type: gauge + help: Physical Drive S.M.A.R.T Status - 1.3.6.1.4.1.232.3.2.5.1.1.57 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: replaceDrive + 4: replaceDriveSSDWearOut + - name: cpqDaPhyDrvConfigurationStatus + oid: 1.3.6.1.4.1.232.3.2.5.1.1.58 + type: gauge + help: Physical Drive Configuration Status - 1.3.6.1.4.1.232.3.2.5.1.1.58 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: configured + 3: notConfigured + - name: cpqDaPhyDrvRotationalSpeed + oid: 1.3.6.1.4.1.232.3.2.5.1.1.59 + type: gauge + help: Drive Array Physical Drive Rotational Speed - 1.3.6.1.4.1.232.3.2.5.1.1.59 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: rpm7200 + 3: rpm10K + 4: rpm15K + 5: rpmSsd + - name: cpqDaPhyDrvType + oid: 1.3.6.1.4.1.232.3.2.5.1.1.60 + type: gauge + help: Physical Drive Type - 1.3.6.1.4.1.232.3.2.5.1.1.60 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: parallelScsi + 3: sata + 4: sas + 5: nvme + - name: cpqDaPhyDrvSataVersion + oid: 1.3.6.1.4.1.232.3.2.5.1.1.61 + type: gauge + help: Physical Drive SATA Version - 1.3.6.1.4.1.232.3.2.5.1.1.61 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: sataOne + 3: sataTwo + - name: cpqDaPhyDrvHostConnector + oid: 1.3.6.1.4.1.232.3.2.5.1.1.62 + type: DisplayString + help: Physical Drive Host Connector - 1.3.6.1.4.1.232.3.2.5.1.1.62 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvBoxOnConnector + oid: 1.3.6.1.4.1.232.3.2.5.1.1.63 + type: gauge + help: Physical Drive Box on Connector - 1.3.6.1.4.1.232.3.2.5.1.1.63 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvLocationString + oid: 1.3.6.1.4.1.232.3.2.5.1.1.64 + type: DisplayString + help: Physical Drive Location String - 1.3.6.1.4.1.232.3.2.5.1.1.64 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvNegotiatedLinkRate + oid: 1.3.6.1.4.1.232.3.2.5.1.1.65 + type: gauge + help: Drive Array Physical Drive Negotiated Link Rate - 1.3.6.1.4.1.232.3.2.5.1.1.65 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: rate-1-5 + 3: rate-3-0 + 4: rate-6-0 + 5: rate-12-0 + - name: cpqDaPhyDrvNcqSupport + oid: 1.3.6.1.4.1.232.3.2.5.1.1.66 + type: gauge + help: Drive Array Physical Drive Native Command Queueing - 1.3.6.1.4.1.232.3.2.5.1.1.66 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: noControllerSupport + 3: noDriveSupport + 4: ncqDisabled + 5: ncqEnabled + - name: cpqDaPhyDrvPhyCount + oid: 1.3.6.1.4.1.232.3.2.5.1.1.67 + type: gauge + help: Drive Array Physical Drive PHY Count - 1.3.6.1.4.1.232.3.2.5.1.1.67 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvMultipathAccess + oid: 1.3.6.1.4.1.232.3.2.5.1.1.68 + type: gauge + help: Drive Array Physical Drive Multi-path Access Status - 1.3.6.1.4.1.232.3.2.5.1.1.68 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: notSupported + 3: notConfigured + 4: pathRedundant + 5: noRedundantPath + 6: driveFailed + - name: cpqDaPhyDrvMediaType + oid: 1.3.6.1.4.1.232.3.2.5.1.1.69 + type: gauge + help: Drive Array Physical Drive Media Type - 1.3.6.1.4.1.232.3.2.5.1.1.69 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: rotatingPlatters + 3: solidState + 4: smr + - name: cpqDaPhyDrvCurrentTemperature + oid: 1.3.6.1.4.1.232.3.2.5.1.1.70 + type: gauge + help: Drive Array Physical Drive Current Temperature - 1.3.6.1.4.1.232.3.2.5.1.1.70 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvTemperatureThreshold + oid: 1.3.6.1.4.1.232.3.2.5.1.1.71 + type: gauge + help: Drive Array Physical Drive Temperature Threshold - 1.3.6.1.4.1.232.3.2.5.1.1.71 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvMaximumTemperature + oid: 1.3.6.1.4.1.232.3.2.5.1.1.72 + type: gauge + help: Drive Array Physical Drive Maximum Temperature - 1.3.6.1.4.1.232.3.2.5.1.1.72 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvSSDWearStatus + oid: 1.3.6.1.4.1.232.3.2.5.1.1.73 + type: gauge + help: Drive Array Physical Drive Solid State Disk Wear Status - 1.3.6.1.4.1.232.3.2.5.1.1.73 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: fiftySixDayThreshold + 4: fivePercentThreshold + 5: twoPercentThreshold + 6: ssdWearOut + - name: cpqDaPhyDrvPowerOnHours + oid: 1.3.6.1.4.1.232.3.2.5.1.1.74 + type: counter + help: Drive Array Physical Drive Power On Hours - 1.3.6.1.4.1.232.3.2.5.1.1.74 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvSSDPercntEndrnceUsed + oid: 1.3.6.1.4.1.232.3.2.5.1.1.75 + type: gauge + help: Drive Array Physical Drive Solid State Percent Endurance Used - 1.3.6.1.4.1.232.3.2.5.1.1.75 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvSSDEstTimeRemainingHours + oid: 1.3.6.1.4.1.232.3.2.5.1.1.76 + type: counter + help: Drive Array Physical Drive Solid State Estimated Time Remaining In Hours + - 1.3.6.1.4.1.232.3.2.5.1.1.76 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvAuthenticationStatus + oid: 1.3.6.1.4.1.232.3.2.5.1.1.77 + type: gauge + help: Drive Array Physical Drive Authentication Status - 1.3.6.1.4.1.232.3.2.5.1.1.77 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: notSupported + 3: authenticationFailed + 4: authenticationPassed + - name: cpqDaPhyDrvSmartCarrierAppFWRev + oid: 1.3.6.1.4.1.232.3.2.5.1.1.78 + type: gauge + help: Physical Drive Smart Carrier Application Firmware Revision - 1.3.6.1.4.1.232.3.2.5.1.1.78 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvSmartCarrierBootldrFWRev + oid: 1.3.6.1.4.1.232.3.2.5.1.1.79 + type: gauge + help: Physical Drive Smart Carrier Bootloader Firmware Revision - 1.3.6.1.4.1.232.3.2.5.1.1.79 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + - name: cpqDaPhyDrvEncryptionStatus + oid: 1.3.6.1.4.1.232.3.2.5.1.1.80 + type: gauge + help: Physical Drive Encryption Status - 1.3.6.1.4.1.232.3.2.5.1.1.80 + indexes: + - labelname: cpqDaPhyDrvCntlrIndex + type: gauge + - labelname: cpqDaPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: encrypted + 3: notEncrypted + - name: cpqScsiMibRevMajor + oid: 1.3.6.1.4.1.232.5.1.1 + type: gauge + help: The Major Revision level - 1.3.6.1.4.1.232.5.1.1 + - name: cpqScsiMibRevMinor + oid: 1.3.6.1.4.1.232.5.1.2 + type: gauge + help: The Minor Revision level - 1.3.6.1.4.1.232.5.1.2 + - name: cpqScsiMibCondition + oid: 1.3.6.1.4.1.232.5.1.3 + type: gauge + help: The overall condition - 1.3.6.1.4.1.232.5.1.3 + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqScsiNw3xDriverName + oid: 1.3.6.1.4.1.232.5.2.1.1.1 + type: DisplayString + help: SCSI Drive Device Driver Name - 1.3.6.1.4.1.232.5.2.1.1.1 + - name: cpqScsiNw3xDriverVers + oid: 1.3.6.1.4.1.232.5.2.1.1.2 + type: DisplayString + help: SCSI Drive Device Driver Version - 1.3.6.1.4.1.232.5.2.1.1.2 + - name: cpqScsiNw3xDriverPollType + oid: 1.3.6.1.4.1.232.5.2.1.1.3 + type: gauge + help: SCSI Drive Device Driver Poll Type - 1.3.6.1.4.1.232.5.2.1.1.3 + enum_values: + 1: other + 2: polled + 3: demand + - name: cpqScsiNw3xDriverPollTime + oid: 1.3.6.1.4.1.232.5.2.1.1.4 + type: gauge + help: SCSI Drive Device Driver Poll Time - 1.3.6.1.4.1.232.5.2.1.1.4 + - name: cpqScsiNw3xCntlrIndex + oid: 1.3.6.1.4.1.232.5.2.1.1.5.1.1 + type: gauge + help: SCSI Controller Index - 1.3.6.1.4.1.232.5.2.1.1.5.1.1 + indexes: + - labelname: cpqScsiNw3xCntlrIndex + type: gauge + - labelname: cpqScsiNw3xBusIndex + type: gauge + - name: cpqScsiNw3xBusIndex + oid: 1.3.6.1.4.1.232.5.2.1.1.5.1.2 + type: gauge + help: SCSI Bus Index - 1.3.6.1.4.1.232.5.2.1.1.5.1.2 + indexes: + - labelname: cpqScsiNw3xCntlrIndex + type: gauge + - labelname: cpqScsiNw3xBusIndex + type: gauge + - name: cpqScsiNw3xXptDesc + oid: 1.3.6.1.4.1.232.5.2.1.1.5.1.3 + type: DisplayString + help: SCSI XPT Description - 1.3.6.1.4.1.232.5.2.1.1.5.1.3 + indexes: + - labelname: cpqScsiNw3xCntlrIndex + type: gauge + - labelname: cpqScsiNw3xBusIndex + type: gauge + - name: cpqScsiNw3xXptVers + oid: 1.3.6.1.4.1.232.5.2.1.1.5.1.4 + type: DisplayString + help: SCSI XPT Version - 1.3.6.1.4.1.232.5.2.1.1.5.1.4 + indexes: + - labelname: cpqScsiNw3xCntlrIndex + type: gauge + - labelname: cpqScsiNw3xBusIndex + type: gauge + - name: cpqScsiNw3xSimDesc + oid: 1.3.6.1.4.1.232.5.2.1.1.5.1.5 + type: DisplayString + help: SCSI SIM Description - 1.3.6.1.4.1.232.5.2.1.1.5.1.5 + indexes: + - labelname: cpqScsiNw3xCntlrIndex + type: gauge + - labelname: cpqScsiNw3xBusIndex + type: gauge + - name: cpqScsiNw3xSimVers + oid: 1.3.6.1.4.1.232.5.2.1.1.5.1.6 + type: DisplayString + help: SCSI SIM Version - 1.3.6.1.4.1.232.5.2.1.1.5.1.6 + indexes: + - labelname: cpqScsiNw3xCntlrIndex + type: gauge + - labelname: cpqScsiNw3xBusIndex + type: gauge + - name: cpqScsiNw3xHbaDesc + oid: 1.3.6.1.4.1.232.5.2.1.1.5.1.7 + type: DisplayString + help: SCSI HBA Description - 1.3.6.1.4.1.232.5.2.1.1.5.1.7 + indexes: + - labelname: cpqScsiNw3xCntlrIndex + type: gauge + - labelname: cpqScsiNw3xBusIndex + type: gauge + - name: cpqScsiNw3xStatCntlrIndex + oid: 1.3.6.1.4.1.232.5.2.1.1.6.1.1 + type: gauge + help: SCSI Controller Index - 1.3.6.1.4.1.232.5.2.1.1.6.1.1 + indexes: + - labelname: cpqScsiNw3xStatCntlrIndex + type: gauge + - labelname: cpqScsiNw3xStatBusIndex + type: gauge + - labelname: cpqScsiNw3xStatLogDrvIndex + type: gauge + - name: cpqScsiNw3xStatBusIndex + oid: 1.3.6.1.4.1.232.5.2.1.1.6.1.2 + type: gauge + help: SCSI Bus Index - 1.3.6.1.4.1.232.5.2.1.1.6.1.2 + indexes: + - labelname: cpqScsiNw3xStatCntlrIndex + type: gauge + - labelname: cpqScsiNw3xStatBusIndex + type: gauge + - labelname: cpqScsiNw3xStatLogDrvIndex + type: gauge + - name: cpqScsiNw3xStatLogDrvIndex + oid: 1.3.6.1.4.1.232.5.2.1.1.6.1.3 + type: gauge + help: SCSI Logical Drive Index - 1.3.6.1.4.1.232.5.2.1.1.6.1.3 + indexes: + - labelname: cpqScsiNw3xStatCntlrIndex + type: gauge + - labelname: cpqScsiNw3xStatBusIndex + type: gauge + - labelname: cpqScsiNw3xStatLogDrvIndex + type: gauge + - name: cpqScsiNw3xTotalReads + oid: 1.3.6.1.4.1.232.5.2.1.1.6.1.4 + type: counter + help: SCSI Logical Drive Total Reads - 1.3.6.1.4.1.232.5.2.1.1.6.1.4 + indexes: + - labelname: cpqScsiNw3xStatCntlrIndex + type: gauge + - labelname: cpqScsiNw3xStatBusIndex + type: gauge + - labelname: cpqScsiNw3xStatLogDrvIndex + type: gauge + - name: cpqScsiNw3xTotalWrites + oid: 1.3.6.1.4.1.232.5.2.1.1.6.1.5 + type: counter + help: SCSI Logical Drive Total Writes - 1.3.6.1.4.1.232.5.2.1.1.6.1.5 + indexes: + - labelname: cpqScsiNw3xStatCntlrIndex + type: gauge + - labelname: cpqScsiNw3xStatBusIndex + type: gauge + - labelname: cpqScsiNw3xStatLogDrvIndex + type: gauge + - name: cpqScsiNw3xCorrReads + oid: 1.3.6.1.4.1.232.5.2.1.1.6.1.6 + type: counter + help: SCSI Logical Drive Corrected Reads - 1.3.6.1.4.1.232.5.2.1.1.6.1.6 + indexes: + - labelname: cpqScsiNw3xStatCntlrIndex + type: gauge + - labelname: cpqScsiNw3xStatBusIndex + type: gauge + - labelname: cpqScsiNw3xStatLogDrvIndex + type: gauge + - name: cpqScsiNw3xCorrWrites + oid: 1.3.6.1.4.1.232.5.2.1.1.6.1.7 + type: counter + help: SCSI Logical Drive Corrected Writes - 1.3.6.1.4.1.232.5.2.1.1.6.1.7 + indexes: + - labelname: cpqScsiNw3xStatCntlrIndex + type: gauge + - labelname: cpqScsiNw3xStatBusIndex + type: gauge + - labelname: cpqScsiNw3xStatLogDrvIndex + type: gauge + - name: cpqScsiNw3xFatalReads + oid: 1.3.6.1.4.1.232.5.2.1.1.6.1.8 + type: counter + help: SCSI Logical Drive Fatal Reads - 1.3.6.1.4.1.232.5.2.1.1.6.1.8 + indexes: + - labelname: cpqScsiNw3xStatCntlrIndex + type: gauge + - labelname: cpqScsiNw3xStatBusIndex + type: gauge + - labelname: cpqScsiNw3xStatLogDrvIndex + type: gauge + - name: cpqScsiNw3xFatalWrites + oid: 1.3.6.1.4.1.232.5.2.1.1.6.1.9 + type: counter + help: SCSI Logical Drive Fatal Writes - 1.3.6.1.4.1.232.5.2.1.1.6.1.9 + indexes: + - labelname: cpqScsiNw3xStatCntlrIndex + type: gauge + - labelname: cpqScsiNw3xStatBusIndex + type: gauge + - labelname: cpqScsiNw3xStatLogDrvIndex + type: gauge + - name: cpqScsiNw3xVolCntlrIndex + oid: 1.3.6.1.4.1.232.5.2.1.1.7.1.1 + type: gauge + help: SCSI Cntlr Index - 1.3.6.1.4.1.232.5.2.1.1.7.1.1 + indexes: + - labelname: cpqScsiNw3xVolCntlrIndex + type: gauge + - labelname: cpqScsiNw3xVolBusIndex + type: gauge + - labelname: cpqScsiNw3xVolLogDrvIndex + type: gauge + - name: cpqScsiNw3xVolBusIndex + oid: 1.3.6.1.4.1.232.5.2.1.1.7.1.2 + type: gauge + help: SCSI Bus Index - 1.3.6.1.4.1.232.5.2.1.1.7.1.2 + indexes: + - labelname: cpqScsiNw3xVolCntlrIndex + type: gauge + - labelname: cpqScsiNw3xVolBusIndex + type: gauge + - labelname: cpqScsiNw3xVolLogDrvIndex + type: gauge + - name: cpqScsiNw3xVolLogDrvIndex + oid: 1.3.6.1.4.1.232.5.2.1.1.7.1.3 + type: gauge + help: SCSI Logical Drive Index - 1.3.6.1.4.1.232.5.2.1.1.7.1.3 + indexes: + - labelname: cpqScsiNw3xVolCntlrIndex + type: gauge + - labelname: cpqScsiNw3xVolBusIndex + type: gauge + - labelname: cpqScsiNw3xVolLogDrvIndex + type: gauge + - name: cpqScsiNw3xVolMap + oid: 1.3.6.1.4.1.232.5.2.1.1.7.1.4 + type: OctetString + help: SCSI Drive Volume Map - 1.3.6.1.4.1.232.5.2.1.1.7.1.4 + indexes: + - labelname: cpqScsiNw3xVolCntlrIndex + type: gauge + - labelname: cpqScsiNw3xVolBusIndex + type: gauge + - labelname: cpqScsiNw3xVolLogDrvIndex + type: gauge + - name: cpqScsiOsCommonPollFreq + oid: 1.3.6.1.4.1.232.5.2.1.4.1 + type: gauge + help: The agent`s polling frequency - 1.3.6.1.4.1.232.5.2.1.4.1 + - name: cpqScsiOsCommonModuleIndex + oid: 1.3.6.1.4.1.232.5.2.1.4.2.1.1 + type: gauge + help: A unique index for this module description. - 1.3.6.1.4.1.232.5.2.1.4.2.1.1 + indexes: + - labelname: cpqScsiOsCommonModuleIndex + type: gauge + - name: cpqScsiOsCommonModuleName + oid: 1.3.6.1.4.1.232.5.2.1.4.2.1.2 + type: DisplayString + help: The module name. - 1.3.6.1.4.1.232.5.2.1.4.2.1.2 + indexes: + - labelname: cpqScsiOsCommonModuleIndex + type: gauge + - name: cpqScsiOsCommonModuleVersion + oid: 1.3.6.1.4.1.232.5.2.1.4.2.1.3 + type: DisplayString + help: The module version in XX.YY format - 1.3.6.1.4.1.232.5.2.1.4.2.1.3 + indexes: + - labelname: cpqScsiOsCommonModuleIndex + type: gauge + - name: cpqScsiOsCommonModuleDate + oid: 1.3.6.1.4.1.232.5.2.1.4.2.1.4 + type: OctetString + help: The module date - 1.3.6.1.4.1.232.5.2.1.4.2.1.4 + indexes: + - labelname: cpqScsiOsCommonModuleIndex + type: gauge + - name: cpqScsiOsCommonModulePurpose + oid: 1.3.6.1.4.1.232.5.2.1.4.2.1.5 + type: DisplayString + help: The purpose of the module described in this entry. - 1.3.6.1.4.1.232.5.2.1.4.2.1.5 + indexes: + - labelname: cpqScsiOsCommonModuleIndex + type: gauge + - name: cpqScsiCntlrIndex + oid: 1.3.6.1.4.1.232.5.2.2.1.1.1 + type: gauge + help: SCSI Controller Index - 1.3.6.1.4.1.232.5.2.2.1.1.1 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrBusIndex + oid: 1.3.6.1.4.1.232.5.2.2.1.1.2 + type: gauge + help: SCSI Bus Index - 1.3.6.1.4.1.232.5.2.2.1.1.2 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrModel + oid: 1.3.6.1.4.1.232.5.2.2.1.1.3 + type: gauge + help: SCSI Controller Model - 1.3.6.1.4.1.232.5.2.2.1.1.3 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + enum_values: + 1: other + 2: cpqs710 + 3: cpqs94 + 4: cpqs810p + 5: cpqs825e + 6: cpqs825p + 7: cpqs974p + 8: cpqs875p + 9: extended + 10: cpqs895p + 11: cpqs896p + 12: cpqa789x + 13: cpqs876t + 14: hpu320 + 15: hpu320r + 16: generic + 17: hp1u320g2 + 18: hp1u320g1 + 19: hpSc11Xe + - name: cpqScsiCntlrFWVers + oid: 1.3.6.1.4.1.232.5.2.2.1.1.4 + type: DisplayString + help: SCSI Controller Firmware Version - 1.3.6.1.4.1.232.5.2.2.1.1.4 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrSWVers + oid: 1.3.6.1.4.1.232.5.2.2.1.1.5 + type: DisplayString + help: SCSI Controller Software Version - 1.3.6.1.4.1.232.5.2.2.1.1.5 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrSlot + oid: 1.3.6.1.4.1.232.5.2.2.1.1.6 + type: gauge + help: SCSI Controller Slot - 1.3.6.1.4.1.232.5.2.2.1.1.6 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrStatus + oid: 1.3.6.1.4.1.232.5.2.2.1.1.7 + type: gauge + help: SCSI Controller Status - 1.3.6.1.4.1.232.5.2.2.1.1.7 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: failed + - name: cpqScsiCntlrHardResets + oid: 1.3.6.1.4.1.232.5.2.2.1.1.8 + type: counter + help: SCSI Controller Hard Resets - 1.3.6.1.4.1.232.5.2.2.1.1.8 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrSoftResets + oid: 1.3.6.1.4.1.232.5.2.2.1.1.9 + type: counter + help: SCSI Controller Soft Resets - 1.3.6.1.4.1.232.5.2.2.1.1.9 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrTimeouts + oid: 1.3.6.1.4.1.232.5.2.2.1.1.10 + type: counter + help: SCSI Controller Time-outs - 1.3.6.1.4.1.232.5.2.2.1.1.10 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrBaseIOAddr + oid: 1.3.6.1.4.1.232.5.2.2.1.1.11 + type: gauge + help: SCSI Controller Base I/O Address - 1.3.6.1.4.1.232.5.2.2.1.1.11 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrCondition + oid: 1.3.6.1.4.1.232.5.2.2.1.1.12 + type: gauge + help: SCSI Controller Condition - 1.3.6.1.4.1.232.5.2.2.1.1.12 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqScsiCntlrSerialNum + oid: 1.3.6.1.4.1.232.5.2.2.1.1.13 + type: DisplayString + help: SCSI Controller Serial Number - 1.3.6.1.4.1.232.5.2.2.1.1.13 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrBusWidth + oid: 1.3.6.1.4.1.232.5.2.2.1.1.14 + type: gauge + help: SCSI Controller Data Bus Width - 1.3.6.1.4.1.232.5.2.2.1.1.14 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + enum_values: + 1: other + 2: narrow + 3: wide16 + - name: cpqScsiCntlrModelExtended + oid: 1.3.6.1.4.1.232.5.2.2.1.1.15 + type: DisplayString + help: SCSI Controller Model Name - 1.3.6.1.4.1.232.5.2.2.1.1.15 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrHwLocation + oid: 1.3.6.1.4.1.232.5.2.2.1.1.16 + type: DisplayString + help: A text description of the hardware location, on complex multi SBB hardware + only, for the SCSI controller - 1.3.6.1.4.1.232.5.2.2.1.1.16 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiCntlrPciLocation + oid: 1.3.6.1.4.1.232.5.2.2.1.1.17 + type: DisplayString + help: A string designating the PCI device location for the controller, following + the format DDDD:BB:DD.F, where DDDD is the PCI domain number, BB is the PCI + bus number, DD is the PCI device number, and F is the PCI function number + - 1.3.6.1.4.1.232.5.2.2.1.1.17 + indexes: + - labelname: cpqScsiCntlrIndex + type: gauge + - labelname: cpqScsiCntlrBusIndex + type: gauge + - name: cpqScsiLogDrvCntlrIndex + oid: 1.3.6.1.4.1.232.5.2.3.1.1.1 + type: gauge + help: SCSI Logical Drive Controller Index - 1.3.6.1.4.1.232.5.2.3.1.1.1 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + - name: cpqScsiLogDrvBusIndex + oid: 1.3.6.1.4.1.232.5.2.3.1.1.2 + type: gauge + help: SCSI Logical Drive Bus Index - 1.3.6.1.4.1.232.5.2.3.1.1.2 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + - name: cpqScsiLogDrvIndex + oid: 1.3.6.1.4.1.232.5.2.3.1.1.3 + type: gauge + help: SCSI Logical Drive Index - 1.3.6.1.4.1.232.5.2.3.1.1.3 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + - name: cpqScsiLogDrvFaultTol + oid: 1.3.6.1.4.1.232.5.2.3.1.1.4 + type: gauge + help: SCSI Logical Drive Fault Tolerance - 1.3.6.1.4.1.232.5.2.3.1.1.4 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + enum_values: + 1: other + 2: none + 3: mirroring + 4: dataGuard + 5: distribDataGuard + 6: enhancedMirroring + - name: cpqScsiLogDrvStatus + oid: 1.3.6.1.4.1.232.5.2.3.1.1.5 + type: gauge + help: SCSI Logical Drive Status - 1.3.6.1.4.1.232.5.2.3.1.1.5 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: failed + 4: unconfigured + 5: recovering + 6: readyForRebuild + 7: rebuilding + 8: wrongDrive + 9: badConnect + 10: degraded + 11: disabled + - name: cpqScsiLogDrvSize + oid: 1.3.6.1.4.1.232.5.2.3.1.1.6 + type: gauge + help: SCSI Logical Drive Size - 1.3.6.1.4.1.232.5.2.3.1.1.6 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + - name: cpqScsiLogDrvPhyDrvIDs + oid: 1.3.6.1.4.1.232.5.2.3.1.1.7 + type: OctetString + help: SCSI Logical Drive Physical Drive IDs - 1.3.6.1.4.1.232.5.2.3.1.1.7 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + - name: cpqScsiLogDrvCondition + oid: 1.3.6.1.4.1.232.5.2.3.1.1.8 + type: gauge + help: SCSI Logical Drive Condition - 1.3.6.1.4.1.232.5.2.3.1.1.8 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqScsiLogDrvStripeSize + oid: 1.3.6.1.4.1.232.5.2.3.1.1.9 + type: gauge + help: Logical Drive Stripe Size - 1.3.6.1.4.1.232.5.2.3.1.1.9 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + - name: cpqScsiLogDrvAvailSpares + oid: 1.3.6.1.4.1.232.5.2.3.1.1.10 + type: OctetString + help: SCSI Logical Drive Available Spares - 1.3.6.1.4.1.232.5.2.3.1.1.10 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + - name: cpqScsiLogDrvPercentRebuild + oid: 1.3.6.1.4.1.232.5.2.3.1.1.11 + type: gauge + help: Logical Drive Percent Rebuild - 1.3.6.1.4.1.232.5.2.3.1.1.11 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + - name: cpqScsiLogDrvOsName + oid: 1.3.6.1.4.1.232.5.2.3.1.1.12 + type: DisplayString + help: Logical Drive OS Name - 1.3.6.1.4.1.232.5.2.3.1.1.12 + indexes: + - labelname: cpqScsiLogDrvCntlrIndex + type: gauge + - labelname: cpqScsiLogDrvBusIndex + type: gauge + - labelname: cpqScsiLogDrvIndex + type: gauge + - name: cpqScsiPhyDrvCntlrIndex + oid: 1.3.6.1.4.1.232.5.2.4.1.1.1 + type: gauge + help: SCSI Physical Drive Controller Index - 1.3.6.1.4.1.232.5.2.4.1.1.1 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvBusIndex + oid: 1.3.6.1.4.1.232.5.2.4.1.1.2 + type: gauge + help: SCSI Physical Drive Bus Index - 1.3.6.1.4.1.232.5.2.4.1.1.2 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvIndex + oid: 1.3.6.1.4.1.232.5.2.4.1.1.3 + type: gauge + help: SCSI Physical Drive Index - 1.3.6.1.4.1.232.5.2.4.1.1.3 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvModel + oid: 1.3.6.1.4.1.232.5.2.4.1.1.4 + type: DisplayString + help: SCSI Physical Drive Model - 1.3.6.1.4.1.232.5.2.4.1.1.4 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvFWRev + oid: 1.3.6.1.4.1.232.5.2.4.1.1.5 + type: DisplayString + help: SCSI Physical Drive Firmware Revision - 1.3.6.1.4.1.232.5.2.4.1.1.5 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvVendor + oid: 1.3.6.1.4.1.232.5.2.4.1.1.6 + type: DisplayString + help: SCSI Physical Drive Vendor - 1.3.6.1.4.1.232.5.2.4.1.1.6 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvSize + oid: 1.3.6.1.4.1.232.5.2.4.1.1.7 + type: gauge + help: SCSI Physical Drive Size in MB - 1.3.6.1.4.1.232.5.2.4.1.1.7 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvScsiID + oid: 1.3.6.1.4.1.232.5.2.4.1.1.8 + type: gauge + help: SCSI Physical Drive SCSI ID - 1.3.6.1.4.1.232.5.2.4.1.1.8 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvStatus + oid: 1.3.6.1.4.1.232.5.2.4.1.1.9 + type: gauge + help: SCSI Physical Drive Status - 1.3.6.1.4.1.232.5.2.4.1.1.9 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: failed + 4: notConfigured + 5: badCable + 6: missingWasOk + 7: missingWasFailed + 8: predictiveFailure + 9: missingWasPredictiveFailure + 10: offline + 11: missingWasOffline + 12: hardError + - name: cpqScsiPhyDrvServiceHours + oid: 1.3.6.1.4.1.232.5.2.4.1.1.10 + type: counter + help: SCSI Physical Drive Service Time in hours - 1.3.6.1.4.1.232.5.2.4.1.1.10 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvHighReadSectors + oid: 1.3.6.1.4.1.232.5.2.4.1.1.11 + type: counter + help: SCSI Physical Drive Sectors Read (high) - 1.3.6.1.4.1.232.5.2.4.1.1.11 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvLowReadSectors + oid: 1.3.6.1.4.1.232.5.2.4.1.1.12 + type: counter + help: SCSI Physical Drive Sectors Read (low) - 1.3.6.1.4.1.232.5.2.4.1.1.12 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvHighWriteSectors + oid: 1.3.6.1.4.1.232.5.2.4.1.1.13 + type: counter + help: SCSI Physical Drive Sectors Written (high) - 1.3.6.1.4.1.232.5.2.4.1.1.13 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvLowWriteSectors + oid: 1.3.6.1.4.1.232.5.2.4.1.1.14 + type: counter + help: SCSI Physical Drive Sectors Written (low) - 1.3.6.1.4.1.232.5.2.4.1.1.14 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvHardReadErrs + oid: 1.3.6.1.4.1.232.5.2.4.1.1.15 + type: counter + help: SCSI Physical Drive Hard Read Errors - 1.3.6.1.4.1.232.5.2.4.1.1.15 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvHardWriteErrs + oid: 1.3.6.1.4.1.232.5.2.4.1.1.16 + type: counter + help: SCSI Physical Drive Hard Write Errors - 1.3.6.1.4.1.232.5.2.4.1.1.16 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvEccCorrReads + oid: 1.3.6.1.4.1.232.5.2.4.1.1.17 + type: counter + help: SCSI Physical Drive ECC Corrected Read Errors (high) - 1.3.6.1.4.1.232.5.2.4.1.1.17 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvRecvReadErrs + oid: 1.3.6.1.4.1.232.5.2.4.1.1.18 + type: counter + help: SCSI Physical Drive Recovered Read Errors - 1.3.6.1.4.1.232.5.2.4.1.1.18 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvRecvWriteErrs + oid: 1.3.6.1.4.1.232.5.2.4.1.1.19 + type: counter + help: SCSI Physical Drive Recovered Write Errors - 1.3.6.1.4.1.232.5.2.4.1.1.19 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvSeekErrs + oid: 1.3.6.1.4.1.232.5.2.4.1.1.20 + type: counter + help: SCSI Physical Drive Seek Errors - 1.3.6.1.4.1.232.5.2.4.1.1.20 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvSpinupTime + oid: 1.3.6.1.4.1.232.5.2.4.1.1.21 + type: gauge + help: SCSI Physical Drive Spin up Time (tenths of seconds) - 1.3.6.1.4.1.232.5.2.4.1.1.21 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvUsedReallocs + oid: 1.3.6.1.4.1.232.5.2.4.1.1.22 + type: counter + help: SCSI Physical Drive Used Reallocation Sectors - 1.3.6.1.4.1.232.5.2.4.1.1.22 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvTimeouts + oid: 1.3.6.1.4.1.232.5.2.4.1.1.23 + type: counter + help: SCSI Physical Drive Time-out Errors - 1.3.6.1.4.1.232.5.2.4.1.1.23 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvPostErrs + oid: 1.3.6.1.4.1.232.5.2.4.1.1.24 + type: counter + help: SCSI Physical Drive Power On Self Test (POST) Errors - 1.3.6.1.4.1.232.5.2.4.1.1.24 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvPostErrCode + oid: 1.3.6.1.4.1.232.5.2.4.1.1.25 + type: gauge + help: SCSI Physical Drive Last POST Error Code - 1.3.6.1.4.1.232.5.2.4.1.1.25 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvCondition + oid: 1.3.6.1.4.1.232.5.2.4.1.1.26 + type: gauge + help: SCSI Physical Drive Condition - 1.3.6.1.4.1.232.5.2.4.1.1.26 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqScsiPhyDrvFuncTest1 + oid: 1.3.6.1.4.1.232.5.2.4.1.1.27 + type: gauge + help: SCSI Physical Drive Functional Test 1 - 1.3.6.1.4.1.232.5.2.4.1.1.27 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvFuncTest2 + oid: 1.3.6.1.4.1.232.5.2.4.1.1.28 + type: gauge + help: SCSI Physical Drive Functional Test 2 - 1.3.6.1.4.1.232.5.2.4.1.1.28 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvStatsPreserved + oid: 1.3.6.1.4.1.232.5.2.4.1.1.29 + type: gauge + help: SCSI Physical Drive Statistics Preservation Method - 1.3.6.1.4.1.232.5.2.4.1.1.29 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: inNVRAM + 3: onDisk + 4: noCPUSupport + 5: noFreeNVRAM + 6: noDrvSupport + 7: noSoftwareSupport + 8: statsNotSupported + - name: cpqScsiPhyDrvSerialNum + oid: 1.3.6.1.4.1.232.5.2.4.1.1.30 + type: DisplayString + help: SCSI Physical Drive Serial Number - 1.3.6.1.4.1.232.5.2.4.1.1.30 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvLocation + oid: 1.3.6.1.4.1.232.5.2.4.1.1.31 + type: gauge + help: SCSI Physical Drive Location - 1.3.6.1.4.1.232.5.2.4.1.1.31 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: proliant + - name: cpqScsiPhyDrvParent + oid: 1.3.6.1.4.1.232.5.2.4.1.1.32 + type: gauge + help: SCSI Physical Drive Parent - 1.3.6.1.4.1.232.5.2.4.1.1.32 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvSectorSize + oid: 1.3.6.1.4.1.232.5.2.4.1.1.33 + type: gauge + help: SCSI Physical Drive Sector Size in Bytes - 1.3.6.1.4.1.232.5.2.4.1.1.33 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvHotPlug + oid: 1.3.6.1.4.1.232.5.2.4.1.1.34 + type: gauge + help: SCSI Physical Drive Hot Plug Support Status - 1.3.6.1.4.1.232.5.2.4.1.1.34 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: hotPlug + 3: nonHotPlug + - name: cpqScsiPhyDrvPlacement + oid: 1.3.6.1.4.1.232.5.2.4.1.1.35 + type: gauge + help: SCSI Physical Drive Placement - 1.3.6.1.4.1.232.5.2.4.1.1.35 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: internal + 3: external + - name: cpqScsiPhyDrvPreFailMonitoring + oid: 1.3.6.1.4.1.232.5.2.4.1.1.36 + type: gauge + help: SCSI Physical Drive Predictive Failure Monitoring - 1.3.6.1.4.1.232.5.2.4.1.1.36 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: notAvailable + 3: available + - name: cpqScsiPhyDrvOsName + oid: 1.3.6.1.4.1.232.5.2.4.1.1.37 + type: DisplayString + help: Physical Drive OS Name - 1.3.6.1.4.1.232.5.2.4.1.1.37 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + - name: cpqScsiPhyDrvRotationalSpeed + oid: 1.3.6.1.4.1.232.5.2.4.1.1.38 + type: gauge + help: SCSI Physical Drive Rotational Speed - 1.3.6.1.4.1.232.5.2.4.1.1.38 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: rpm7200 + 3: rpm10K + 4: rpm15K + - name: cpqScsiPhyDrvMemberLogDrv + oid: 1.3.6.1.4.1.232.5.2.4.1.1.39 + type: gauge + help: The Physical Drive is a Member of a Logical Drive - 1.3.6.1.4.1.232.5.2.4.1.1.39 + indexes: + - labelname: cpqScsiPhyDrvCntlrIndex + type: gauge + - labelname: cpqScsiPhyDrvBusIndex + type: gauge + - labelname: cpqScsiPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: member + 3: spare + 4: nonMember + - name: cpqScsiTargetCntlrIndex + oid: 1.3.6.1.4.1.232.5.2.5.1.1.1 + type: gauge + help: SCSI Target Controller Index - 1.3.6.1.4.1.232.5.2.5.1.1.1 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetBusIndex + oid: 1.3.6.1.4.1.232.5.2.5.1.1.2 + type: gauge + help: SCSI Target Bus Index - 1.3.6.1.4.1.232.5.2.5.1.1.2 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetScsiIdIndex + oid: 1.3.6.1.4.1.232.5.2.5.1.1.3 + type: gauge + help: SCSI Target Device Index - 1.3.6.1.4.1.232.5.2.5.1.1.3 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetType + oid: 1.3.6.1.4.1.232.5.2.5.1.1.4 + type: gauge + help: SCSI Device Type - 1.3.6.1.4.1.232.5.2.5.1.1.4 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + enum_values: + 1: other + 2: disk + 3: tape + 4: printer + 5: processor + 6: wormDrive + 7: cd-rom + 8: scanner + 9: optical + 10: jukeBox + 11: commDev + - name: cpqScsiTargetModel + oid: 1.3.6.1.4.1.232.5.2.5.1.1.5 + type: DisplayString + help: SCSI Device Model - 1.3.6.1.4.1.232.5.2.5.1.1.5 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetFWRev + oid: 1.3.6.1.4.1.232.5.2.5.1.1.6 + type: DisplayString + help: SCSI Device Firmware Revision - 1.3.6.1.4.1.232.5.2.5.1.1.6 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetVendor + oid: 1.3.6.1.4.1.232.5.2.5.1.1.7 + type: DisplayString + help: SCSI Device Vendor - 1.3.6.1.4.1.232.5.2.5.1.1.7 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetParityErrs + oid: 1.3.6.1.4.1.232.5.2.5.1.1.8 + type: counter + help: SCSI Device Bus Parity Errors - 1.3.6.1.4.1.232.5.2.5.1.1.8 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetPhaseErrs + oid: 1.3.6.1.4.1.232.5.2.5.1.1.9 + type: counter + help: SCSI Device Bus Phase Errors - 1.3.6.1.4.1.232.5.2.5.1.1.9 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetSelectTimeouts + oid: 1.3.6.1.4.1.232.5.2.5.1.1.10 + type: counter + help: SCSI Device Bus Select Time-outs - 1.3.6.1.4.1.232.5.2.5.1.1.10 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetMsgRejects + oid: 1.3.6.1.4.1.232.5.2.5.1.1.11 + type: counter + help: SCSI Device Bus Message Rejects - 1.3.6.1.4.1.232.5.2.5.1.1.11 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetNegPeriod + oid: 1.3.6.1.4.1.232.5.2.5.1.1.12 + type: gauge + help: SCSI Device Negotiated Period - 1.3.6.1.4.1.232.5.2.5.1.1.12 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetLocation + oid: 1.3.6.1.4.1.232.5.2.5.1.1.13 + type: gauge + help: SCSI Device Location - 1.3.6.1.4.1.232.5.2.5.1.1.13 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + enum_values: + 1: other + 2: proliant + - name: cpqScsiTargetNegSpeed + oid: 1.3.6.1.4.1.232.5.2.5.1.1.14 + type: gauge + help: SCSI Device Negotiated Speed - 1.3.6.1.4.1.232.5.2.5.1.1.14 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetPhysWidth + oid: 1.3.6.1.4.1.232.5.2.5.1.1.15 + type: gauge + help: SCSI Device Data Bus Physical Width - 1.3.6.1.4.1.232.5.2.5.1.1.15 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + enum_values: + 1: other + 2: narrow + 3: wide16 + - name: cpqScsiTargetNegWidth + oid: 1.3.6.1.4.1.232.5.2.5.1.1.16 + type: gauge + help: SCSI Device Data Bus Negotiated Width - 1.3.6.1.4.1.232.5.2.5.1.1.16 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + - name: cpqScsiTargetTypeExtended + oid: 1.3.6.1.4.1.232.5.2.5.1.1.17 + type: gauge + help: SCSI Extended Device Type - 1.3.6.1.4.1.232.5.2.5.1.1.17 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + enum_values: + 1: other + 2: pdcd + 3: removableDisk + 4: dltAutoloader + 5: cdJukebox + 6: cr3500 + 7: autoloader + - name: cpqScsiTargetCurrentSpeed + oid: 1.3.6.1.4.1.232.5.2.5.1.1.18 + type: gauge + help: SCSI Device Current Data Transfer Speed - 1.3.6.1.4.1.232.5.2.5.1.1.18 + indexes: + - labelname: cpqScsiTargetCntlrIndex + type: gauge + - labelname: cpqScsiTargetBusIndex + type: gauge + - labelname: cpqScsiTargetScsiIdIndex + type: gauge + enum_values: + 1: other + 2: asynchronous + 3: fast + 4: ultra + 5: ultra2 + 6: ultra3 + 7: scsi1 + 8: ultra4 + - name: cpqScsiCdDrvCntlrIndex + oid: 1.3.6.1.4.1.232.5.2.6.1.1.1 + type: gauge + help: SCSI CD-ROM Drive Controller Index - 1.3.6.1.4.1.232.5.2.6.1.1.1 + indexes: + - labelname: cpqScsiCdDrvCntlrIndex + type: gauge + - labelname: cpqScsiCdDrvBusIndex + type: gauge + - labelname: cpqScsiCdDrvScsiIdIndex + type: gauge + - labelname: cpqScsiCdDrvLunIndex + type: gauge + - name: cpqScsiCdDrvBusIndex + oid: 1.3.6.1.4.1.232.5.2.6.1.1.2 + type: gauge + help: SCSI CD-ROM Drive Bus Index - 1.3.6.1.4.1.232.5.2.6.1.1.2 + indexes: + - labelname: cpqScsiCdDrvCntlrIndex + type: gauge + - labelname: cpqScsiCdDrvBusIndex + type: gauge + - labelname: cpqScsiCdDrvScsiIdIndex + type: gauge + - labelname: cpqScsiCdDrvLunIndex + type: gauge + - name: cpqScsiCdDrvScsiIdIndex + oid: 1.3.6.1.4.1.232.5.2.6.1.1.3 + type: gauge + help: SCSI CD-ROM Drive Index - 1.3.6.1.4.1.232.5.2.6.1.1.3 + indexes: + - labelname: cpqScsiCdDrvCntlrIndex + type: gauge + - labelname: cpqScsiCdDrvBusIndex + type: gauge + - labelname: cpqScsiCdDrvScsiIdIndex + type: gauge + - labelname: cpqScsiCdDrvLunIndex + type: gauge + - name: cpqScsiCdDrvLunIndex + oid: 1.3.6.1.4.1.232.5.2.6.1.1.4 + type: gauge + help: SCSI CD-ROM Drive Logical Unit Index - 1.3.6.1.4.1.232.5.2.6.1.1.4 + indexes: + - labelname: cpqScsiCdDrvCntlrIndex + type: gauge + - labelname: cpqScsiCdDrvBusIndex + type: gauge + - labelname: cpqScsiCdDrvScsiIdIndex + type: gauge + - labelname: cpqScsiCdDrvLunIndex + type: gauge + - name: cpqScsiCdDrvModel + oid: 1.3.6.1.4.1.232.5.2.6.1.1.5 + type: DisplayString + help: SCSI CD Device Model - 1.3.6.1.4.1.232.5.2.6.1.1.5 + indexes: + - labelname: cpqScsiCdDrvCntlrIndex + type: gauge + - labelname: cpqScsiCdDrvBusIndex + type: gauge + - labelname: cpqScsiCdDrvScsiIdIndex + type: gauge + - labelname: cpqScsiCdDrvLunIndex + type: gauge + - name: cpqScsiCdDrvVendor + oid: 1.3.6.1.4.1.232.5.2.6.1.1.6 + type: DisplayString + help: SCSI CD Drive Vendor - 1.3.6.1.4.1.232.5.2.6.1.1.6 + indexes: + - labelname: cpqScsiCdDrvCntlrIndex + type: gauge + - labelname: cpqScsiCdDrvBusIndex + type: gauge + - labelname: cpqScsiCdDrvScsiIdIndex + type: gauge + - labelname: cpqScsiCdDrvLunIndex + type: gauge + - name: cpqScsiCdDrvFwRev + oid: 1.3.6.1.4.1.232.5.2.6.1.1.7 + type: DisplayString + help: SCSI CD-ROM Firmware Revision - 1.3.6.1.4.1.232.5.2.6.1.1.7 + indexes: + - labelname: cpqScsiCdDrvCntlrIndex + type: gauge + - labelname: cpqScsiCdDrvBusIndex + type: gauge + - labelname: cpqScsiCdDrvScsiIdIndex + type: gauge + - labelname: cpqScsiCdDrvLunIndex + type: gauge + - name: cpqCdLibraryCntlrIndex + oid: 1.3.6.1.4.1.232.5.2.6.2.1.1 + type: gauge + help: SCSI CD Library Controller Index - 1.3.6.1.4.1.232.5.2.6.2.1.1 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + - name: cpqCdLibraryBusIndex + oid: 1.3.6.1.4.1.232.5.2.6.2.1.2 + type: gauge + help: SCSI CD Library Bus Index - 1.3.6.1.4.1.232.5.2.6.2.1.2 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + - name: cpqCdLibraryScsiIdIndex + oid: 1.3.6.1.4.1.232.5.2.6.2.1.3 + type: gauge + help: SCSI CD Library Device Index - 1.3.6.1.4.1.232.5.2.6.2.1.3 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + - name: cpqCdLibraryLunIndex + oid: 1.3.6.1.4.1.232.5.2.6.2.1.4 + type: gauge + help: SCSI CD Library Logical Unit Index - 1.3.6.1.4.1.232.5.2.6.2.1.4 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + - name: cpqCdLibraryCondition + oid: 1.3.6.1.4.1.232.5.2.6.2.1.5 + type: gauge + help: CD Library Condition - 1.3.6.1.4.1.232.5.2.6.2.1.5 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqCdLibraryStatus + oid: 1.3.6.1.4.1.232.5.2.6.2.1.6 + type: gauge + help: CD Library Status - 1.3.6.1.4.1.232.5.2.6.2.1.6 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: failed + 4: offline + - name: cpqCdLibraryModel + oid: 1.3.6.1.4.1.232.5.2.6.2.1.7 + type: DisplayString + help: SCSI CD Library Device Model - 1.3.6.1.4.1.232.5.2.6.2.1.7 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + - name: cpqCdLibraryVendor + oid: 1.3.6.1.4.1.232.5.2.6.2.1.8 + type: DisplayString + help: SCSI CD Library Vendor - 1.3.6.1.4.1.232.5.2.6.2.1.8 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + - name: cpqCdLibrarySerialNumber + oid: 1.3.6.1.4.1.232.5.2.6.2.1.9 + type: DisplayString + help: CD Library Serial Number - 1.3.6.1.4.1.232.5.2.6.2.1.9 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + - name: cpqCdLibraryDriveList + oid: 1.3.6.1.4.1.232.5.2.6.2.1.10 + type: OctetString + help: CD Library Drive List This is a data structure containing the list of + CD drive ids that are present in this library - 1.3.6.1.4.1.232.5.2.6.2.1.10 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + - name: cpqCdLibraryFwRev + oid: 1.3.6.1.4.1.232.5.2.6.2.1.11 + type: DisplayString + help: SCSI CD Library Firmware Revision - 1.3.6.1.4.1.232.5.2.6.2.1.11 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + - name: cpqCdLibraryFwSubtype + oid: 1.3.6.1.4.1.232.5.2.6.2.1.12 + type: gauge + help: SCSI CD library Firmware Subtype - 1.3.6.1.4.1.232.5.2.6.2.1.12 + indexes: + - labelname: cpqCdLibraryCntlrIndex + type: gauge + - labelname: cpqCdLibraryBusIndex + type: gauge + - labelname: cpqCdLibraryScsiIdIndex + type: gauge + - labelname: cpqCdLibraryLunIndex + type: gauge + - name: cpqScsiTrapPkts + oid: 1.3.6.1.4.1.232.5.3.1 + type: counter + help: The total number of trap packets issued by the SCSI enterprise since the + instrument agent was loaded. - 1.3.6.1.4.1.232.5.3.1 + - name: cpqScsiTrapLogMaxSize + oid: 1.3.6.1.4.1.232.5.3.2 + type: gauge + help: The maximum number of entries that will currently be kept in the trap + log - 1.3.6.1.4.1.232.5.3.2 + - name: cpqScsiTrapLogIndex + oid: 1.3.6.1.4.1.232.5.3.3.1.1 + type: gauge + help: The value of this object uniquely identifies this trapLogEntry at this + time - 1.3.6.1.4.1.232.5.3.3.1.1 + indexes: + - labelname: cpqScsiTrapLogIndex + type: gauge + - name: cpqScsiTrapType + oid: 1.3.6.1.4.1.232.5.3.3.1.2 + type: gauge + help: The type of the trap event that this entry describes - 1.3.6.1.4.1.232.5.3.3.1.2 + indexes: + - labelname: cpqScsiTrapLogIndex + type: gauge + enum_values: + 1: cpqScsiCntlrStatusChange + 2: cpqScsiLogDrvStatusChange + 3: cpqScsiPhyDrvStatusChange + 5001: cpqScsi2CntlrStatusChange + 5002: cpqScsi2LogDrvStatusChange + 5003: cpqScsi2PhyDrvStatusChange + - name: cpqScsiTrapTime + oid: 1.3.6.1.4.1.232.5.3.3.1.3 + type: OctetString + help: The time of the trap event that this entry describes - 1.3.6.1.4.1.232.5.3.3.1.3 + indexes: + - labelname: cpqScsiTrapLogIndex + type: gauge + - name: cpqTapePhyDrvCntlrIndex + oid: 1.3.6.1.4.1.232.5.4.1.1.1.1 + type: gauge + help: Tape Physical Drive Controller Index - 1.3.6.1.4.1.232.5.4.1.1.1.1 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvBusIndex + oid: 1.3.6.1.4.1.232.5.4.1.1.1.2 + type: gauge + help: Tape Physical Drive Bus Index - 1.3.6.1.4.1.232.5.4.1.1.1.2 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvScsiIdIndex + oid: 1.3.6.1.4.1.232.5.4.1.1.1.3 + type: gauge + help: Tape Physical Drive Index - 1.3.6.1.4.1.232.5.4.1.1.1.3 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvLunIndex + oid: 1.3.6.1.4.1.232.5.4.1.1.1.4 + type: gauge + help: Tape Physical Drive Logical Unit Index - 1.3.6.1.4.1.232.5.4.1.1.1.4 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvType + oid: 1.3.6.1.4.1.232.5.4.1.1.1.5 + type: gauge + help: Tape Device Type - 1.3.6.1.4.1.232.5.4.1.1.1.5 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + enum_values: + 1: other + 2: cpqDat4-16 + 3: cpqDatAuto + 4: cpqDat2-8 + 5: cpqDlt10-20 + 6: cpqDlt20-40 + 7: cpqDlt15-30 + 8: cpqDlt35-70 + 9: cpqDat4-8 + 10: cpqSlr4-8 + 11: cpqDat12-24 + 12: cpqDatAuto12-24 + 13: cpqMlr16-32 + 14: cpqAit35 + 15: cpqAit50 + 16: cpqDat20-40 + 17: cpqDlt40-80 + 18: cpqDatAuto20-40 + 19: cpqSuperDlt1 + 20: cpqAit35Lvd + 21: cpqCompaq + - name: cpqTapePhyDrvCondition + oid: 1.3.6.1.4.1.232.5.4.1.1.1.6 + type: gauge + help: Tape Physical Drive Status - 1.3.6.1.4.1.232.5.4.1.1.1.6 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqTapePhyDrvMagSize + oid: 1.3.6.1.4.1.232.5.4.1.1.1.7 + type: gauge + help: Tape Physical Drive Magazine Size - 1.3.6.1.4.1.232.5.4.1.1.1.7 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvSerialNumber + oid: 1.3.6.1.4.1.232.5.4.1.1.1.8 + type: DisplayString + help: Tape Physical Drive Serial Number - 1.3.6.1.4.1.232.5.4.1.1.1.8 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvCleanReq + oid: 1.3.6.1.4.1.232.5.4.1.1.1.9 + type: gauge + help: Tape Physical Drive Cleaning Required Status - 1.3.6.1.4.1.232.5.4.1.1.1.9 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + enum_values: + 1: other + 2: "true" + 3: "false" + - name: cpqTapePhyDrvCleanTapeRepl + oid: 1.3.6.1.4.1.232.5.4.1.1.1.10 + type: gauge + help: Tape Physical Drive Cleaning Tape Replacement Status - 1.3.6.1.4.1.232.5.4.1.1.1.10 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + enum_values: + 1: other + 2: "true" + 3: "false" + - name: cpqTapePhyDrvFwSubtype + oid: 1.3.6.1.4.1.232.5.4.1.1.1.11 + type: gauge + help: Tape Physical Drive Firmware Subtype - 1.3.6.1.4.1.232.5.4.1.1.1.11 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvName + oid: 1.3.6.1.4.1.232.5.4.1.1.1.12 + type: DisplayString + help: Tape Physical Drive Name - 1.3.6.1.4.1.232.5.4.1.1.1.12 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvCleanTapeCount + oid: 1.3.6.1.4.1.232.5.4.1.1.1.13 + type: gauge + help: Tape Physical Drive Cleaning Tape Count - 1.3.6.1.4.1.232.5.4.1.1.1.13 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvFwRev + oid: 1.3.6.1.4.1.232.5.4.1.1.1.14 + type: DisplayString + help: Tape Physical Drive Firmware Revision - 1.3.6.1.4.1.232.5.4.1.1.1.14 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvStatus + oid: 1.3.6.1.4.1.232.5.4.1.1.1.15 + type: gauge + help: Tape Physical Drive Status - 1.3.6.1.4.1.232.5.4.1.1.1.15 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + enum_values: + 1: other + 2: ok + 4: failed + 5: offline + 6: missingWasOk + 7: missingWasFailed + 8: missingWasOffline + - name: cpqTapePhyDrvHotPlug + oid: 1.3.6.1.4.1.232.5.4.1.1.1.16 + type: gauge + help: Tape Physical Drive Hot Plug Support Status - 1.3.6.1.4.1.232.5.4.1.1.1.16 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + enum_values: + 1: other + 2: hotPlug + 3: nonHotPlug + - name: cpqTapePhyDrvPlacement + oid: 1.3.6.1.4.1.232.5.4.1.1.1.17 + type: gauge + help: Tape Physical Drive Placement - 1.3.6.1.4.1.232.5.4.1.1.1.17 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + enum_values: + 1: other + 2: internal + 3: external + - name: cpqTapePhyDrvLibraryDrive + oid: 1.3.6.1.4.1.232.5.4.1.1.1.18 + type: gauge + help: Tape Physical Drive Library Drive - 1.3.6.1.4.1.232.5.4.1.1.1.18 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + enum_values: + 1: other + 2: "true" + 3: "false" + - name: cpqTapePhyDrvLoaderName + oid: 1.3.6.1.4.1.232.5.4.1.1.1.19 + type: DisplayString + help: Tape Autoloader Name - 1.3.6.1.4.1.232.5.4.1.1.1.19 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvLoaderFwRev + oid: 1.3.6.1.4.1.232.5.4.1.1.1.20 + type: DisplayString + help: Tape Autoloader Firmware Revision - 1.3.6.1.4.1.232.5.4.1.1.1.20 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapePhyDrvLoaderSerialNum + oid: 1.3.6.1.4.1.232.5.4.1.1.1.21 + type: DisplayString + help: Tape Autoloader Serial Number - 1.3.6.1.4.1.232.5.4.1.1.1.21 + indexes: + - labelname: cpqTapePhyDrvCntlrIndex + type: gauge + - labelname: cpqTapePhyDrvBusIndex + type: gauge + - labelname: cpqTapePhyDrvScsiIdIndex + type: gauge + - labelname: cpqTapePhyDrvLunIndex + type: gauge + - name: cpqTapeCountersCntlrIndex + oid: 1.3.6.1.4.1.232.5.4.2.1.1.1 + type: gauge + help: SCSI Counters Controller Index - 1.3.6.1.4.1.232.5.4.2.1.1.1 + indexes: + - labelname: cpqTapeCountersCntlrIndex + type: gauge + - labelname: cpqTapeCountersBusIndex + type: gauge + - labelname: cpqTapeCountersScsiIdIndex + type: gauge + - labelname: cpqTapeCountersLunIndex + type: gauge + - name: cpqTapeCountersBusIndex + oid: 1.3.6.1.4.1.232.5.4.2.1.1.2 + type: gauge + help: SCSI Counters Bus Index - 1.3.6.1.4.1.232.5.4.2.1.1.2 + indexes: + - labelname: cpqTapeCountersCntlrIndex + type: gauge + - labelname: cpqTapeCountersBusIndex + type: gauge + - labelname: cpqTapeCountersScsiIdIndex + type: gauge + - labelname: cpqTapeCountersLunIndex + type: gauge + - name: cpqTapeCountersScsiIdIndex + oid: 1.3.6.1.4.1.232.5.4.2.1.1.3 + type: gauge + help: SCSI Counters Device Index - 1.3.6.1.4.1.232.5.4.2.1.1.3 + indexes: + - labelname: cpqTapeCountersCntlrIndex + type: gauge + - labelname: cpqTapeCountersBusIndex + type: gauge + - labelname: cpqTapeCountersScsiIdIndex + type: gauge + - labelname: cpqTapeCountersLunIndex + type: gauge + - name: cpqTapeCountersLunIndex + oid: 1.3.6.1.4.1.232.5.4.2.1.1.4 + type: gauge + help: SCSI Counters Logical Unit Index - 1.3.6.1.4.1.232.5.4.2.1.1.4 + indexes: + - labelname: cpqTapeCountersCntlrIndex + type: gauge + - labelname: cpqTapeCountersBusIndex + type: gauge + - labelname: cpqTapeCountersScsiIdIndex + type: gauge + - labelname: cpqTapeCountersLunIndex + type: gauge + - name: cpqTapeCountersReWrites + oid: 1.3.6.1.4.1.232.5.4.2.1.1.5 + type: counter + help: Tape Device Re-write count - 1.3.6.1.4.1.232.5.4.2.1.1.5 + indexes: + - labelname: cpqTapeCountersCntlrIndex + type: gauge + - labelname: cpqTapeCountersBusIndex + type: gauge + - labelname: cpqTapeCountersScsiIdIndex + type: gauge + - labelname: cpqTapeCountersLunIndex + type: gauge + - name: cpqTapeCountersReReads + oid: 1.3.6.1.4.1.232.5.4.2.1.1.6 + type: counter + help: Tape Device Re-read count - 1.3.6.1.4.1.232.5.4.2.1.1.6 + indexes: + - labelname: cpqTapeCountersCntlrIndex + type: gauge + - labelname: cpqTapeCountersBusIndex + type: gauge + - labelname: cpqTapeCountersScsiIdIndex + type: gauge + - labelname: cpqTapeCountersLunIndex + type: gauge + - name: cpqTapeCountersTotalErrors + oid: 1.3.6.1.4.1.232.5.4.2.1.1.7 + type: counter + help: Tape Device Total Errors - 1.3.6.1.4.1.232.5.4.2.1.1.7 + indexes: + - labelname: cpqTapeCountersCntlrIndex + type: gauge + - labelname: cpqTapeCountersBusIndex + type: gauge + - labelname: cpqTapeCountersScsiIdIndex + type: gauge + - labelname: cpqTapeCountersLunIndex + type: gauge + - name: cpqTapeCountersTotalUncorrectable + oid: 1.3.6.1.4.1.232.5.4.2.1.1.8 + type: counter + help: Tape Device Total Uncorrectable Errors - 1.3.6.1.4.1.232.5.4.2.1.1.8 + indexes: + - labelname: cpqTapeCountersCntlrIndex + type: gauge + - labelname: cpqTapeCountersBusIndex + type: gauge + - labelname: cpqTapeCountersScsiIdIndex + type: gauge + - labelname: cpqTapeCountersLunIndex + type: gauge + - name: cpqTapeCountersTotalBytes + oid: 1.3.6.1.4.1.232.5.4.2.1.1.9 + type: counter + help: Tape Device Total Bytes - 1.3.6.1.4.1.232.5.4.2.1.1.9 + indexes: + - labelname: cpqTapeCountersCntlrIndex + type: gauge + - labelname: cpqTapeCountersBusIndex + type: gauge + - labelname: cpqTapeCountersScsiIdIndex + type: gauge + - labelname: cpqTapeCountersLunIndex + type: gauge + - name: cpqTapeLibraryCntlrIndex + oid: 1.3.6.1.4.1.232.5.4.3.1.1.1 + type: gauge + help: SCSI Library Controller Index - 1.3.6.1.4.1.232.5.4.3.1.1.1 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqTapeLibraryBusIndex + oid: 1.3.6.1.4.1.232.5.4.3.1.1.2 + type: gauge + help: SCSI Library Bus Index - 1.3.6.1.4.1.232.5.4.3.1.1.2 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqTapeLibraryScsiIdIndex + oid: 1.3.6.1.4.1.232.5.4.3.1.1.3 + type: gauge + help: SCSI Library Device Index - 1.3.6.1.4.1.232.5.4.3.1.1.3 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqTapeLibraryLunIndex + oid: 1.3.6.1.4.1.232.5.4.3.1.1.4 + type: gauge + help: SCSI Library Logical Unit Index - 1.3.6.1.4.1.232.5.4.3.1.1.4 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqTapeLibraryCondition + oid: 1.3.6.1.4.1.232.5.4.3.1.1.5 + type: gauge + help: Tape Library Status - 1.3.6.1.4.1.232.5.4.3.1.1.5 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqTapeLibraryStatus + oid: 1.3.6.1.4.1.232.5.4.3.1.1.6 + type: gauge + help: Error code returned by the last library error. - 1.3.6.1.4.1.232.5.4.3.1.1.6 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqTapeLibraryDoorStatus + oid: 1.3.6.1.4.1.232.5.4.3.1.1.7 + type: gauge + help: Status of the library door - 1.3.6.1.4.1.232.5.4.3.1.1.7 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + enum_values: + 1: other + 2: closed + 3: open + 4: notSupported + - name: cpqTapeLibraryStatHours + oid: 1.3.6.1.4.1.232.5.4.3.1.1.8 + type: counter + help: The number of hours of operation for the library. - 1.3.6.1.4.1.232.5.4.3.1.1.8 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqTapeLibraryStatMoves + oid: 1.3.6.1.4.1.232.5.4.3.1.1.9 + type: counter + help: The number of tape moves for the library loader arm. - 1.3.6.1.4.1.232.5.4.3.1.1.9 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqTapeLibraryName + oid: 1.3.6.1.4.1.232.5.4.3.1.1.10 + type: DisplayString + help: Tape Library Name. - 1.3.6.1.4.1.232.5.4.3.1.1.10 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqTapeLibrarySerialNumber + oid: 1.3.6.1.4.1.232.5.4.3.1.1.11 + type: DisplayString + help: Tape Library Serial Number - 1.3.6.1.4.1.232.5.4.3.1.1.11 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqTapeLibraryDriveList + oid: 1.3.6.1.4.1.232.5.4.3.1.1.12 + type: OctetString + help: Tape Library Drive List This is a data structure containing the list of + tape drive ids that are present in this library - 1.3.6.1.4.1.232.5.4.3.1.1.12 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqTapeLibraryState + oid: 1.3.6.1.4.1.232.5.4.3.1.1.13 + type: gauge + help: Tape Library Status - 1.3.6.1.4.1.232.5.4.3.1.1.13 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + 5: offline + - name: cpqTapeLibraryTemperature + oid: 1.3.6.1.4.1.232.5.4.3.1.1.14 + type: gauge + help: Tape Library Temperature Status - 1.3.6.1.4.1.232.5.4.3.1.1.14 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + enum_values: + 1: other + 2: notSupported + 3: ok + 4: safeTempExceeded + 5: maxTempExceeded + - name: cpqTapeLibraryRedundancy + oid: 1.3.6.1.4.1.232.5.4.3.1.1.15 + type: gauge + help: Tape Library Redundancy Status - 1.3.6.1.4.1.232.5.4.3.1.1.15 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + enum_values: + 1: other + 2: notSupported + 3: capable + 4: notCapable + 5: active + - name: cpqTapeLibraryHotSwap + oid: 1.3.6.1.4.1.232.5.4.3.1.1.16 + type: gauge + help: Tape Library Hot Swap Status - 1.3.6.1.4.1.232.5.4.3.1.1.16 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + enum_values: + 1: other + 2: notSupported + 3: capable + 4: notCapable + - name: cpqTapeLibraryFwRev + oid: 1.3.6.1.4.1.232.5.4.3.1.1.17 + type: DisplayString + help: Tape Library Firmware Revision - 1.3.6.1.4.1.232.5.4.3.1.1.17 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqTapeLibraryTapeList + oid: 1.3.6.1.4.1.232.5.4.3.1.1.18 + type: OctetString + help: Tape Library Drive List This is a data structure containing the list of + tape drive ids that are present in this library - 1.3.6.1.4.1.232.5.4.3.1.1.18 + indexes: + - labelname: cpqTapeLibraryCntlrIndex + type: gauge + - labelname: cpqTapeLibraryBusIndex + type: gauge + - labelname: cpqTapeLibraryScsiIdIndex + type: gauge + - labelname: cpqTapeLibraryLunIndex + type: gauge + - name: cpqSasHbaIndex + oid: 1.3.6.1.4.1.232.5.5.1.1.1.1 + type: gauge + help: SAS Host Bus Adapter Index - 1.3.6.1.4.1.232.5.5.1.1.1.1 + indexes: + - labelname: cpqSasHbaIndex + type: gauge + - name: cpqSasHbaHwLocation + oid: 1.3.6.1.4.1.232.5.5.1.1.1.2 + type: DisplayString + help: SAS Host Bus Adapter Hardware Location - 1.3.6.1.4.1.232.5.5.1.1.1.2 + indexes: + - labelname: cpqSasHbaIndex + type: gauge + - name: cpqSasHbaModel + oid: 1.3.6.1.4.1.232.5.5.1.1.1.3 + type: gauge + help: SAS Host Bus Adapter Model - 1.3.6.1.4.1.232.5.5.1.1.1.3 + indexes: + - labelname: cpqSasHbaIndex + type: gauge + enum_values: + 1: other + 2: generic + 3: sas8int + 4: sas4int + 5: sasSc44Ge + 6: sasSc40Ge + 7: sasSc08Ge + 8: sasSc08e + 9: sasH220i + 10: sasH221 + 11: sasH210i + 12: sasH220 + 13: sasH222 + 14: sasP824ip + - name: cpqSasHbaStatus + oid: 1.3.6.1.4.1.232.5.5.1.1.1.4 + type: gauge + help: SAS Host Bus Adapter Status - 1.3.6.1.4.1.232.5.5.1.1.1.4 + indexes: + - labelname: cpqSasHbaIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: failed + - name: cpqSasHbaCondition + oid: 1.3.6.1.4.1.232.5.5.1.1.1.5 + type: gauge + help: SAS Host Bus Adapter Condition - 1.3.6.1.4.1.232.5.5.1.1.1.5 + indexes: + - labelname: cpqSasHbaIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqSasHbaOverallCondition + oid: 1.3.6.1.4.1.232.5.5.1.1.1.6 + type: gauge + help: SAS Host Bus Adapter Overall Condition - 1.3.6.1.4.1.232.5.5.1.1.1.6 + indexes: + - labelname: cpqSasHbaIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqSasHbaSerialNumber + oid: 1.3.6.1.4.1.232.5.5.1.1.1.7 + type: DisplayString + help: SAS Host Bus Adapter Serial Number - 1.3.6.1.4.1.232.5.5.1.1.1.7 + indexes: + - labelname: cpqSasHbaIndex + type: gauge + - name: cpqSasHbaFwVersion + oid: 1.3.6.1.4.1.232.5.5.1.1.1.8 + type: DisplayString + help: SAS Host Bus Adapter Firmware Version - 1.3.6.1.4.1.232.5.5.1.1.1.8 + indexes: + - labelname: cpqSasHbaIndex + type: gauge + - name: cpqSasHbaBiosVersion + oid: 1.3.6.1.4.1.232.5.5.1.1.1.9 + type: DisplayString + help: SAS Host Bus Adapter BIOS Version - 1.3.6.1.4.1.232.5.5.1.1.1.9 + indexes: + - labelname: cpqSasHbaIndex + type: gauge + - name: cpqSasHbaPciLocation + oid: 1.3.6.1.4.1.232.5.5.1.1.1.10 + type: DisplayString + help: SAS Host Bus Adapter PCI Location - 1.3.6.1.4.1.232.5.5.1.1.1.10 + indexes: + - labelname: cpqSasHbaIndex + type: gauge + - name: cpqSasPhyDrvHbaIndex + oid: 1.3.6.1.4.1.232.5.5.2.1.1.1 + type: gauge + help: SAS Physical Drive HBA Index - 1.3.6.1.4.1.232.5.5.2.1.1.1 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvIndex + oid: 1.3.6.1.4.1.232.5.5.2.1.1.2 + type: gauge + help: SAS Physical Drive Index - 1.3.6.1.4.1.232.5.5.2.1.1.2 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvLocationString + oid: 1.3.6.1.4.1.232.5.5.2.1.1.3 + type: DisplayString + help: SAS Physical Drive Location String - 1.3.6.1.4.1.232.5.5.2.1.1.3 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvModel + oid: 1.3.6.1.4.1.232.5.5.2.1.1.4 + type: DisplayString + help: SAS Physical Drive Model - 1.3.6.1.4.1.232.5.5.2.1.1.4 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvStatus + oid: 1.3.6.1.4.1.232.5.5.2.1.1.5 + type: gauge + help: SAS Physical Drive Status - 1.3.6.1.4.1.232.5.5.2.1.1.5 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: predictiveFailure + 4: offline + 5: failed + 6: missingWasOk + 7: missingWasPredictiveFailure + 8: missingWasOffline + 9: missingWasFailed + 10: ssdWearOut + 11: missingWasSSDWearOut + 12: notAuthenticated + 13: missingWasNotAuthenticated + - name: cpqSasPhyDrvCondition + oid: 1.3.6.1.4.1.232.5.5.2.1.1.6 + type: gauge + help: SAS Physical Drive Condition - 1.3.6.1.4.1.232.5.5.2.1.1.6 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqSasPhyDrvFWRev + oid: 1.3.6.1.4.1.232.5.5.2.1.1.7 + type: DisplayString + help: SAS Physical Drive Firmware Revision - 1.3.6.1.4.1.232.5.5.2.1.1.7 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvSize + oid: 1.3.6.1.4.1.232.5.5.2.1.1.8 + type: gauge + help: SAS Physical Drive Size in MB - 1.3.6.1.4.1.232.5.5.2.1.1.8 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvUsedReallocs + oid: 1.3.6.1.4.1.232.5.5.2.1.1.9 + type: counter + help: SAS Physical Drive Used Reallocation Sectors - 1.3.6.1.4.1.232.5.5.2.1.1.9 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvSerialNumber + oid: 1.3.6.1.4.1.232.5.5.2.1.1.10 + type: DisplayString + help: SAS Physical Drive Serial Number - 1.3.6.1.4.1.232.5.5.2.1.1.10 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvMemberLogDrv + oid: 1.3.6.1.4.1.232.5.5.2.1.1.11 + type: gauge + help: The Physical Drive is a Member of a Logical Drive - 1.3.6.1.4.1.232.5.5.2.1.1.11 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: member + 3: spare + 4: nonMember + - name: cpqSasPhyDrvRotationalSpeed + oid: 1.3.6.1.4.1.232.5.5.2.1.1.12 + type: gauge + help: SAS Physical Drive Rotational Speed - 1.3.6.1.4.1.232.5.5.2.1.1.12 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: rpm7200 + 3: rpm10K + 4: rpm15K + 5: rpmSsd + - name: cpqSasPhyDrvOsName + oid: 1.3.6.1.4.1.232.5.5.2.1.1.13 + type: DisplayString + help: SAS Physical Drive OS Name - 1.3.6.1.4.1.232.5.5.2.1.1.13 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvPlacement + oid: 1.3.6.1.4.1.232.5.5.2.1.1.14 + type: gauge + help: SAS Physical Drive Placement - 1.3.6.1.4.1.232.5.5.2.1.1.14 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: internal + 3: external + - name: cpqSasPhyDrvHotPlug + oid: 1.3.6.1.4.1.232.5.5.2.1.1.15 + type: gauge + help: SAS Physical Drive Hot Plug Support Status - 1.3.6.1.4.1.232.5.5.2.1.1.15 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: hotPlug + 3: nonHotPlug + - name: cpqSasPhyDrvType + oid: 1.3.6.1.4.1.232.5.5.2.1.1.16 + type: gauge + help: SAS Physical Drive Type - 1.3.6.1.4.1.232.5.5.2.1.1.16 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: sas + 3: sata + - name: cpqSasPhyDrvSasAddress + oid: 1.3.6.1.4.1.232.5.5.2.1.1.17 + type: DisplayString + help: SAS Physical Drive SAS Address - 1.3.6.1.4.1.232.5.5.2.1.1.17 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvMediaType + oid: 1.3.6.1.4.1.232.5.5.2.1.1.18 + type: gauge + help: SAS Physical Drive Media Type - 1.3.6.1.4.1.232.5.5.2.1.1.18 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: rotatingPlatters + 3: solidState + - name: cpqSasPhyDrvSSDWearStatus + oid: 1.3.6.1.4.1.232.5.5.2.1.1.19 + type: gauge + help: SAS Physical Drive Solid State Disk Wear Status - 1.3.6.1.4.1.232.5.5.2.1.1.19 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: fiftySixDayThreshold + 4: fivePercentThreshold + 5: twoPercentThreshold + 6: ssdWearOut + - name: cpqSasPhyDrvPowerOnHours + oid: 1.3.6.1.4.1.232.5.5.2.1.1.20 + type: counter + help: SAS Physical Drive Power On Hours - 1.3.6.1.4.1.232.5.5.2.1.1.20 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvSSDPercntEndrnceUsed + oid: 1.3.6.1.4.1.232.5.5.2.1.1.21 + type: gauge + help: SAS Physical Drive Solid State Percent Endurance Used - 1.3.6.1.4.1.232.5.5.2.1.1.21 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvSSDEstTimeRemainingHours + oid: 1.3.6.1.4.1.232.5.5.2.1.1.22 + type: counter + help: SAS Physical Drive Solid State Estimated Time Remaining In Hours - 1.3.6.1.4.1.232.5.5.2.1.1.22 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvAuthenticationStatus + oid: 1.3.6.1.4.1.232.5.5.2.1.1.23 + type: gauge + help: SAS Physical Drive Authentication Status - 1.3.6.1.4.1.232.5.5.2.1.1.23 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + enum_values: + 1: other + 2: notSupported + 3: authenticationFailed + 4: authenticationPassed + - name: cpqSasPhyDrvSmartCarrierAppFWRev + oid: 1.3.6.1.4.1.232.5.5.2.1.1.24 + type: gauge + help: SAS Physical Drive Smart Carrier Application Firmware Revision - 1.3.6.1.4.1.232.5.5.2.1.1.24 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvSmartCarrierBootldrFWRev + oid: 1.3.6.1.4.1.232.5.5.2.1.1.25 + type: gauge + help: SAS Physical Drive Smart Carrier Bootloader Firmware Revision - 1.3.6.1.4.1.232.5.5.2.1.1.25 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvCurrTemperature + oid: 1.3.6.1.4.1.232.5.5.2.1.1.26 + type: gauge + help: SAS Physical Drive Current Operating Temperature degrees Celsius - 1.3.6.1.4.1.232.5.5.2.1.1.26 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvTemperatureThreshold + oid: 1.3.6.1.4.1.232.5.5.2.1.1.27 + type: gauge + help: SAS Physical Drive Maximum Operating Temperature in degrees Celsius - + 1.3.6.1.4.1.232.5.5.2.1.1.27 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvSsBoxModel + oid: 1.3.6.1.4.1.232.5.5.2.1.1.28 + type: DisplayString + help: SAS Physical Drive Box Model - 1.3.6.1.4.1.232.5.5.2.1.1.28 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvSsBoxFwRev + oid: 1.3.6.1.4.1.232.5.5.2.1.1.29 + type: DisplayString + help: SAS Physical Drive Box Firmware Revision - 1.3.6.1.4.1.232.5.5.2.1.1.29 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvSsBoxVendor + oid: 1.3.6.1.4.1.232.5.5.2.1.1.30 + type: DisplayString + help: SAS Physical Drive Box Vendor This is the SAS drive box`s vendor name + - 1.3.6.1.4.1.232.5.5.2.1.1.30 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasPhyDrvSsBoxSerialNumber + oid: 1.3.6.1.4.1.232.5.5.2.1.1.31 + type: DisplayString + help: SAS Physical Drive Box Serial Number - 1.3.6.1.4.1.232.5.5.2.1.1.31 + indexes: + - labelname: cpqSasPhyDrvHbaIndex + type: gauge + - labelname: cpqSasPhyDrvIndex + type: gauge + - name: cpqSasLogDrvHbaIndex + oid: 1.3.6.1.4.1.232.5.5.3.1.1.1 + type: gauge + help: SAS Logical Drive HBA Index - 1.3.6.1.4.1.232.5.5.3.1.1.1 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + - name: cpqSasLogDrvIndex + oid: 1.3.6.1.4.1.232.5.5.3.1.1.2 + type: gauge + help: SAS Logical Drive Index - 1.3.6.1.4.1.232.5.5.3.1.1.2 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + - name: cpqSasLogDrvRaidLevel + oid: 1.3.6.1.4.1.232.5.5.3.1.1.3 + type: gauge + help: SAS Logical Drive RAID Level - 1.3.6.1.4.1.232.5.5.3.1.1.3 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + enum_values: + 1: other + 2: raid0 + 3: raid1 + 4: raid0plus1 + 5: raid5 + 6: raid15 + 7: volume + - name: cpqSasLogDrvStatus + oid: 1.3.6.1.4.1.232.5.5.3.1.1.4 + type: gauge + help: SAS Logical Drive Status - 1.3.6.1.4.1.232.5.5.3.1.1.4 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: rebuilding + 5: failed + 6: offline + - name: cpqSasLogDrvCondition + oid: 1.3.6.1.4.1.232.5.5.3.1.1.5 + type: gauge + help: SAS Logical Drive Condition - 1.3.6.1.4.1.232.5.5.3.1.1.5 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqSasLogDrvRebuildingDisk + oid: 1.3.6.1.4.1.232.5.5.3.1.1.6 + type: gauge + help: SAS Logical Drive Rebuilding Disk - 1.3.6.1.4.1.232.5.5.3.1.1.6 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + - name: cpqSasLogDrvCapacity + oid: 1.3.6.1.4.1.232.5.5.3.1.1.7 + type: gauge + help: SAS Logical Drive Size - 1.3.6.1.4.1.232.5.5.3.1.1.7 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + - name: cpqSasLogDrvStripeSize + oid: 1.3.6.1.4.1.232.5.5.3.1.1.8 + type: gauge + help: SAS Logical Drive Stripe Size - 1.3.6.1.4.1.232.5.5.3.1.1.8 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + - name: cpqSasLogDrvPhyDrvIds + oid: 1.3.6.1.4.1.232.5.5.3.1.1.9 + type: OctetString + help: SAS Logical Drive Physical Drive IDs - 1.3.6.1.4.1.232.5.5.3.1.1.9 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + - name: cpqSasLogDrvSpareIds + oid: 1.3.6.1.4.1.232.5.5.3.1.1.10 + type: OctetString + help: SAS Logical Drive Spare Drive IDs - 1.3.6.1.4.1.232.5.5.3.1.1.10 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + - name: cpqSasLogDrvOsName + oid: 1.3.6.1.4.1.232.5.5.3.1.1.11 + type: DisplayString + help: SAS Logical Drive OS Name - 1.3.6.1.4.1.232.5.5.3.1.1.11 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + - name: cpqSasLogDrvRebuildingPercent + oid: 1.3.6.1.4.1.232.5.5.3.1.1.12 + type: gauge + help: Logical Drive Percent Rebuild - 1.3.6.1.4.1.232.5.5.3.1.1.12 + indexes: + - labelname: cpqSasLogDrvHbaIndex + type: gauge + - labelname: cpqSasLogDrvIndex + type: gauge + - name: cpqSasTapeDrvHbaIndex + oid: 1.3.6.1.4.1.232.5.5.4.1.1.1 + type: gauge + help: SAS Tape Drive HBA Index - 1.3.6.1.4.1.232.5.5.4.1.1.1 + indexes: + - labelname: cpqSasTapeDrvHbaIndex + type: gauge + - labelname: cpqSasTapeDrvIndex + type: gauge + - name: cpqSasTapeDrvIndex + oid: 1.3.6.1.4.1.232.5.5.4.1.1.2 + type: gauge + help: SAS Tape Drive Index - 1.3.6.1.4.1.232.5.5.4.1.1.2 + indexes: + - labelname: cpqSasTapeDrvHbaIndex + type: gauge + - labelname: cpqSasTapeDrvIndex + type: gauge + - name: cpqSasTapeDrvLocationString + oid: 1.3.6.1.4.1.232.5.5.4.1.1.3 + type: DisplayString + help: SAS Tape Drive Location String - 1.3.6.1.4.1.232.5.5.4.1.1.3 + indexes: + - labelname: cpqSasTapeDrvHbaIndex + type: gauge + - labelname: cpqSasTapeDrvIndex + type: gauge + - name: cpqSasTapeDrvName + oid: 1.3.6.1.4.1.232.5.5.4.1.1.4 + type: DisplayString + help: SAS Tape Drive Name - 1.3.6.1.4.1.232.5.5.4.1.1.4 + indexes: + - labelname: cpqSasTapeDrvHbaIndex + type: gauge + - labelname: cpqSasTapeDrvIndex + type: gauge + - name: cpqSasTapeDrvStatus + oid: 1.3.6.1.4.1.232.5.5.4.1.1.5 + type: gauge + help: SAS Physical Drive Status - 1.3.6.1.4.1.232.5.5.4.1.1.5 + indexes: + - labelname: cpqSasTapeDrvHbaIndex + type: gauge + - labelname: cpqSasTapeDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: offline + - name: cpqSasTapeDrvCondition + oid: 1.3.6.1.4.1.232.5.5.4.1.1.6 + type: gauge + help: SAS Tape Drive Condition - 1.3.6.1.4.1.232.5.5.4.1.1.6 + indexes: + - labelname: cpqSasTapeDrvHbaIndex + type: gauge + - labelname: cpqSasTapeDrvIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqSasTapeDrvFWRev + oid: 1.3.6.1.4.1.232.5.5.4.1.1.7 + type: DisplayString + help: SAS Tape Drive Firmware Revision - 1.3.6.1.4.1.232.5.5.4.1.1.7 + indexes: + - labelname: cpqSasTapeDrvHbaIndex + type: gauge + - labelname: cpqSasTapeDrvIndex + type: gauge + - name: cpqSasTapeDrvSerialNumber + oid: 1.3.6.1.4.1.232.5.5.4.1.1.8 + type: DisplayString + help: SAS Tape Drive Serial Number - 1.3.6.1.4.1.232.5.5.4.1.1.8 + indexes: + - labelname: cpqSasTapeDrvHbaIndex + type: gauge + - labelname: cpqSasTapeDrvIndex + type: gauge + - name: cpqSasTapeDrvSasAddress + oid: 1.3.6.1.4.1.232.5.5.4.1.1.9 + type: DisplayString + help: SAS Tape Drive SAS Address - 1.3.6.1.4.1.232.5.5.4.1.1.9 + indexes: + - labelname: cpqSasTapeDrvHbaIndex + type: gauge + - labelname: cpqSasTapeDrvIndex + type: gauge + - name: cpqHeResMem2ModuleSize + oid: 1.3.6.1.4.1.232.6.2.14.13.1.6 + type: gauge + help: Module memory size in kilobytes - 1.3.6.1.4.1.232.6.2.14.13.1.6 + indexes: + - labelname: cpqHeResMem2Module + type: gauge + - name: cpqHePowerMeterSupport + oid: 1.3.6.1.4.1.232.6.2.15.1 + type: gauge + help: This value specifies whether Power Meter is supported by this Server - + 1.3.6.1.4.1.232.6.2.15.1 + enum_values: + 1: other + 2: supported + 3: unsupported + - name: cpqHePowerMeterStatus + oid: 1.3.6.1.4.1.232.6.2.15.2 + type: gauge + help: This value specifies whether Power Meter reading is supported by this + Server - 1.3.6.1.4.1.232.6.2.15.2 + enum_values: + 1: other + 2: present + 3: absent + - name: cpqHePowerMeterCurrReading + oid: 1.3.6.1.4.1.232.6.2.15.3 + type: gauge + help: This is the current Power Meter reading in Watts - 1.3.6.1.4.1.232.6.2.15.3 + - name: cpqHePowerMeterPrevReading + oid: 1.3.6.1.4.1.232.6.2.15.4 + type: gauge + help: This is the previous Power Meter reading in Watts - 1.3.6.1.4.1.232.6.2.15.4 + - name: cpqHeHWBiosCondition + oid: 1.3.6.1.4.1.232.6.2.16.1 + type: gauge + help: This value indicates an error has been detected during Pre-OS Test (POST) + or during initial hardware initialization - 1.3.6.1.4.1.232.6.2.16.1 + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqHeSysBackupBatteryCondition + oid: 1.3.6.1.4.1.232.6.2.17.1 + type: gauge + help: This value specifies the overall condition of the battery backup sub-system. + - 1.3.6.1.4.1.232.6.2.17.1 + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqHeSysBatteryChassis + oid: 1.3.6.1.4.1.232.6.2.17.2.1.1 + type: gauge + help: The system chassis number. - 1.3.6.1.4.1.232.6.2.17.2.1.1 + indexes: + - labelname: cpqHeSysBatteryChassis + type: gauge + - labelname: cpqHeSysBatteryIndex + type: gauge + - name: cpqHeSysBatteryIndex + oid: 1.3.6.1.4.1.232.6.2.17.2.1.2 + type: gauge + help: The battery index number within this chassis. - 1.3.6.1.4.1.232.6.2.17.2.1.2 + indexes: + - labelname: cpqHeSysBatteryChassis + type: gauge + - labelname: cpqHeSysBatteryIndex + type: gauge + - name: cpqHeSysBatteryPresent + oid: 1.3.6.1.4.1.232.6.2.17.2.1.3 + type: gauge + help: Indicates whether the backup battery is present in the chassis. - 1.3.6.1.4.1.232.6.2.17.2.1.3 + indexes: + - labelname: cpqHeSysBatteryChassis + type: gauge + - labelname: cpqHeSysBatteryIndex + type: gauge + enum_values: + 1: other + 2: absent + 3: present + - name: cpqHeSysBatteryCondition + oid: 1.3.6.1.4.1.232.6.2.17.2.1.4 + type: gauge + help: The condition of the backup battery - 1.3.6.1.4.1.232.6.2.17.2.1.4 + indexes: + - labelname: cpqHeSysBatteryChassis + type: gauge + - labelname: cpqHeSysBatteryIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqHeSysBatteryStatus + oid: 1.3.6.1.4.1.232.6.2.17.2.1.5 + type: gauge + help: The status of the battery. - 1.3.6.1.4.1.232.6.2.17.2.1.5 + indexes: + - labelname: cpqHeSysBatteryChassis + type: gauge + - labelname: cpqHeSysBatteryIndex + type: gauge + enum_values: + 1: noError + 2: generalFailure + 3: shutdownHighResistance + 4: shutdownLowVoltage + 5: shutdownShortCircuit + 6: shutdownChargeTimeout + 7: shutdownOverTemperature + 8: shutdownDischargeMinVoltage + 9: shutdownDischargeCurrent + 10: shutdownLoadCountHigh + 11: shutdownEnablePin + 12: shutdownOverCurrent + 13: shutdownPermanentFailure + 14: shutdownBackupTimeExceeded + 15: predictiveFailure + - name: cpqHeSysBatteryCapacityMaximum + oid: 1.3.6.1.4.1.232.6.2.17.2.1.6 + type: gauge + help: The maximum capacity of the battery in watts. - 1.3.6.1.4.1.232.6.2.17.2.1.6 + indexes: + - labelname: cpqHeSysBatteryChassis + type: gauge + - labelname: cpqHeSysBatteryIndex + type: gauge + - name: cpqHeSysBatteryProductName + oid: 1.3.6.1.4.1.232.6.2.17.2.1.7 + type: DisplayString + help: The battery product name. - 1.3.6.1.4.1.232.6.2.17.2.1.7 + indexes: + - labelname: cpqHeSysBatteryChassis + type: gauge + - labelname: cpqHeSysBatteryIndex + type: gauge + - name: cpqHeSysBatteryModel + oid: 1.3.6.1.4.1.232.6.2.17.2.1.8 + type: DisplayString + help: The battery model name. - 1.3.6.1.4.1.232.6.2.17.2.1.8 + indexes: + - labelname: cpqHeSysBatteryChassis + type: gauge + - labelname: cpqHeSysBatteryIndex + type: gauge + - name: cpqHeSysBatterySerialNumber + oid: 1.3.6.1.4.1.232.6.2.17.2.1.9 + type: DisplayString + help: The battery serial number. - 1.3.6.1.4.1.232.6.2.17.2.1.9 + indexes: + - labelname: cpqHeSysBatteryChassis + type: gauge + - labelname: cpqHeSysBatteryIndex + type: gauge + - name: cpqHeSysBatteryFirmwareRev + oid: 1.3.6.1.4.1.232.6.2.17.2.1.10 + type: DisplayString + help: The battery firmware revision - 1.3.6.1.4.1.232.6.2.17.2.1.10 + indexes: + - labelname: cpqHeSysBatteryChassis + type: gauge + - labelname: cpqHeSysBatteryIndex + type: gauge + - name: cpqHeSysBatterySparePartNum + oid: 1.3.6.1.4.1.232.6.2.17.2.1.11 + type: DisplayString + help: The battery part number or spare part number. - 1.3.6.1.4.1.232.6.2.17.2.1.11 + indexes: + - labelname: cpqHeSysBatteryChassis + type: gauge + - labelname: cpqHeSysBatteryIndex + type: gauge + - name: cpqHeTemperatureChassis + oid: 1.3.6.1.4.1.232.6.2.6.8.1.1 + type: gauge + help: The System Chassis number. - 1.3.6.1.4.1.232.6.2.6.8.1.1 + indexes: + - labelname: cpqHeTemperatureChassis + type: gauge + - labelname: cpqHeTemperatureIndex + type: gauge + - name: cpqHeTemperatureIndex + oid: 1.3.6.1.4.1.232.6.2.6.8.1.2 + type: gauge + help: A number that uniquely specifies this temperature sensor description. + - 1.3.6.1.4.1.232.6.2.6.8.1.2 + indexes: + - labelname: cpqHeTemperatureChassis + type: gauge + - labelname: cpqHeTemperatureIndex + type: gauge + - name: cpqHeTemperatureLocale + oid: 1.3.6.1.4.1.232.6.2.6.8.1.3 + type: gauge + help: This specifies the location of the temperature sensor present in the system. + - 1.3.6.1.4.1.232.6.2.6.8.1.3 + indexes: + - labelname: cpqHeTemperatureChassis + type: gauge + - labelname: cpqHeTemperatureIndex + type: gauge + enum_values: + 1: other + 2: unknown + 3: system + 4: systemBoard + 5: ioBoard + 6: cpu + 7: memory + 8: storage + 9: removableMedia + 10: powerSupply + 11: ambient + 12: chassis + 13: bridgeCard + - name: cpqHeTemperatureCelsius + oid: 1.3.6.1.4.1.232.6.2.6.8.1.4 + type: gauge + help: This is the current temperature sensor reading in degrees celsius - 1.3.6.1.4.1.232.6.2.6.8.1.4 + indexes: + - labelname: cpqHeTemperatureChassis + type: gauge + - labelname: cpqHeTemperatureIndex + type: gauge + - name: cpqHeTemperatureThreshold + oid: 1.3.6.1.4.1.232.6.2.6.8.1.5 + type: gauge + help: This is the shutdown threshold temperature sensor setting in degrees celsius + - 1.3.6.1.4.1.232.6.2.6.8.1.5 + indexes: + - labelname: cpqHeTemperatureChassis + type: gauge + - labelname: cpqHeTemperatureIndex + type: gauge + - name: cpqHeTemperatureCondition + oid: 1.3.6.1.4.1.232.6.2.6.8.1.6 + type: gauge + help: The Temperature sensor condition - 1.3.6.1.4.1.232.6.2.6.8.1.6 + indexes: + - labelname: cpqHeTemperatureChassis + type: gauge + - labelname: cpqHeTemperatureIndex + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqHeTemperatureThresholdType + oid: 1.3.6.1.4.1.232.6.2.6.8.1.7 + type: gauge + help: This specifies the type of this instance of temperature sensor - 1.3.6.1.4.1.232.6.2.6.8.1.7 + indexes: + - labelname: cpqHeTemperatureChassis + type: gauge + - labelname: cpqHeTemperatureIndex + type: gauge + enum_values: + 1: other + 5: blowout + 9: caution + 15: critical + 16: noreaction + - name: cpqHeTemperatureHwLocation + oid: 1.3.6.1.4.1.232.6.2.6.8.1.8 + type: DisplayString + help: A text description of the hardware location, on complex multi SBB hardware + only, for the temperature sensor - 1.3.6.1.4.1.232.6.2.6.8.1.8 + indexes: + - labelname: cpqHeTemperatureChassis + type: gauge + - labelname: cpqHeTemperatureIndex + type: gauge + - name: cpqHeFltTolPwrSupplyCondition + oid: 1.3.6.1.4.1.232.6.2.9.1 + type: gauge + help: This value specifies the overall condition of the fault tolerant power + supply sub-system. - 1.3.6.1.4.1.232.6.2.9.1 + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqHeFltTolPwrSupplyStatus + oid: 1.3.6.1.4.1.232.6.2.9.2 + type: gauge + help: This value specifies the status of the fault tolerant power supply. - + 1.3.6.1.4.1.232.6.2.9.2 + enum_values: + 1: other + 2: notSupported + 3: notInstalled + 4: installed + - name: cpqHeFltTolPowerSupplyChassis + oid: 1.3.6.1.4.1.232.6.2.9.3.1.1 + type: gauge + help: The system chassis number. - 1.3.6.1.4.1.232.6.2.9.3.1.1 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplyBay + oid: 1.3.6.1.4.1.232.6.2.9.3.1.2 + type: gauge + help: The bay number to index within this chassis. - 1.3.6.1.4.1.232.6.2.9.3.1.2 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplyPresent + oid: 1.3.6.1.4.1.232.6.2.9.3.1.3 + type: gauge + help: Indicates whether the power supply is present in the chassis. - 1.3.6.1.4.1.232.6.2.9.3.1.3 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + enum_values: + 1: other + 2: absent + 3: present + - name: cpqHeFltTolPowerSupplyCondition + oid: 1.3.6.1.4.1.232.6.2.9.3.1.4 + type: gauge + help: The condition of the power supply - 1.3.6.1.4.1.232.6.2.9.3.1.4 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + enum_values: + 1: other + 2: ok + 3: degraded + 4: failed + - name: cpqHeFltTolPowerSupplyStatus + oid: 1.3.6.1.4.1.232.6.2.9.3.1.5 + type: gauge + help: The status of the power supply. - 1.3.6.1.4.1.232.6.2.9.3.1.5 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + enum_values: + 1: noError + 2: generalFailure + 3: bistFailure + 4: fanFailure + 5: tempFailure + 6: interlockOpen + 7: epromFailed + 8: vrefFailed + 9: dacFailed + 10: ramTestFailed + 11: voltageChannelFailed + 12: orringdiodeFailed + 13: brownOut + 14: giveupOnStartup + 15: nvramInvalid + 16: calibrationTableInvalid + 17: noPowerInput + - name: cpqHeFltTolPowerSupplyMainVoltage + oid: 1.3.6.1.4.1.232.6.2.9.3.1.6 + type: gauge + help: The input main voltage of the power supply in volts. - 1.3.6.1.4.1.232.6.2.9.3.1.6 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplyCapacityUsed + oid: 1.3.6.1.4.1.232.6.2.9.3.1.7 + type: gauge + help: The currently used capacity of the power supply in watts. - 1.3.6.1.4.1.232.6.2.9.3.1.7 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplyCapacityMaximum + oid: 1.3.6.1.4.1.232.6.2.9.3.1.8 + type: gauge + help: The maximum capacity of the power supply in watts. - 1.3.6.1.4.1.232.6.2.9.3.1.8 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplyRedundant + oid: 1.3.6.1.4.1.232.6.2.9.3.1.9 + type: gauge + help: The redundancy state of the power supply - 1.3.6.1.4.1.232.6.2.9.3.1.9 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + enum_values: + 1: other + 2: notRedundant + 3: redundant + - name: cpqHeFltTolPowerSupplyModel + oid: 1.3.6.1.4.1.232.6.2.9.3.1.10 + type: DisplayString + help: The power supply model name. - 1.3.6.1.4.1.232.6.2.9.3.1.10 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplySerialNumber + oid: 1.3.6.1.4.1.232.6.2.9.3.1.11 + type: DisplayString + help: The power supply serial number. - 1.3.6.1.4.1.232.6.2.9.3.1.11 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplyAutoRev + oid: 1.3.6.1.4.1.232.6.2.9.3.1.12 + type: OctetString + help: The power supply auto revision number. - 1.3.6.1.4.1.232.6.2.9.3.1.12 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplyHotPlug + oid: 1.3.6.1.4.1.232.6.2.9.3.1.13 + type: gauge + help: This indicates if the power supply is capable of being removed and/or + inserted while the system is in an operational state - 1.3.6.1.4.1.232.6.2.9.3.1.13 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + enum_values: + 1: other + 2: nonHotPluggable + 3: hotPluggable + - name: cpqHeFltTolPowerSupplyFirmwareRev + oid: 1.3.6.1.4.1.232.6.2.9.3.1.14 + type: DisplayString + help: The power supply firmware revision - 1.3.6.1.4.1.232.6.2.9.3.1.14 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplyHwLocation + oid: 1.3.6.1.4.1.232.6.2.9.3.1.15 + type: DisplayString + help: A text description of the hardware location, on complex multi SBB hardware + only, for the power supply - 1.3.6.1.4.1.232.6.2.9.3.1.15 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplySparePartNum + oid: 1.3.6.1.4.1.232.6.2.9.3.1.16 + type: DisplayString + help: The power supply part number or spare part number. - 1.3.6.1.4.1.232.6.2.9.3.1.16 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplyRedundantPartner + oid: 1.3.6.1.4.1.232.6.2.9.3.1.17 + type: gauge + help: This specifies the index of the redundant partner - 1.3.6.1.4.1.232.6.2.9.3.1.17 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + - name: cpqHeFltTolPowerSupplyErrorCondition + oid: 1.3.6.1.4.1.232.6.2.9.3.1.18 + type: gauge + help: The Error condition of the power supply. - 1.3.6.1.4.1.232.6.2.9.3.1.18 + indexes: + - labelname: cpqHeFltTolPowerSupplyChassis + type: gauge + - labelname: cpqHeFltTolPowerSupplyBay + type: gauge + enum_values: + 1: noError + 2: generalFailure + 3: overvoltage + 4: overcurrent + 5: overtemperature + 6: powerinputloss + 7: fanfailure + 8: vinhighwarning + 9: vinlowwarning + 10: vouthighwarning + 11: voutlowwarning + 12: inlettemphighwarning + 13: iinternaltemphighwarning + 14: vauxhighwarning + 15: vauxlowwarning + 16: powersupplymismatch + 17: goodinstandby + - name: cpqSm2CntlrRomDate + oid: 1.3.6.1.4.1.232.9.2.2.1 + type: DisplayString + help: Remote Insight/ Integrated Lights-Out ROM Date - 1.3.6.1.4.1.232.9.2.2.1 + - name: cpqSm2CntlrRomRevision + oid: 1.3.6.1.4.1.232.9.2.2.2 + type: DisplayString + help: Remote Insight/ Integrated Lights-Out ROM Revision - 1.3.6.1.4.1.232.9.2.2.2 + - name: cpqSm2CntlrVideoStatus + oid: 1.3.6.1.4.1.232.9.2.2.3 + type: gauge + help: Remote Insight/ Integrated Lights-Out Video Hardware Status - 1.3.6.1.4.1.232.9.2.2.3 + enum_values: + 1: other + 2: enabled + 3: disabled + - name: cpqSm2CntlrBatteryEnabled + oid: 1.3.6.1.4.1.232.9.2.2.4 + type: gauge + help: Remote Insight Battery Enabled - 1.3.6.1.4.1.232.9.2.2.4 + enum_values: + 1: other + 2: enabled + 3: disabled + 4: noBattery + - name: cpqSm2CntlrBatteryStatus + oid: 1.3.6.1.4.1.232.9.2.2.5 + type: gauge + help: Remote Insight Battery Status - 1.3.6.1.4.1.232.9.2.2.5 + enum_values: + 1: other + 2: batteryOk + 3: batteryFailed + 4: batteryDisconnected + - name: cpqSm2CntlrBatteryPercentCharged + oid: 1.3.6.1.4.1.232.9.2.2.6 + type: gauge + help: Remote Insight Battery Percent Charged - 1.3.6.1.4.1.232.9.2.2.6 + - name: cpqSm2CntlrAlertStatus + oid: 1.3.6.1.4.1.232.9.2.2.7 + type: gauge + help: Remote Insight/ Integrated Lights-Out Alerting Status - 1.3.6.1.4.1.232.9.2.2.7 + enum_values: + 1: other + 2: enabled + 3: disabled + - name: cpqSm2CntlrPendingAlerts + oid: 1.3.6.1.4.1.232.9.2.2.8 + type: gauge + help: Pending Remote Insight/ Integrated Lights-Out alerts - 1.3.6.1.4.1.232.9.2.2.8 + enum_values: + 1: other + 2: noAlertsPending + 3: alertsPending + 4: clearPendingAlerts + - name: cpqSm2CntlrSelfTestErrors + oid: 1.3.6.1.4.1.232.9.2.2.9 + type: gauge + help: Remote Insight/ Integrated Lights-Out Self Test Errors - 1.3.6.1.4.1.232.9.2.2.9 + - name: cpqSm2CntlrAgentLocation + oid: 1.3.6.1.4.1.232.9.2.2.10 + type: gauge + help: Remote Insight/ Integrated Lights-Out Agent Location - 1.3.6.1.4.1.232.9.2.2.10 + enum_values: + 1: hostOsAgent + 2: firmwareAgent + 3: remoteInsightPciFirmwareAgent + 4: enclosureFirmwareAgent + - name: cpqSm2CntlrLastDataUpdate + oid: 1.3.6.1.4.1.232.9.2.2.11 + type: OctetString + help: The date and time that the Remote Insight/ Integrated Lights-Out offline + data was last updated - 1.3.6.1.4.1.232.9.2.2.11 + - name: cpqSm2CntlrDataStatus + oid: 1.3.6.1.4.1.232.9.2.2.12 + type: gauge + help: Remote Insight/ Integrated Lights-Out Host OS Data Status - 1.3.6.1.4.1.232.9.2.2.12 + enum_values: + 1: other + 2: noData + 3: onlineData + 4: offlineData + - name: cpqSm2CntlrColdReboot + oid: 1.3.6.1.4.1.232.9.2.2.13 + type: gauge + help: 'Remote Insight/ Integrated Lights-Out Server Cold Reboot The following + values are defined: notAvailable(1) Cold reboot of the system is not available + - 1.3.6.1.4.1.232.9.2.2.13' + enum_values: + 1: notAvailable + 2: available + 3: doColdReboot + - name: cpqSm2CntlrBadLoginAttemptsThresh + oid: 1.3.6.1.4.1.232.9.2.2.14 + type: gauge + help: Maximum Unauthorized Login Attempts Threshold - 1.3.6.1.4.1.232.9.2.2.14 + - name: cpqSm2CntlrBoardSerialNumber + oid: 1.3.6.1.4.1.232.9.2.2.15 + type: DisplayString + help: Remote Insight/ Integrated Lights-Out Serial Number - 1.3.6.1.4.1.232.9.2.2.15 + - name: cpqSm2CntlrRemoteSessionStatus + oid: 1.3.6.1.4.1.232.9.2.2.16 + type: gauge + help: Remote Insight/ Integrated Lights-Out Session Status - 1.3.6.1.4.1.232.9.2.2.16 + enum_values: + 1: other + 2: active + 3: inactive + - name: cpqSm2CntlrInterfaceStatus + oid: 1.3.6.1.4.1.232.9.2.2.17 + type: gauge + help: Remote Insight/ Integrated Lights-Out Interface Status - 1.3.6.1.4.1.232.9.2.2.17 + enum_values: + 1: other + 2: ok + 3: notResponding + - name: cpqSm2CntlrSystemId + oid: 1.3.6.1.4.1.232.9.2.2.18 + type: DisplayString + help: Remote Insight/ Integrated Lights-Out System ID - 1.3.6.1.4.1.232.9.2.2.18 + - name: cpqSm2CntlrKeyboardCableStatus + oid: 1.3.6.1.4.1.232.9.2.2.19 + type: gauge + help: Remote Insight Keyboard Cable Status - 1.3.6.1.4.1.232.9.2.2.19 + enum_values: + 1: other + 2: connected + 3: disconnected + - name: cpqSm2ServerIpAddress + oid: 1.3.6.1.4.1.232.9.2.2.20 + type: InetAddressIPv4 + help: The IP address for this servers connection to the Remote Insight/ Integrated + Lights-Out - 1.3.6.1.4.1.232.9.2.2.20 + - name: cpqSm2CntlrModel + oid: 1.3.6.1.4.1.232.9.2.2.21 + type: gauge + help: Remote Insight/ Integrated Lights-Out Model - 1.3.6.1.4.1.232.9.2.2.21 + enum_values: + 1: other + 2: eisaRemoteInsightBoard + 3: pciRemoteInsightBoard + 4: pciLightsOutRemoteInsightBoard + 5: pciIntegratedLightsOutRemoteInsight + 6: pciLightsOutRemoteInsightBoardII + 7: pciIntegratedLightsOutRemoteInsight2 + 8: pciLightsOut100series + 9: pciIntegratedLightsOutRemoteInsight3 + 10: pciIntegratedLightsOutRemoteInsight4 + 11: pciIntegratedLightsOutRemoteInsight5 + - name: cpqSm2CntlrSelfTestErrorMask + oid: 1.3.6.1.4.1.232.9.2.2.22 + type: gauge + help: Remote Insight/ Integrated Lights-Out Self Test Error Mask - 1.3.6.1.4.1.232.9.2.2.22 + - name: cpqSm2CntlrMouseCableStatus + oid: 1.3.6.1.4.1.232.9.2.2.23 + type: gauge + help: Remote Insight Mouse Cable Status - 1.3.6.1.4.1.232.9.2.2.23 + enum_values: + 1: other + 2: connected + 3: disconnected + - name: cpqSm2CntlrVirtualPowerCableStatus + oid: 1.3.6.1.4.1.232.9.2.2.24 + type: gauge + help: Remote Insight Virtual Power Cable Status - 1.3.6.1.4.1.232.9.2.2.24 + enum_values: + 1: other + 2: connected + 3: disconnected + 4: notApplicable + - name: cpqSm2CntlrExternalPowerCableStatus + oid: 1.3.6.1.4.1.232.9.2.2.25 + type: gauge + help: Remote Insight External Power Cable Status - 1.3.6.1.4.1.232.9.2.2.25 + enum_values: + 1: other + 2: externallyConnected + 3: disconnected + 4: internallyConnected + 5: externallyAndInternallyConnected + 6: notApplicable + - name: cpqSm2CntlrHostGUID + oid: 1.3.6.1.4.1.232.9.2.2.26 + type: OctetString + help: The globally unique identifier of this server - 1.3.6.1.4.1.232.9.2.2.26 + - name: cpqSm2CntlriLOSecurityOverrideSwitchState + oid: 1.3.6.1.4.1.232.9.2.2.27 + type: gauge + help: Integrated Lights-Out Security Override Switch State - 1.3.6.1.4.1.232.9.2.2.27 + enum_values: + 1: notSupported + 2: set + 3: notSet + - name: cpqSm2CntlrHardwareVer + oid: 1.3.6.1.4.1.232.9.2.2.28 + type: gauge + help: Hardware Version of Remote Insight/ Integrated Lights-Out. - 1.3.6.1.4.1.232.9.2.2.28 + - name: cpqSm2CntlrAction + oid: 1.3.6.1.4.1.232.9.2.2.29 + type: gauge + help: Remote Insight/ Integrated Lights-Out Action Flags - 1.3.6.1.4.1.232.9.2.2.29 + - name: cpqSm2CntlrLicenseActive + oid: 1.3.6.1.4.1.232.9.2.2.30 + type: gauge + help: Remote Insight License State - 1.3.6.1.4.1.232.9.2.2.30 + enum_values: + 1: none + 2: iloAdvanced + 3: iloLight + 4: iloAdvancedBlade + 5: iloStandard + 6: iloEssentials + 7: iloScaleOut + 8: iloAdvancedPremiumSecurity + - name: cpqSm2CntlrLicenseKey + oid: 1.3.6.1.4.1.232.9.2.2.31 + type: DisplayString + help: iLO Active ASCII License key string - 1.3.6.1.4.1.232.9.2.2.31 + - name: cpqSm2CntlrServerPowerState + oid: 1.3.6.1.4.1.232.9.2.2.32 + type: gauge + help: The current power state for the server - 1.3.6.1.4.1.232.9.2.2.32 + enum_values: + 1: unknown + 2: poweredOff + 3: poweredOn + 4: insufficientPowerOrPowerOnDenied + - name: cpqSm2CntlrSysAutoShutdownCause + oid: 1.3.6.1.4.1.232.9.2.2.33 + type: gauge + help: Indicate the reason for triggering system auto shutdown or cancelling + auto shutdown. - 1.3.6.1.4.1.232.9.2.2.33 + enum_values: + 1: fanFailure + 2: overheatCondition + 3: vrmFailure + 4: powerSupplyFailure + 5: systemRunningOnBatteryBackupUnit + 129: aborted + 130: fanFailureAborted + 131: overheatAborted + 132: vrmFailureAborted + 133: softPowerDown + 134: softwareAutomaticServerRecovery + 135: powerSupplyFailureAborted + - name: cpqSm2CntlrSecurityState + oid: 1.3.6.1.4.1.232.9.2.2.34 + type: gauge + help: Indicate security state - 1.3.6.1.4.1.232.9.2.2.34 + enum_values: + 1: factory + 2: wipe + 3: production + 4: highSecurity + 5: fips + 6: cnsa + - name: cpqSm2WDTimerType + oid: 1.3.6.1.4.1.232.9.2.2.35 + type: gauge + help: Indicate the watchdog timer type. - 1.3.6.1.4.1.232.9.2.2.35 + enum_values: + 1: unknown + 2: ipmi + - name: cpqSm2WDTimerTimeoutDetails + oid: 1.3.6.1.4.1.232.9.2.2.36 + type: DisplayString + help: Indicate the watchdog timer timeout action and timer details. - 1.3.6.1.4.1.232.9.2.2.36 + - name: cpqSm2CntlrOverallSecStatus + oid: 1.3.6.1.4.1.232.9.2.2.37 + type: gauge + help: The field indicates the overall security status. - 1.3.6.1.4.1.232.9.2.2.37 + enum_values: + 1: Ok + 2: Risk + 3: Ignored hrDevice: walk: - 1.3.6.1.2.1.25.3 From 5e3f68c02c358ded0584863feb80334ea9a15d25 Mon Sep 17 00:00:00 2001 From: Sebastian Schubert Date: Thu, 17 Oct 2024 22:28:14 +0200 Subject: [PATCH 18/25] updated generator doc; fixes #1268 Signed-off-by: Sebastian Schubert --- generator/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/generator/README.md b/generator/README.md index 4c3fd1ed..126f252b 100644 --- a/generator/README.md +++ b/generator/README.md @@ -121,6 +121,14 @@ modules: retries: 3 # How many times to retry a failed request, defaults to 3. timeout: 5s # Timeout for each individual SNMP request, defaults to 5s. + allow_nonincreasing_oids: false # Do not check whether the returned OIDs are increasing, defaults to false + # Some agents return OIDs out of order, but can complete the walk anyway. + # -Cc option of NetSNMP + + use_unconnected_udp_socket: false # Use a unconnected udp socket, defaults to false + # Some multi-homed network gear isn't smart enough to send SNMP responses + # from the address it received the requests on. To work around that, + # we can open unconnected UDP socket and use sendto/recvfrom lookups: # Optional list of lookups to perform. # The default for `keep_source_indexes` is false. Indexes must be unique for this option to be used. From c2b6a571745da1ba0e6cd59ae96de7a7fa09ed65 Mon Sep 17 00:00:00 2001 From: dsgnr Date: Fri, 18 Oct 2024 13:51:05 +0100 Subject: [PATCH 19/25] Descriptions for HPE OIDs Signed-off-by: dsgnr --- generator/generator.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/generator/generator.yml b/generator/generator.yml index e87cc5b1..03fe41f3 100644 --- a/generator/generator.yml +++ b/generator/generator.yml @@ -67,20 +67,20 @@ modules: hpe: walk: - sysUpTime - - 1.3.6.1.4.1.232.1.2.2.1.1 - - 1.3.6.1.4.1.232.11 - - 1.3.6.1.4.1.232.14 - - 1.3.6.1.4.1.232.3.2.2.1 - - 1.3.6.1.4.1.232.3.2.3.1.1 - - 1.3.6.1.4.1.232.3.2.5.1.1 - - 1.3.6.1.4.1.232.5 - - 1.3.6.1.4.1.232.6.2.14.13.1.6 - - 1.3.6.1.4.1.232.6.2.15 - - 1.3.6.1.4.1.232.6.2.16 - - 1.3.6.1.4.1.232.6.2.17 - - 1.3.6.1.4.1.232.6.2.6.8.1 - - 1.3.6.1.4.1.232.6.2.9 - - 1.3.6.1.4.1.232.9.2.2 + - 1.3.6.1.4.1.232.1.2.2.1.1 # CPU + - 1.3.6.1.4.1.232.11 # Firmware version + - 1.3.6.1.4.1.232.14 # Asmd agent IDE/SATA + - 1.3.6.1.4.1.232.3.2.2.1 # RAID storage controller + - 1.3.6.1.4.1.232.3.2.3.1.1 # Logical drives + - 1.3.6.1.4.1.232.3.2.5.1.1 # Physical drives + - 1.3.6.1.4.1.232.5 # Asmd agent SCSI disks + - 1.3.6.1.4.1.232.6.2.14.13.1.6 # Memory size only + - 1.3.6.1.4.1.232.6.2.15 # Power meter + - 1.3.6.1.4.1.232.6.2.16 # BIOS state + - 1.3.6.1.4.1.232.6.2.17 # RAID controller battery + - 1.3.6.1.4.1.232.6.2.6.8.1 # Temperatures + - 1.3.6.1.4.1.232.6.2.9 # Power supply + - 1.3.6.1.4.1.232.9.2.2 # ILO Module # APC/Schneider UPS Network Management Cards # From a411322027cc4fb6c9b5a4b791dc86f8af63944d Mon Sep 17 00:00:00 2001 From: SuperQ Date: Tue, 29 Oct 2024 10:29:17 +0100 Subject: [PATCH 20/25] Improve config error message Improve config parsing error message for cases where the generator is built from a commit that supports newer features than the deployed exporter. Signed-off-by: SuperQ --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index eee19722..83ddfdd9 100644 --- a/main.go +++ b/main.go @@ -217,7 +217,8 @@ func main() { err := sc.ReloadConfig(*configFile, *expandEnvVars) if err != nil { logger.Error("Error parsing config file", "err", err) - logger.Error("Possible old config file, see https://github.com/prometheus/snmp_exporter/blob/main/auth-split-migration.md") + logger.Error("Possible version missmatch between generator and snmp_exporter. Make sure generator and snmp_exporter are the same version.") + logger.Error("See also: https://github.com/prometheus/snmp_exporter/blob/main/auth-split-migration.md") os.Exit(1) } From 493176b0f2ab1100e79f31e045b8f7462ece6088 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 02:11:20 +0000 Subject: [PATCH 21/25] Bump github.com/prometheus/common from 0.60.0 to 0.60.1 Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.60.0 to 0.60.1. - [Release notes](https://github.com/prometheus/common/releases) - [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md) - [Commits](https://github.com/prometheus/common/compare/v0.60.0...v0.60.1) --- updated-dependencies: - dependency-name: github.com/prometheus/common dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 8c17accc..897e8e26 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/itchyny/timefmt-go v0.1.6 github.com/prometheus/client_golang v1.20.4 github.com/prometheus/client_model v0.6.1 - github.com/prometheus/common v0.60.0 + github.com/prometheus/common v0.60.1 github.com/prometheus/exporter-toolkit v0.13.0 gopkg.in/yaml.v2 v2.4.0 ) diff --git a/go.sum b/go.sum index c2ea4e23..da440844 100644 --- a/go.sum +++ b/go.sum @@ -42,8 +42,8 @@ github.com/prometheus/client_golang v1.20.4 h1:Tgh3Yr67PaOv/uTqloMsCEdeuFTatm5zI github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= -github.com/prometheus/common v0.60.0 h1:+V9PAREWNvJMAuJ1x1BaWl9dewMW4YrHZQbx0sJNllA= -github.com/prometheus/common v0.60.0/go.mod h1:h0LYf1R1deLSKtD4Vdg8gy4RuOvENW2J/h19V5NADQw= +github.com/prometheus/common v0.60.1 h1:FUas6GcOw66yB/73KC+BOZoFJmbo/1pojoILArPAaSc= +github.com/prometheus/common v0.60.1/go.mod h1:h0LYf1R1deLSKtD4Vdg8gy4RuOvENW2J/h19V5NADQw= github.com/prometheus/exporter-toolkit v0.13.0 h1:lmA0Q+8IaXgmFRKw09RldZmZdnvu9wwcDLIXGmTPw1c= github.com/prometheus/exporter-toolkit v0.13.0/go.mod h1:2uop99EZl80KdXhv/MxVI2181fMcwlsumFOqBecGkG0= github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= From 2be1a536e110a2d786ed5db02ad06624a3fee748 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 02:11:26 +0000 Subject: [PATCH 22/25] Bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.4 to 1.20.5. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.20.4...v1.20.5) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 8c17accc..1dc05821 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/alecthomas/kingpin/v2 v2.4.0 github.com/gosnmp/gosnmp v1.38.0 github.com/itchyny/timefmt-go v0.1.6 - github.com/prometheus/client_golang v1.20.4 + github.com/prometheus/client_golang v1.20.5 github.com/prometheus/client_model v0.6.1 github.com/prometheus/common v0.60.0 github.com/prometheus/exporter-toolkit v0.13.0 diff --git a/go.sum b/go.sum index c2ea4e23..4b1c2aa3 100644 --- a/go.sum +++ b/go.sum @@ -38,8 +38,8 @@ github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+ github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v1.20.4 h1:Tgh3Yr67PaOv/uTqloMsCEdeuFTatm5zIq5+qNN23vI= -github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= +github.com/prometheus/client_golang v1.20.5 h1:cxppBPuYhUnsO6yo/aoRol4L7q7UFfdm+bR9r+8l63Y= +github.com/prometheus/client_golang v1.20.5/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.60.0 h1:+V9PAREWNvJMAuJ1x1BaWl9dewMW4YrHZQbx0sJNllA= From c993bae76c984dd323fae38d2af0f66b2000ca65 Mon Sep 17 00:00:00 2001 From: prombot Date: Tue, 5 Nov 2024 17:48:37 +0000 Subject: [PATCH 23/25] Update common Prometheus files Signed-off-by: prombot --- .github/workflows/golangci-lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 1c099932..7183091a 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -26,14 +26,14 @@ jobs: - name: Checkout repository uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Install Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version: 1.23.x - name: Install snmp_exporter/generator dependencies run: sudo apt-get update && sudo apt-get -y install libsnmp-dev if: github.repository == 'prometheus/snmp_exporter' - name: Lint - uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0 + uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 with: args: --verbose version: v1.60.2 From 842b1fe8236426a35d282e79b421843ec433a2f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 17:06:17 +0000 Subject: [PATCH 24/25] Bump github.com/prometheus/exporter-toolkit from 0.13.0 to 0.13.1 Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit) from 0.13.0 to 0.13.1. - [Release notes](https://github.com/prometheus/exporter-toolkit/releases) - [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md) - [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.13.0...v0.13.1) --- updated-dependencies: - dependency-name: github.com/prometheus/exporter-toolkit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 8 ++++---- go.sum | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index 897e8e26..17206f45 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/prometheus/client_golang v1.20.4 github.com/prometheus/client_model v0.6.1 github.com/prometheus/common v0.60.1 - github.com/prometheus/exporter-toolkit v0.13.0 + github.com/prometheus/exporter-toolkit v0.13.1 gopkg.in/yaml.v2 v2.4.0 ) @@ -28,11 +28,11 @@ require ( github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect github.com/prometheus/procfs v0.15.1 // indirect github.com/xhit/go-str2duration/v2 v2.1.0 // indirect - golang.org/x/crypto v0.27.0 // indirect + golang.org/x/crypto v0.28.0 // indirect golang.org/x/net v0.29.0 // indirect golang.org/x/oauth2 v0.23.0 // indirect golang.org/x/sync v0.8.0 // indirect - golang.org/x/sys v0.25.0 // indirect - golang.org/x/text v0.18.0 // indirect + golang.org/x/sys v0.26.0 // indirect + golang.org/x/text v0.19.0 // indirect google.golang.org/protobuf v1.34.2 // indirect ) diff --git a/go.sum b/go.sum index da440844..cb0d3579 100644 --- a/go.sum +++ b/go.sum @@ -44,8 +44,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.60.1 h1:FUas6GcOw66yB/73KC+BOZoFJmbo/1pojoILArPAaSc= github.com/prometheus/common v0.60.1/go.mod h1:h0LYf1R1deLSKtD4Vdg8gy4RuOvENW2J/h19V5NADQw= -github.com/prometheus/exporter-toolkit v0.13.0 h1:lmA0Q+8IaXgmFRKw09RldZmZdnvu9wwcDLIXGmTPw1c= -github.com/prometheus/exporter-toolkit v0.13.0/go.mod h1:2uop99EZl80KdXhv/MxVI2181fMcwlsumFOqBecGkG0= +github.com/prometheus/exporter-toolkit v0.13.1 h1:Evsh0gWQo2bdOHlnz9+0Nm7/OFfIwhE2Ws4A2jIlR04= +github.com/prometheus/exporter-toolkit v0.13.1/go.mod h1:ujdv2YIOxtdFxxqtloLpbqmxd5J0Le6IITUvIRSWjj0= github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= @@ -56,18 +56,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc= github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= -golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= -golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= +golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= +golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs= golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= -golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= +golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM= +golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From d65a5171f4b524ce1a7bafda7aee552377b3ad24 Mon Sep 17 00:00:00 2001 From: Nick Pratley Date: Thu, 7 Nov 2024 12:33:48 +1100 Subject: [PATCH 25/25] fix: merge upstream, add aggregate to labels --- enricher/enricher.go | 8 ++++++++ go.mod | 6 +++++- go.sum | 14 ++++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/enricher/enricher.go b/enricher/enricher.go index 20473b35..8ad1fb85 100644 --- a/enricher/enricher.go +++ b/enricher/enricher.go @@ -66,6 +66,13 @@ func (e *Enricher) Enrich(target string, labels map[string]string) map[string]st } } + aggregate := "true" + + // If the ifName contains "Port-channel", or "Port-Channel", then we don't want to aggregate it + if strings.Contains(ifName, "Port-channel") || strings.Contains(ifName, "Port-Channel") { + aggregate = "false" + } + if port != nil { member := "Anonymous Participant" pubgraphs := "0" @@ -87,6 +94,7 @@ func (e *Enricher) Enrich(target string, labels map[string]string) map[string]st labels["facility"] = port.Facility.Name labels["industry"] = industry labels["public"] = pubgraphs + labels["aggregate"] = aggregate labels["join"] = port.Switch.Name + "/" + ifName } diff --git a/go.mod b/go.mod index 0c98069c..655a3fb2 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/prometheus/snmp_exporter -go 1.21 +go 1.22 + +toolchain go1.22.4 require ( github.com/alecthomas/kingpin/v2 v2.4.0 @@ -16,10 +18,12 @@ require ( ) require ( + github.com/Khan/genqlient v0.7.0 // indirect github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/coreos/go-systemd/v22 v22.5.0 // indirect + github.com/go-logfmt/logfmt v0.5.1 // indirect github.com/jpillora/backoff v1.0.0 // indirect github.com/klauspost/compress v1.17.9 // indirect github.com/mdlayher/socket v0.4.1 // indirect diff --git a/go.sum b/go.sum index 918627c0..b1d01f1d 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,11 @@ +github.com/Khan/genqlient v0.7.0 h1:GZ1meyRnzcDTK48EjqB8t3bcfYvHArCUUvgOwpz1D4w= +github.com/Khan/genqlient v0.7.0/go.mod h1:HNyy3wZvuYwmW3Y7mkoQLZsa/R5n5yIRajS1kPBvSFM= github.com/alecthomas/kingpin/v2 v2.4.0 h1:f48lwail6p8zpO1bC4TxtqACaGqHYA22qkHjHpqDjYY= github.com/alecthomas/kingpin/v2 v2.4.0/go.mod h1:0gyi0zQnjuFk8xrkNKamJoyUo382HRL7ATRpFZCw6tE= github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc= github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= +github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ= +github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= @@ -11,11 +15,17 @@ github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSV github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU= +github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= +github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= +github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/gosnmp/gosnmp v1.38.0 h1:I5ZOMR8kb0DXAFg/88ACurnuwGwYkXWq3eLpJPHMEYc= github.com/gosnmp/gosnmp v1.38.0/go.mod h1:FE+PEZvKrFz9afP9ii1W3cprXuVZ17ypCcyyfYuu5LY= +github.com/iaa-inc/gosdk v1.0.11 h1:i7afDhRTwUkhHKq49XHkASlxR/zOkNnDwzZCcejtS9s= +github.com/iaa-inc/gosdk v1.0.11/go.mod h1:tbrlzwBZpnmbvA0Ier7hQTP6cEv+dRvnLxlgI4wrg8A= github.com/itchyny/timefmt-go v0.1.6 h1:ia3s54iciXDdzWzwaVKXZPbiXzxxnv1SPGFfM/myJ5Q= github.com/itchyny/timefmt-go v0.1.6/go.mod h1:RRDZYC5s9ErkjQvTvvU7keJjxUYzIISJGxm9/mAERQg= github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA= @@ -50,10 +60,14 @@ github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0leargg github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= +github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/vektah/gqlparser/v2 v2.5.16 h1:1gcmLTvs3JLKXckwCwlUagVn/IlV2bwqle0vJ0vy5p8= +github.com/vektah/gqlparser/v2 v2.5.16/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww= github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc= github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw=