@cryptotaxi247 / netdata-1 / commits / afc02b385

SNMP: new version of families Cisco pass (#20432)

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

Fotis Voutsas committed Jun 29, 2025 at 07:47 UTC afc02b385398d69f8adf4c28d59d9f206bedc89a
39 files changed +2641 -1873
src/go/plugin/go.d/collector/snmp/charts.go
+6 -2
@@ -433,10 +433,14 @@ func (c *Collector) addProfileTableMetricChart(m ddsnmp.Metric) {
433 }
434
435 func dimAlgoFromDdSnmpType(m ddsnmp.Metric) module.DimAlgo {
436 - if m.MetricType == ddprofiledefinition.ProfileMetricTypeGauge {
436 + switch m.MetricType {
437 + case ddprofiledefinition.ProfileMetricTypeGauge,
438 + ddprofiledefinition.ProfileMetricTypeMonotonicCount,
439 + ddprofiledefinition.ProfileMetricTypeMonotonicCountAndRate:
440 return module.Absolute
441 + default:
442 + return module.Incremental
443 }
439 - return module.Incremental
444 }
445
446 func cleanIfaceName(name string) string {
src/go/plugin/go.d/collector/snmp/collect.go
+10 -4
@@ -5,6 +5,7 @@ package snmp
5 import (
6 "errors"
7 "fmt"
8 + "log/slog"
9 "path/filepath"
10 "slices"
11 "strings"
@@ -12,6 +13,7 @@ import (
13 "github.com/google/uuid"
14 "github.com/gosnmp/gosnmp"
15
16 + "github.com/netdata/netdata/go/plugins/logger"
17 "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/discovery/sd/discoverer/snmpsd"
18 "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/vnodes"
19 "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/snmp/ddsnmp"
@@ -122,13 +124,17 @@ func (c *Collector) setupVnode(si *snmpsd.SysInfo) *vnodes.VirtualNode {
124
125 func (c *Collector) setupProfiles() []*ddsnmp.Profile {
126 snmpProfiles := ddsnmp.FindProfiles(c.sysInfo.SysObjectID)
125 - var names []string
127 + var profInfo []string
128 for _, prof := range snmpProfiles {
127 - name := strings.TrimSuffix(filepath.Base(prof.SourceFile), filepath.Ext(prof.SourceFile))
128 - names = append(names, name)
129 + if logger.Level.Enabled(slog.LevelDebug) {
130 + profInfo = append(profInfo, prof.SourceTree())
131 + } else {
132 + name := strings.TrimSuffix(filepath.Base(prof.SourceFile), filepath.Ext(prof.SourceFile))
133 + profInfo = append(profInfo, name)
134 + }
135 }
136 c.Infof("device matched %d profile(s): %s (sysObjectID: %s)",
131 - len(snmpProfiles), strings.Join(names, ", "), c.sysInfo.SysObjectID)
137 + len(snmpProfiles), strings.Join(profInfo, ", "), c.sysInfo.SysObjectID)
138 return snmpProfiles
139 }
140
src/go/plugin/go.d/collector/snmp/ddsnmp/load.go
+9 -1
@@ -127,7 +127,8 @@ func loadProfileWithExtendsMap(filename string, extendsPaths multipath.MultiPath
127 prof.SourceFile, _ = filepath.Abs(filename)
128 }
129
130 - // Merge extended profiles here
130 + prof.extensionHierarchy = make([]*extensionInfo, 0, len(prof.Definition.Extends))
131 +
132 for _, name := range prof.Definition.Extends {
133 if slices.Contains(stack, name) {
134 return nil, fmt.Errorf("circular extends detected: '%s' already included (in file: %s)", name, prof.SourceFile)
@@ -143,6 +144,13 @@ func loadProfileWithExtendsMap(filename string, extendsPaths multipath.MultiPath
144 return nil, err
145 }
146
147 + extInfo := &extensionInfo{
148 + name: name,
149 + sourceFile: mergedBase.SourceFile,
150 + extensions: mergedBase.extensionHierarchy,
151 + }
152 + prof.extensionHierarchy = append(prof.extensionHierarchy, extInfo)
153 +
154 prof.merge(mergedBase)
155 }
156
src/go/plugin/go.d/collector/snmp/ddsnmp/profile.go
+75 -9
@@ -5,6 +5,7 @@ package ddsnmp
5 import (
6 "errors"
7 "fmt"
8 + "path/filepath"
9 "slices"
10 "sort"
11 "strings"
@@ -40,16 +41,76 @@ func FindProfiles(sysObjId string) []*Profile {
41 return profiles
42 }
43
43 -type Profile struct {
44 - SourceFile string `yaml:"-"`
45 - Definition *ddprofiledefinition.ProfileDefinition `yaml:",inline"`
44 +type (
45 + Profile struct {
46 + SourceFile string `yaml:"-"`
47 + Definition *ddprofiledefinition.ProfileDefinition `yaml:",inline"`
48 + extensionHierarchy []*extensionInfo
49 + }
50 + // extensionInfo represents a single extension in the hierarchy
51 + extensionInfo struct {
52 + name string // Extension name (e.g., "_base.yaml")
53 + sourceFile string // Full path to the extension file
54 + extensions []*extensionInfo // Nested extensions
55 + }
56 +)
57 +
58 +// SourceTree returns a string representation of the profile source and its extension hierarchy
59 +// Format: "root: [intermediate1: [base], intermediate2]"
60 +func (p *Profile) SourceTree() string {
61 + rootName := stripFileNameExt(p.SourceFile)
62 +
63 + if len(p.extensionHierarchy) == 0 {
64 + return rootName
65 + }
66 +
67 + extensions := formatExtensions(p.extensionHierarchy)
68 + return fmt.Sprintf("%s: %s", rootName, extensions)
69 +}
70 +
71 +func formatExtensions(extensions []*extensionInfo) string {
72 + if len(extensions) == 0 {
73 + return "[]"
74 + }
75 +
76 + var items []string
77 + for _, ext := range extensions {
78 + name := stripFileNameExt(ext.sourceFile)
79 + if len(ext.extensions) > 0 {
80 + items = append(items, fmt.Sprintf("%s: %s", name, formatExtensions(ext.extensions)))
81 + } else {
82 + items = append(items, name)
83 + }
84 + }
85 +
86 + return fmt.Sprintf("[%s]", strings.Join(items, ", "))
87 }
88
89 func (p *Profile) clone() *Profile {
49 - return &Profile{
90 + cloned := &Profile{
91 SourceFile: p.SourceFile,
92 Definition: p.Definition.Clone(),
93 }
94 + if p.extensionHierarchy != nil {
95 + cloned.extensionHierarchy = cloneExtensionHierarchy(p.extensionHierarchy)
96 + }
97 + return cloned
98 +}
99 +
100 +func cloneExtensionHierarchy(extensions []*extensionInfo) []*extensionInfo {
101 + if extensions == nil {
102 + return nil
103 + }
104 +
105 + cloned := make([]*extensionInfo, len(extensions))
106 + for i, ext := range extensions {
107 + cloned[i] = &extensionInfo{
108 + name: ext.name,
109 + sourceFile: ext.sourceFile,
110 + extensions: cloneExtensionHierarchy(ext.extensions),
111 + }
112 + }
113 + return cloned
114 }
115
116 func (p *Profile) merge(base *Profile) {
@@ -66,10 +127,10 @@ func (p *Profile) mergeMetrics(base *Profile) {
127 for _, m := range p.Definition.Metrics {
128 switch {
129 case m.IsScalar():
69 - seen[m.Symbol.Name] = true
130 + seen[m.Symbol.Name+"|"+m.Symbol.OID] = true
131 case m.IsColumn():
71 - for _, symbol := range m.Symbols {
72 - seen[symbol.Name] = true
132 + for _, sym := range m.Symbols {
133 + seen[sym.Name] = true
134 }
135 }
136 }
@@ -77,9 +138,10 @@ func (p *Profile) mergeMetrics(base *Profile) {
138 for _, bm := range base.Definition.Metrics {
139 switch {
140 case bm.IsScalar():
80 - if !seen[bm.Symbol.Name] {
141 + key := bm.Symbol.Name + "|" + bm.Symbol.OID
142 + if !seen[key] {
143 p.Definition.Metrics = append(p.Definition.Metrics, bm)
82 - seen[bm.Symbol.Name] = true
144 + seen[key] = true
145 }
146 case bm.IsColumn():
147 bm.Symbols = slices.DeleteFunc(bm.Symbols, func(sym ddprofiledefinition.SymbolConfig) bool {
@@ -265,3 +327,7 @@ func generateMetricKey(metric ddprofiledefinition.MetricsConfig) string {
327
328 return strings.Join(parts, "|")
329 }
330 +
331 +func stripFileNameExt(path string) string {
332 + return strings.TrimSuffix(filepath.Base(path), filepath.Ext(path))
333 +}
src/go/plugin/go.d/collector/snmp/ddsnmp/profile_test.go
+523
@@ -3,6 +3,7 @@
3 package ddsnmp
4
5 import (
6 + "fmt"
7 "os"
8 "path/filepath"
9 "slices"
@@ -1056,6 +1057,528 @@ func Test_ProfileExtends_UserOverride(t *testing.T) {
1057 assert.Equal(t, "sysName", prof.Definition.Metrics[1].Symbol.Name)
1058 }
1059
1060 +func TestProfile_ExtensionHierarchy(t *testing.T) {
1061 + tmp := t.TempDir()
1062 +
1063 + // Create a base profile
1064 + base := filepath.Join(tmp, "_base.yaml")
1065 + writeYAML(t, base, ddprofiledefinition.ProfileDefinition{
1066 + Metrics: []ddprofiledefinition.MetricsConfig{
1067 + {
1068 + Symbol: ddprofiledefinition.SymbolConfig{
1069 + OID: "1.3.6.1.2.1.1.3.0",
1070 + Name: "sysUpTime",
1071 + },
1072 + },
1073 + },
1074 + })
1075 +
1076 + // Create an intermediate profile
1077 + intermediate := filepath.Join(tmp, "_intermediate.yaml")
1078 + writeYAML(t, intermediate, map[string]any{
1079 + "extends": []string{"_base.yaml"},
1080 + "metrics": []map[string]any{
1081 + {
1082 + "symbol": map[string]string{
1083 + "OID": "1.3.6.1.2.1.1.5.0",
1084 + "name": "sysName",
1085 + },
1086 + },
1087 + },
1088 + })
1089 +
1090 + // Create the main profile
1091 + main := filepath.Join(tmp, "device.yaml")
1092 + writeYAML(t, main, map[string]any{
1093 + "extends": []string{"_intermediate.yaml"},
1094 + "metrics": []map[string]any{
1095 + {
1096 + "symbol": map[string]string{
1097 + "OID": "1.3.6.1.2.1.1.1.0",
1098 + "name": "sysDescr",
1099 + },
1100 + },
1101 + },
1102 + })
1103 +
1104 + paths := multipath.New(tmp)
1105 + prof, err := loadProfile(main, paths)
1106 + require.NoError(t, err)
1107 +
1108 + // Check that we have the extension hierarchy
1109 + require.Len(t, prof.extensionHierarchy, 1)
1110 + assert.Equal(t, "_intermediate.yaml", prof.extensionHierarchy[0].name)
1111 +
1112 + // Check nested extensions
1113 + require.Len(t, prof.extensionHierarchy[0].extensions, 1)
1114 + assert.Equal(t, "_base.yaml", prof.extensionHierarchy[0].extensions[0].name)
1115 +
1116 + // Check that all metrics were merged
1117 + require.Len(t, prof.Definition.Metrics, 3)
1118 +
1119 + // Test helper methods
1120 + allFiles := prof.getAllExtendedFiles()
1121 + fmt.Println(allFiles)
1122 + assert.Len(t, allFiles, 2)
1123 +
1124 + depth := prof.getExtensionDepth()
1125 + assert.Equal(t, 2, depth)
1126 +
1127 + assert.False(t, prof.hasCircularDependency())
1128 +}
1129 +
1130 +func TestProfile_MultipleExtends(t *testing.T) {
1131 + tmp := t.TempDir()
1132 +
1133 + // Create base profiles
1134 + base1 := filepath.Join(tmp, "_base1.yaml")
1135 + writeYAML(t, base1, ddprofiledefinition.ProfileDefinition{
1136 + Metrics: []ddprofiledefinition.MetricsConfig{
1137 + {
1138 + Symbol: ddprofiledefinition.SymbolConfig{
1139 + OID: "1.3.6.1.2.1.1.1.0",
1140 + Name: "sysDescr",
1141 + },
1142 + },
1143 + },
1144 + })
1145 +
1146 + base2 := filepath.Join(tmp, "_base2.yaml")
1147 + writeYAML(t, base2, ddprofiledefinition.ProfileDefinition{
1148 + Metrics: []ddprofiledefinition.MetricsConfig{
1149 + {
1150 + Symbol: ddprofiledefinition.SymbolConfig{
1151 + OID: "1.3.6.1.2.1.1.5.0",
1152 + Name: "sysName",
1153 + },
1154 + },
1155 + },
1156 + })
1157 +
1158 + // Main profile extending both
1159 + main := filepath.Join(tmp, "device.yaml")
1160 + writeYAML(t, main, map[string]any{
1161 + "extends": []string{"_base1.yaml", "_base2.yaml"},
1162 + })
1163 +
1164 + paths := multipath.New(tmp)
1165 + prof, err := loadProfile(main, paths)
1166 + require.NoError(t, err)
1167 +
1168 + // Check that we have both extensions
1169 + require.Len(t, prof.extensionHierarchy, 2)
1170 + assert.Equal(t, "_base1.yaml", prof.extensionHierarchy[0].name)
1171 + assert.Equal(t, "_base2.yaml", prof.extensionHierarchy[1].name)
1172 +
1173 + // Both should have no nested extensions
1174 + assert.Len(t, prof.extensionHierarchy[0].extensions, 0)
1175 + assert.Len(t, prof.extensionHierarchy[1].extensions, 0)
1176 +
1177 + // Check all files
1178 + allFiles := prof.getAllExtendedFiles()
1179 + assert.Len(t, allFiles, 2)
1180 +}
1181 +
1182 +func TestProfile_ComplexHierarchy(t *testing.T) {
1183 + tmp := t.TempDir()
1184 +
1185 + // Create a complex hierarchy:
1186 + // device.yaml -> [_vendor.yaml, _generic.yaml]
1187 + // _vendor.yaml -> _base.yaml
1188 + // _generic.yaml -> _base.yaml
1189 +
1190 + base := filepath.Join(tmp, "_base.yaml")
1191 + writeYAML(t, base, ddprofiledefinition.ProfileDefinition{
1192 + Metrics: []ddprofiledefinition.MetricsConfig{
1193 + {
1194 + Symbol: ddprofiledefinition.SymbolConfig{
1195 + OID: "1.3.6.1.2.1.1.3.0",
1196 + Name: "sysUpTime",
1197 + },
1198 + },
1199 + },
1200 + })
1201 +
1202 + vendor := filepath.Join(tmp, "_vendor.yaml")
1203 + writeYAML(t, vendor, map[string]any{
1204 + "extends": []string{"_base.yaml"},
1205 + "metrics": []map[string]any{
1206 + {
1207 + "symbol": map[string]string{
1208 + "OID": "1.3.6.1.4.1.9.9.109.1.1.1.1.7",
1209 + "name": "cpmCPUTotal5minRev",
1210 + },
1211 + },
1212 + },
1213 + })
1214 +
1215 + generic := filepath.Join(tmp, "_generic.yaml")
1216 + writeYAML(t, generic, map[string]any{
1217 + "extends": []string{"_base.yaml"},
1218 + "metrics": []map[string]any{
1219 + {
1220 + "table": map[string]string{
1221 + "OID": "1.3.6.1.2.1.2.2",
1222 + "name": "ifTable",
1223 + },
1224 + "symbols": []map[string]string{
1225 + {
1226 + "OID": "1.3.6.1.2.1.2.2.1.10",
1227 + "name": "ifInOctets",
1228 + },
1229 + },
1230 + },
1231 + },
1232 + })
1233 +
1234 + device := filepath.Join(tmp, "device.yaml")
1235 + writeYAML(t, device, map[string]any{
1236 + "extends": []string{"_vendor.yaml", "_generic.yaml"},
1237 + "metrics": []map[string]any{
1238 + {
1239 + "symbol": map[string]string{
1240 + "OID": "1.3.6.1.2.1.1.1.0",
1241 + "name": "sysDescr",
1242 + },
1243 + },
1244 + },
1245 + })
1246 +
1247 + paths := multipath.New(tmp)
1248 + prof, err := loadProfile(device, paths)
1249 + require.NoError(t, err)
1250 +
1251 + // Check hierarchy
1252 + require.Len(t, prof.extensionHierarchy, 2)
1253 +
1254 + // Both vendor and generic should have base as their extension
1255 + require.Len(t, prof.extensionHierarchy[0].extensions, 1)
1256 + require.Len(t, prof.extensionHierarchy[1].extensions, 1)
1257 + assert.Equal(t, "_base.yaml", prof.extensionHierarchy[0].extensions[0].name)
1258 + assert.Equal(t, "_base.yaml", prof.extensionHierarchy[1].extensions[0].name)
1259 +
1260 + // Check depth
1261 + assert.Equal(t, 2, prof.getExtensionDepth())
1262 +
1263 + // Check that base.yaml appears only once in the flat list
1264 + allFiles := prof.getAllExtendedFiles()
1265 + baseCount := 0
1266 + for _, f := range allFiles {
1267 + if filepath.Base(f) == "_base.yaml" {
1268 + baseCount++
1269 + }
1270 + }
1271 + assert.Equal(t, 1, baseCount, "base.yaml should appear only once in the flat list")
1272 +}
1273 +
1274 +func TestProfile_Clone(t *testing.T) {
1275 + tmp := t.TempDir()
1276 +
1277 + base := filepath.Join(tmp, "_base.yaml")
1278 + writeYAML(t, base, ddprofiledefinition.ProfileDefinition{
1279 + Metrics: []ddprofiledefinition.MetricsConfig{
1280 + {
1281 + Symbol: ddprofiledefinition.SymbolConfig{
1282 + OID: "1.3.6.1.2.1.1.3.0",
1283 + Name: "sysUpTime",
1284 + },
1285 + },
1286 + },
1287 + })
1288 +
1289 + main := filepath.Join(tmp, "device.yaml")
1290 + writeYAML(t, main, map[string]any{
1291 + "extends": []string{"_base.yaml"},
1292 + })
1293 +
1294 + paths := multipath.New(tmp)
1295 + original, err := loadProfile(main, paths)
1296 + require.NoError(t, err)
1297 +
1298 + // Clone the profile
1299 + cloned := original.clone()
1300 +
1301 + // Verify the clone is independent
1302 + assert.Equal(t, original.SourceFile, cloned.SourceFile)
1303 + assert.Len(t, cloned.extensionHierarchy, 1)
1304 +
1305 + // Modify the original
1306 + original.extensionHierarchy[0].name = "modified"
1307 +
1308 + // Check that clone wasn't affected
1309 + assert.Equal(t, "_base.yaml", cloned.extensionHierarchy[0].name)
1310 +}
1311 +
1312 +func TestProfile_SourceTree(t *testing.T) {
1313 + tests := map[string]struct {
1314 + setup func(t *testing.T, tmp string) string
1315 + expected string
1316 + }{
1317 + "no extensions": {
1318 + setup: func(t *testing.T, tmp string) string {
1319 + device := filepath.Join(tmp, "device.yaml")
1320 + writeYAML(t, device, ddprofiledefinition.ProfileDefinition{
1321 + Metrics: []ddprofiledefinition.MetricsConfig{{
1322 + Symbol: ddprofiledefinition.SymbolConfig{
1323 + OID: "1.3.6.1.2.1.1.1.0",
1324 + Name: "sysDescr",
1325 + },
1326 + }},
1327 + })
1328 + return device
1329 + },
1330 + expected: "device",
1331 + },
1332 + "single extension": {
1333 + setup: func(t *testing.T, tmp string) string {
1334 + base := filepath.Join(tmp, "_base.yaml")
1335 + writeYAML(t, base, ddprofiledefinition.ProfileDefinition{})
1336 +
1337 + device := filepath.Join(tmp, "device.yaml")
1338 + writeYAML(t, device, map[string]any{
1339 + "extends": []string{"_base.yaml"},
1340 + })
1341 + return device
1342 + },
1343 + expected: "device: [_base]",
1344 + },
1345 + "two direct extensions": {
1346 + setup: func(t *testing.T, tmp string) string {
1347 + base1 := filepath.Join(tmp, "_base1.yaml")
1348 + writeYAML(t, base1, ddprofiledefinition.ProfileDefinition{})
1349 +
1350 + base2 := filepath.Join(tmp, "_base2.yaml")
1351 + writeYAML(t, base2, ddprofiledefinition.ProfileDefinition{})
1352 +
1353 + device := filepath.Join(tmp, "device.yaml")
1354 + writeYAML(t, device, map[string]any{
1355 + "extends": []string{"_base1.yaml", "_base2.yaml"},
1356 + })
1357 + return device
1358 + },
1359 + expected: "device: [_base1, _base2]",
1360 + },
1361 + "nested chain": {
1362 + setup: func(t *testing.T, tmp string) string {
1363 + base := filepath.Join(tmp, "_base.yaml")
1364 + writeYAML(t, base, ddprofiledefinition.ProfileDefinition{})
1365 +
1366 + intermediate := filepath.Join(tmp, "_intermediate.yaml")
1367 + writeYAML(t, intermediate, map[string]any{
1368 + "extends": []string{"_base.yaml"},
1369 + })
1370 +
1371 + device := filepath.Join(tmp, "device.yaml")
1372 + writeYAML(t, device, map[string]any{
1373 + "extends": []string{"_intermediate.yaml"},
1374 + })
1375 + return device
1376 + },
1377 + expected: "device: [_intermediate: [_base]]",
1378 + },
1379 + "complex diamond pattern": {
1380 + setup: func(t *testing.T, tmp string) string {
1381 + base := filepath.Join(tmp, "_base.yaml")
1382 + writeYAML(t, base, ddprofiledefinition.ProfileDefinition{})
1383 +
1384 + vendor := filepath.Join(tmp, "_vendor.yaml")
1385 + writeYAML(t, vendor, map[string]any{
1386 + "extends": []string{"_base.yaml"},
1387 + })
1388 +
1389 + generic := filepath.Join(tmp, "_generic.yaml")
1390 + writeYAML(t, generic, map[string]any{
1391 + "extends": []string{"_base.yaml"},
1392 + })
1393 +
1394 + device := filepath.Join(tmp, "cisco-nexus.yaml")
1395 + writeYAML(t, device, map[string]any{
1396 + "extends": []string{"_vendor.yaml", "_generic.yaml"},
1397 + })
1398 + return device
1399 + },
1400 + expected: "cisco-nexus: [_vendor: [_base], _generic: [_base]]",
1401 + },
1402 + "mixed depths": {
1403 + setup: func(t *testing.T, tmp string) string {
1404 + base := filepath.Join(tmp, "_base.yaml")
1405 + writeYAML(t, base, ddprofiledefinition.ProfileDefinition{})
1406 +
1407 + intermediate := filepath.Join(tmp, "_intermediate.yaml")
1408 + writeYAML(t, intermediate, map[string]any{
1409 + "extends": []string{"_base.yaml"},
1410 + })
1411 +
1412 + standalone := filepath.Join(tmp, "_standalone.yaml")
1413 + writeYAML(t, standalone, ddprofiledefinition.ProfileDefinition{})
1414 +
1415 + device := filepath.Join(tmp, "device.yaml")
1416 + writeYAML(t, device, map[string]any{
1417 + "extends": []string{"_intermediate.yaml", "_standalone.yaml"},
1418 + })
1419 + return device
1420 + },
1421 + expected: "device: [_intermediate: [_base], _standalone]",
1422 + },
1423 + "three level nesting": {
1424 + setup: func(t *testing.T, tmp string) string {
1425 + base := filepath.Join(tmp, "_base.yaml")
1426 + writeYAML(t, base, ddprofiledefinition.ProfileDefinition{})
1427 +
1428 + level1 := filepath.Join(tmp, "_level1.yaml")
1429 + writeYAML(t, level1, map[string]any{
1430 + "extends": []string{"_base.yaml"},
1431 + })
1432 +
1433 + level2 := filepath.Join(tmp, "_level2.yaml")
1434 + writeYAML(t, level2, map[string]any{
1435 + "extends": []string{"_level1.yaml"},
1436 + })
1437 +
1438 + device := filepath.Join(tmp, "device.yaml")
1439 + writeYAML(t, device, map[string]any{
1440 + "extends": []string{"_level2.yaml"},
1441 + })
1442 + return device
1443 + },
1444 + expected: "device: [_level2: [_level1: [_base]]]",
1445 + },
1446 + "yml extension stripped": {
1447 + setup: func(t *testing.T, tmp string) string {
1448 + base := filepath.Join(tmp, "_base.yml")
1449 + writeYAML(t, base, ddprofiledefinition.ProfileDefinition{})
1450 +
1451 + device := filepath.Join(tmp, "device.yml")
1452 + writeYAML(t, device, map[string]any{
1453 + "extends": []string{"_base.yml"},
1454 + })
1455 + return device
1456 + },
1457 + expected: "device: [_base]",
1458 + },
1459 + "complex real-world example": {
1460 + setup: func(t *testing.T, tmp string) string {
1461 + base := filepath.Join(tmp, "_base.yaml")
1462 + writeYAML(t, base, ddprofiledefinition.ProfileDefinition{})
1463 +
1464 + genericDevice := filepath.Join(tmp, "_generic-device.yaml")
1465 + writeYAML(t, genericDevice, map[string]any{
1466 + "extends": []string{"_base.yaml"},
1467 + })
1468 +
1469 + genericIf := filepath.Join(tmp, "_generic-if.yaml")
1470 + writeYAML(t, genericIf, map[string]any{
1471 + "extends": []string{"_base.yaml"},
1472 + })
1473 +
1474 + cisco := filepath.Join(tmp, "_cisco.yaml")
1475 + writeYAML(t, cisco, map[string]any{
1476 + "extends": []string{"_generic-device.yaml"},
1477 + })
1478 +
1479 + ciscoNexus := filepath.Join(tmp, "cisco-nexus.yaml")
1480 + writeYAML(t, ciscoNexus, map[string]any{
1481 + "extends": []string{"_cisco.yaml", "_generic-if.yaml"},
1482 + })
1483 + return ciscoNexus
1484 + },
1485 + expected: "cisco-nexus: [_cisco: [_generic-device: [_base]], _generic-if: [_base]]",
1486 + },
1487 + "empty extends list": {
1488 + setup: func(t *testing.T, tmp string) string {
1489 + device := filepath.Join(tmp, "device.yaml")
1490 + writeYAML(t, device, map[string]any{
1491 + "extends": []string{},
1492 + "metrics": []map[string]any{{
1493 + "symbol": map[string]string{
1494 + "OID": "1.3.6.1.2.1.1.1.0",
1495 + "name": "sysDescr",
1496 + },
1497 + }},
1498 + })
1499 + return device
1500 + },
1501 + expected: "device",
1502 + },
1503 + }
1504 +
1505 + for name, tc := range tests {
1506 + t.Run(name, func(t *testing.T) {
1507 + tmp := t.TempDir()
1508 + mainFile := tc.setup(t, tmp)
1509 +
1510 + paths := multipath.New(tmp)
1511 + prof, err := loadProfile(mainFile, paths)
1512 + require.NoError(t, err)
1513 +
1514 + assert.Equal(t, tc.expected, prof.SourceTree())
1515 + })
1516 + }
1517 +}
1518 +
1519 +// getAllExtendedFiles returns a flat list of all files in the extension hierarchy
1520 +func (p *Profile) getAllExtendedFiles() []string {
1521 + var files []string
1522 + seen := make(map[string]bool)
1523 +
1524 + var collect func([]*extensionInfo)
1525 + collect = func(extensions []*extensionInfo) {
1526 + for _, ext := range extensions {
1527 + if !seen[ext.sourceFile] {
1528 + seen[ext.sourceFile] = true
1529 + files = append(files, ext.sourceFile)
1530 + }
1531 + collect(ext.extensions)
1532 + }
1533 + }
1534 +
1535 + collect(p.extensionHierarchy)
1536 + return files
1537 +}
1538 +
1539 +// getExtensionDepth returns the maximum depth of the extension hierarchy
1540 +func (p *Profile) getExtensionDepth() int {
1541 + var maxDepth func([]*extensionInfo, int) int
1542 + maxDepth = func(extensions []*extensionInfo, depth int) int {
1543 + if len(extensions) == 0 {
1544 + return depth
1545 + }
1546 +
1547 + maximum := depth + 1
1548 + for _, ext := range extensions {
1549 + d := maxDepth(ext.extensions, depth+1)
1550 + if d > maximum {
1551 + maximum = d
1552 + }
1553 + }
1554 + return maximum
1555 + }
1556 +
1557 + return maxDepth(p.extensionHierarchy, 0)
1558 +}
1559 +
1560 +// hasCircularDependency checks if there's a circular dependency in the extension hierarchy
1561 +func (p *Profile) hasCircularDependency() bool {
1562 + visited := make(map[string]bool)
1563 +
1564 + var hasCircle func([]*extensionInfo) bool
1565 + hasCircle = func(extensions []*extensionInfo) bool {
1566 + for _, ext := range extensions {
1567 + if visited[ext.sourceFile] {
1568 + return true
1569 + }
1570 + visited[ext.sourceFile] = true
1571 + if hasCircle(ext.extensions) {
1572 + return true
1573 + }
1574 + delete(visited, ext.sourceFile)
1575 + }
1576 + return false
1577 + }
1578 +
1579 + return hasCircle(p.extensionHierarchy)
1580 +}
1581 +
1582 func writeYAML(t *testing.T, path string, data any) {
1583 t.Helper()
1584
src/go/plugin/go.d/collector/snmp/ddsnmp/transform.go
+94
@@ -140,6 +140,100 @@ func newMetricTransformFuncMap() template.FuncMap {
140 "pow": func(base float64, exp int) float64 {
141 return math.Pow(base, float64(exp))
142 },
143 + "transformEntPhySensor": func(m *Metric) string {
144 + /*
145 + transformEntPhySensor applies standardized normalization to metrics
146 + from the ENTITY-SENSOR-MIB's entPhySensorTable:
147 +
148 + OID base: .1.3.6.1.2.1.99.1.1
149 + Spec: https://datatracker.ietf.org/doc/html/rfc3433
150 + Applies to: entPhySensorValue (.1.3.6.1.2.1.99.1.1.1.4)
151 +
152 + Uses the following tags:
153 + - sensor_type (entPhySensorType: integer value 1–12)
154 + - sensor_scale (entPhySensorScale: integer value 1–14)
155 + - sensor_precision (entPhySensorPrecision: integer)
156 +
157 + This function:
158 + - Assigns proper name, unit, family, description
159 + - Applies scaling using sensor_scale and sensor_precision
160 + - Optionally maps values to human-readable labels (e.g., "true"/"false")
161 +
162 + This supports multiple vendors implementing ENTITY-SENSOR-MIB:
163 + Cisco, Juniper, HPE, Dell, Supermicro, etc.
164 + */
165 + sensorType := m.Tags["sensor_type"]
166 + sensorScale := m.Tags["sensor_scale"]
167 + sensorPrecision := m.Tags["sensor_precision"]
168 +
169 + defer func() {
170 + delete(m.Tags, "sensor_type")
171 + delete(m.Tags, "sensor_scale")
172 + delete(m.Tags, "sensor_precision")
173 + }()
174 +
175 + config := map[string]map[string]interface{}{
176 + "1": {"name": "unspecified", "family": "Generic", "desc": "Unspecified or vendor-specific sensor"},
177 + "2": {"name": "unknown", "family": "Generic", "desc": "Unknown sensor type"},
178 + "3": {"name": "voltage_ac", "unit": "volts", "family": "Power", "desc": "AC voltage"},
179 + "4": {"name": "voltage_dc", "unit": "volts", "family": "Power", "desc": "DC voltage"},
180 + "5": {"name": "current", "unit": "amperes", "family": "Power", "desc": "Current draw"},
181 + "6": {"name": "power", "unit": "watts", "family": "Power", "desc": "Power consumption"},
182 + "7": {"name": "frequency", "unit": "hertz", "family": "Power", "desc": "Frequency"},
183 + "8": {"name": "temperature", "unit": "celsius", "family": "Temperature", "desc": "Temperature reading"},
184 + "9": {"name": "humidity", "unit": "percentage", "family": "Environment", "desc": "Relative humidity"},
185 + "10": {"name": "fan_speed", "unit": "rpm", "family": "Fan", "desc": "Fan rotation speed"},
186 + "11": {"name": "airflow", "unit": "cmm", "family": "Environment", "desc": "Airflow in cubic meters per minute"},
187 + "12": {"name": "sensor_state", "family": "Status", "desc": "Boolean sensor state", "mapping": map[int64]string{
188 + 0: "false", 1: "true", 2: "true",
189 + }},
190 + }
191 +
192 + scaleMap := map[string]float64{
193 + "1": 1.0, "2": 0.001, "3": 0.000001, "4": 0.000000001,
194 + "5": 0.000000000001, "6": 0.000000000000001, "7": 0.000000000000000001,
195 + "8": 0.000000000000000000001, "9": 0.000000000000000000000001,
196 + "10": 0.1, "11": 0.01, "12": 1000.0, "13": 1000000.0, "14": 1000000000.0,
197 + }
198 + scale := scaleMap[sensorScale]
199 + if scale == 0 {
200 + scale = 1.0
201 + }
202 +
203 + precision := 0
204 + if p, err := strconv.Atoi(sensorPrecision); err == nil {
205 + precision = p
206 + }
207 +
208 + conf, ok := config[sensorType]
209 + if !ok {
210 + return ""
211 + }
212 +
213 + if name, ok := conf["name"].(string); ok {
214 + m.Name = m.Name + "_" + name
215 + }
216 + if family, ok := conf["family"].(string); ok {
217 + m.Family = "Sensors/" + family
218 + }
219 + if desc, ok := conf["desc"].(string); ok {
220 + m.Description = desc
221 + }
222 + if unit, ok := conf["unit"].(string); ok {
223 + m.Unit = unit
224 + }
225 + if mapping, ok := conf["mapping"].(map[int64]string); ok {
226 + m.Mappings = mapping
227 + } else {
228 + val := float64(m.Value) * scale
229 + if precision > 0 {
230 + val = val / math.Pow(10, float64(precision))
231 + }
232 + m.Value = int64(val)
233 + }
234 +
235 + return ""
236 + },
237 }
238
239 for name, fn := range extra {
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_base.yaml
+9 -1
@@ -12,7 +12,15 @@ metrics:
12 - MIB: HOST-RESOURCES-MIB
13 symbol:
14 OID: 1.3.6.1.2.1.25.1.1.0
15 - name: hrSystemUptime
15 + name: systemUptime
16 + description: Time since the system was last rebooted or powered on.
17 + scale_factor: 0.01
18 + family: Uptime
19 + unit: s
20 + - MIB: HOST-RESOURCES-MIB
21 + symbol:
22 + OID: 1.3.6.1.2.1.1.3.0
23 + name: systemUptime
24 description: Time since the system was last rebooted or powered on.
25 scale_factor: 0.01
26 family: Uptime
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-asa.yaml
+86 -27
@@ -11,71 +11,116 @@ metrics:
11 - OID: 1.3.6.1.4.1.9.9.147.1.2.2.2.1.5
12 name: cfwConnectionStatValue
13 description: Current status of the resource statistic
14 - unit: "{status}"
15 - dims_for_status: true
16 - family: "Firewall/Statistics"
14 + unit: "{connection}"
15 + family: Firewall/Connection/Count
16 metric_tags:
18 - - index: 1
19 - tag: service_type
20 - - index: 2
21 - tag: stat_type
17 + - tag: service_type
18 + index: 1
19 + mapping:
20 + 1: otherFWService
21 + 2: fileXferFtp
22 + 3: fileXferTftp
23 + 4: fileXferFtps
24 + 5: loginTelnet
25 + 6: loginRlogin
26 + 7: loginTelnets
27 + 8: remoteExecSunRPC
28 + 9: remoteExecMSRPC
29 + 10: remoteExecRsh
30 + 11: remoteExecXserver
31 + 12: webHttp
32 + 13: webHttps
33 + 14: mailSmtp
34 + 15: multimediaStreamworks
35 + 16: multimediaH323
36 + 17: multimediaNetShow
37 + 18: multimediaVDOLive
38 + 19: multimediaRealAV
39 + 20: multimediaRTSP
40 + 21: dbOracle
41 + 22: dbMSsql
42 + 23: contInspProgLang
43 + 24: contInspUrl
44 + 25: directoryNis
45 + 26: directoryDns
46 + 27: directoryNetbiosns
47 + 28: directoryNetbiosdgm
48 + 29: directoryNetbiosssn
49 + 30: directoryWins
50 + 31: qryWhois
51 + 32: qryFinger
52 + 33: qryIdent
53 + 34: fsNfsStatus
54 + 35: fsNfs
55 + 36: fsCifs
56 + 37: protoIcmp
57 + 38: protoTcp
58 + 39: protoUdp
59 + 40: protoIp
60 + 41: protoSnmp
61 + - tag: stat_type
62 + index: 2
63 + mapping:
64 + 1: other
65 + 2: totalOpen # Total number of connections opened since system startup
66 + 3: currentOpen # Current number of open connections
67 + 4: currentClosing # Current number of connections in the process of closing
68 + 5: currentHalfOpen # Current number of half-open connections (e.g. TCP SYN received)
69 + 6: currentInUse # Current number of connections in use by the firewall
70 + 7: high # Highest number of connections in use since system startup
71
72 - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
73 symbol:
25 - # declined sessions
74 OID: 1.3.6.1.4.1.9.9.392.1.4.1.2.0
75 name: crasNumDeclinedSessions
76 description: Number of session setup attempts declined due to authentication or authorization failure
29 - unit: "{session}"
30 - family: "Firewall/Sessions"
77 + family: RemoteAccess/Session/Declined
78 + unit: "{session}/s"
79 - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
80 symbol:
33 - # num sessions
81 OID: 1.3.6.1.4.1.9.9.392.1.3.1.0
82 name: crasNumSessions
83 description: Number of currently active sessions
84 + family: RemoteAccess/Session/Active
85 unit: "{session}"
38 - family: "Firewall/Sessions"
86 - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
87 symbol:
41 - # num users
88 OID: 1.3.6.1.4.1.9.9.392.1.3.3.0
89 name: crasNumUsers
90 description: Number of users who have active sessions
91 + family: RemoteAccess/User/Active
92 unit: "{user}"
46 - family: "Firewall/Users"
93 - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
94 metric_type: monotonic_count
95 symbol:
50 - # session setup failed
96 OID: 1.3.6.1.4.1.9.9.392.1.4.1.3.0
97 name: crasNumSetupFailInsufResources
98 description: Number of session setup attempts failed due to insufficient resources
54 - unit: "{failure}"
55 - family: "Firewall/Sessions"
99 + family: RemoteAccess/Session/Failed
100 + unit: "{failure}/s"
101 - MIB: CISCO-IPSEC-FLOW-MONITOR-MIB
102 symbol:
103 OID: 1.3.6.1.4.1.9.9.171.1.3.1.1.0
104 name: cipSecGlobalActiveTunnels
105 description: Number of currently active IPsec Phase-2 Tunnels
106 + family: IPSec/Phase2/Tunnel/Active
107 unit: "{tunnel}"
62 - family: "Firewall/IPsec"
108 - MIB: CISCO-IPSEC-FLOW-MONITOR-MIB
109 metric_type: monotonic_count
110 symbol:
111 OID: 1.3.6.1.4.1.9.9.171.1.3.1.4.0
112 name: cipSecGlobalHcInOctets
113 description: High capacity count of total octets received by all current and previous IPsec Phase-2 Tunnels
69 - unit: "By"
70 - family: "Firewall/IPsec"
114 + family: IPSec/Phase2/Tunnel/Traffic/In
115 + unit: "By/s"
116 - MIB: CISCO-IPSEC-FLOW-MONITOR-MIB
117 metric_type: monotonic_count
118 symbol:
119 OID: 1.3.6.1.4.1.9.9.171.1.3.1.17.0
120 name: cipSecGlobalHcOutOctets
121 description: High capacity count of total octets sent by all current and previous IPsec Phase-2 Tunnels
77 - unit: "By"
78 - family: "Firewall/IPsec"
122 + family: IPSec/Phase2/Tunnel/Traffic/Out
123 + unit: "By/s"
124 - MIB: ENTITY-SENSOR-MIB
125 table:
126 OID: 1.3.6.1.2.1.99.1.1
@@ -85,11 +130,25 @@ metrics:
130 name: entPhySensorValue
131 description: Most recent measurement obtained by the agent for this sensor
132 unit: "1"
88 - family: "Hardware/Sensors"
133 + family: Sensor/Value
134 + transform: |
135 + {{- transformEntPhySensor .Metric -}}
136 metric_tags:
90 - - symbol:
137 + - tag: sensor_type # needed for transform
138 + symbol:
139 OID: 1.3.6.1.2.1.99.1.1.1.1
140 name: entPhySensorType
93 - tag: sensor_type
94 - - index: 1
95 - tag: sensor_id
141 + - tag: sensor_scale # needed for transform
142 + symbol:
143 + OID: 1.3.6.1.2.1.99.1.1.1.2
144 + name: entPhySensorScale
145 + - tag: sensor_precision # needed for transform
146 + symbol:
147 + OID: 1.3.6.1.2.1.99.1.1.1.3
148 + name: entPhySensorPrecision
149 + - tag: _sensor_desc
150 + symbol:
151 + OID: 1.3.6.1.2.1.99.1.1.1.6
152 + name: entPhySensorUnitsDisplay
153 + - tag: sensor_id
154 + index: 1
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-catalyst.yaml
+16 -17
@@ -20,7 +20,7 @@ metadata:
20 name: chassisSerialNumberString
21
22 metrics:
23 - - MIB: CISCO-ENTITY-SENSOR-MIB
23 + - MIB: CISCO-ENTITY-SENSOR-MIB # TODO: sensors of different types in one chart, transformation required
24 table:
25 OID: 1.3.6.1.4.1.9.9.91.1.1.1
26 name: entSensorValueTable
@@ -28,45 +28,44 @@ metrics:
28 - OID: 1.3.6.1.4.1.9.9.91.1.1.1.1.4
29 name: entSensorValue
30 description: "The most recent measurement seen by the sensor"
31 - unit: "1"
32 - family: "Switches/Sensors"
31 + family: Sensors
32 + unit: "1"
33 metric_tags:
34 - - symbol:
34 + - tag: sensor_type
35 + symbol:
36 OID: 1.3.6.1.4.1.9.9.91.1.1.1.1.1
37 name: entSensorType
37 - tag: sensor_type
38 - - index: 1
39 - tag: sensor_id
40 - - MIB: CISCO-IF-EXTENSION-MIB
38 + - tag: sensor_id
39 + index: 1
40 + - MIB: CISCO-IF-EXTENSION-MIB # TODO: this is not Catalyst-specific, need to add to other Cisco devices
41 table:
42 OID: 1.3.6.1.4.1.9.9.276.1.1.1
43 name: cieIfPacketStatsTable
44 - metric_type: gauge
44 symbols:
45 - OID: 1.3.6.1.4.1.9.9.276.1.1.1.1.1
46 name: cieIfLastInTime
47 description: "Elapsed time in milliseconds since last protocol input packet was received"
48 + family: Interfaces/Activity
49 unit: "ms"
50 - family: "Network/Interfaces/Packets"
50 - OID: 1.3.6.1.4.1.9.9.276.1.1.1.1.2
51 name: cieIfLastOutTime
52 description: "Elapsed time in milliseconds since last protocol output packet was transmitted"
53 + family: Interfaces/Activity
54 unit: "ms"
55 - family: "Network/Interfaces/Packets"
55 - OID: 1.3.6.1.4.1.9.9.276.1.1.1.1.10
56 name: cieIfInputQueueDrops
57 description: "Number of input packets which were dropped"
59 - unit: "{packet}"
60 - family: "Network/Interfaces/Packets"
58 + family: Interfaces/Drops
59 + unit: "{drop}/s"
60 - OID: 1.3.6.1.4.1.9.9.276.1.1.1.1.11
61 name: cieIfOutputQueueDrops
62 description: "Number of output packets dropped by the interface"
64 - unit: "{packet}"
65 - family: "Network/Interfaces/Packets"
63 + family: Interfaces/Drops
64 + unit: "{drop}/s"
65 metric_tags:
67 - - MIB: IF-MIB
66 + - tag: interface
67 + MIB: IF-MIB
68 symbol:
69 OID: 1.3.6.1.2.1.31.1.1.1.1
70 name: ifName
71 table: ifXTable
72 - tag: interface
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-cpu-memory.yaml
+24 -15
@@ -6,30 +6,39 @@ metrics:
6 OID: 1.3.6.1.4.1.9.9.109.1.1.1
7 name: cpmCPUTotalTable
8 symbols:
9 - - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.7 # cpmCPUTotal1minRev
10 - name: cpu.usage
9 + - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.7
10 + name: cpmCPUTotal1minRev
11 description: The overall CPU busy percentage in the last 1 minute period
12 + family: CPU/Usage
13 unit: "%"
13 - family: "CPU"
14 metric_tags:
15 - - index: 1 # cpmCPUTotalIndex
16 - tag: cpu
15 + - tag: cpu
16 + index: 1
17
18 - MIB: CISCO-MEMORY-POOL-MIB
19 table:
20 OID: 1.3.6.1.4.1.9.9.48.1.1
21 name: ciscoMemoryPoolTable
22 symbols:
23 - - OID: 1.3.6.1.4.1.9.9.48.1.1.1.5 # ciscoMemoryPoolUsed
24 - name: memory.used
25 - description: Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device
23 + - OID: 1.3.6.1.4.1.9.9.48.1.1.1.5
24 + name: ciscoMemoryPoolUsed
25 + description: Number of bytes from the memory pool currently in use
26 + family: MemoryPool/Used
27 unit: "By"
27 - family: "Memory"
28 - - OID: 1.3.6.1.4.1.9.9.48.1.1.1.6 # ciscoMemoryPoolFree
29 - name: memory.free
30 - description: Indicates the number of bytes from the memory pool that are currently unused on the managed device. Note that the sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool
28 + - OID: 1.3.6.1.4.1.9.9.48.1.1.1.6
29 + name: ciscoMemoryPoolFree
30 + description: Number of bytes from the memory pool currently unused
31 + family: MemoryPool/Free
32 + unit: "By"
33 + - OID: 1.3.6.1.4.1.9.9.48.1.1.1.7
34 + name: ciscoMemoryPoolLargestFree
35 + description: Largest number of contiguous bytes from the memory pool currently unused
36 + family: MemoryPool/LargestFree
37 unit: "By"
32 - family: "Memory"
38 metric_tags:
34 - - index: 1 # ciscoMemoryPoolType
35 - tag: mem
39 + - tag: mem_pool_name
40 + symbol:
41 + OID: 1.3.6.1.4.1.9.9.48.1.1.1.2
42 + name: ciscoMemoryPoolName
43 + - tag: mem_pool_index
44 + index: 1
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-generic.yaml
+208 -155
@@ -19,8 +19,8 @@ metrics:
19 - name: cefcFRUPowerAdminStatus
20 OID: 1.3.6.1.4.1.9.9.117.1.1.2.1.1
21 description: Administratively desired FRU power state
22 + family: FRU/Power/Admin/Status
23 unit: "{status}"
23 - family: Cisco/FRU/Power/Status
24 mapping:
25 1: on
26 2: off
@@ -30,8 +30,8 @@ metrics:
30 - name: cefcFRUPowerOperStatus
31 OID: 1.3.6.1.4.1.9.9.117.1.1.2.1.2
32 description: Operational FRU power state
33 + family: FRU/Power/Operational/Status
34 unit: "{status}"
34 - family: Cisco/FRU/Power/Status
35 mapping:
36 1: off_env_other
37 2: on
@@ -48,11 +48,11 @@ metrics:
48 - OID: 1.3.6.1.4.1.9.9.117.1.1.2.1.3
49 name: cefcFRUCurrent
50 description: Current supplied by the FRU or current required to operate the FRU
51 + family: FRU/Power/Current
52 unit: "A"
52 - family: Cisco/FRU/Power/Current
53 metric_tags:
54 - - index: 1
55 - tag: fru
54 + - tag: fru_index
55 + index: 1
56 - MIB: CISCO-PROCESS-MIB
57 table:
58 OID: 1.3.6.1.4.1.9.9.109.1.1.1
@@ -61,26 +61,26 @@ metrics:
61 - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.10
62 name: cpmCPUTotalMonIntervalValue
63 description: Overall CPU busy percentage in the last monitoring interval
64 + family: CPU/Usage
65 unit: "%"
65 - family: Cisco/CPM/CPU/Usage
66 - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.7
67 name: cpmCPUTotal1minRev
68 description: Overall CPU busy percentage in the last 1 minute period
69 + family: CPU/Usage
70 unit: "%"
70 - family: Cisco/CPM/CPU/Usage
71 - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.12
72 name: cpmCPUMemoryUsed
73 description: Overall CPU wide system memory which is currently under use
74 + family: CPU/Memory/Used
75 unit: "By"
75 - family: Cisco/CPM/CPU/Memory
76 - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.13
77 name: cpmCPUMemoryFree
78 description: Overall CPU wide system memory which is currently free
79 + family: CPU/Memory/Free
80 unit: "By"
80 - family: Cisco/CPM/CPU/Memory
81 metric_tags:
82 - - index: 1
83 - tag: cpu
82 + - tag: cpu_index
83 + index: 1
84 - MIB: CISCO-IF-EXTENSION-MIB
85 metric_type: monotonic_count
86 table:
@@ -90,15 +90,15 @@ metrics:
90 - OID: 1.3.6.1.4.1.9.9.276.1.1.2.1.1
91 name: cieIfResetCount
92 description: Number of times the interface was internally reset and brought up
93 - unit: "{reset}"
94 - family: Network/Interfaces/Resets
93 + family: Interfaces/Reset/Count
94 + unit: "{reset}/s"
95 metric_tags:
96 - - MIB: IF-MIB
96 + - tag: interface
97 + table: ifXTable
98 + MIB: IF-MIB
99 symbol:
100 OID: 1.3.6.1.2.1.31.1.1.1.1
101 name: ifName
100 - table: ifXTable
101 - tag: interface
102 - MIB: CISCO-ENVMON-MIB
103 table:
104 OID: 1.3.6.1.4.1.9.9.13.1.3
@@ -107,13 +107,13 @@ metrics:
107 - OID: 1.3.6.1.4.1.9.9.13.1.3.1.3
108 name: ciscoEnvMonTemperatureStatusValue
109 description: Current measurement of the testpoint
110 + family: Environment/Temperature/Value
111 unit: "Cel"
111 - family: Cisco/Environment/Temperature
112 - OID: 1.3.6.1.4.1.9.9.13.1.3.1.6
113 name: ciscoEnvMonTemperatureState
114 - tag: temp_state
114 + description: Current state of the testpoint
115 + family: Environment/Temperature/Status
116 unit: "{status}"
116 - family: Cisco/Environment/Temperature
117 mapping:
118 1: normal
119 2: warning
@@ -124,6 +124,10 @@ metrics:
124 metric_tags:
125 - tag: temp_index
126 index: 1
127 + - tag: _temp_desc
128 + symbol:
129 + OID: 1.3.6.1.4.1.9.9.13.1.3.1.2
130 + name: ciscoEnvMonTemperatureStatusDescr
131
132 - MIB: CISCO-ENVMON-MIB
133 table:
@@ -133,9 +137,8 @@ metrics:
137 - OID: 1.3.6.1.4.1.9.9.13.1.5.1.3
138 name: ciscoEnvMonSupplyState
139 description: Current state of the power supply
140 + family: Environment/PowerSupply/Status
141 unit: "{status}"
137 - family: Cisco/Environment/Power Supplies/Status
138 - tag: cisco_env_mon_supply_state
142 mapping:
143 1: normal
144 2: warning
@@ -144,14 +147,16 @@ metrics:
147 5: not_present
148 6: not_functioning
149 metric_tags:
147 - - symbol:
150 + - tag: power_supply_index
151 + index: 1
152 + - tag: _power_supply_descr
153 + symbol:
154 OID: 1.3.6.1.4.1.9.9.13.1.5.1.2
155 name: ciscoEnvMonSupplyStatusDescr
150 - tag: power_status_descr
151 - - symbol:
156 + - tag: _power_supply_source
157 + symbol:
158 OID: 1.3.6.1.4.1.9.9.13.1.5.1.4
159 name: ciscoEnvMonSupplySource
154 - tag: power_supply_source
160 mapping:
161 1: unknown
162 2: ac
@@ -167,9 +172,8 @@ metrics:
172 - OID: 1.3.6.1.4.1.9.9.13.1.4.1.3
173 name: ciscoEnvMonFanState
174 description: Current state of the fan
175 + family: Environment/Fan/Status
176 unit: "{status}"
171 - tag: fan_state
172 - family: Cisco/Environment/Fans/Status
177 mapping:
178 1: normal
179 2: warning
@@ -178,14 +182,12 @@ metrics:
182 5: not_present
183 6: not_functioning
184 metric_tags:
181 - - symbol:
185 + - tag: fan_status_index
186 + index: 1
187 + - tag: _fan_status_descr
188 + symbol:
189 OID: 1.3.6.1.4.1.9.9.13.1.4.1.2
190 name: ciscoEnvMonFanStatusDescr
184 - tag: fan_status_descr
185 - - symbol:
186 - OID: 1.3.6.1.4.1.9.9.13.1.4.1.1
187 - name: ciscoEnvMonFanStatusIndex
188 - tag: fan_status_index
191
192 # stackport specific info - every physical stackport has an entry in ifTable
193 - MIB: CISCO-STACKWISE-MIB
@@ -196,20 +198,19 @@ metrics:
198 - OID: 1.3.6.1.4.1.9.9.500.1.2.2.1.1
199 name: cswStackPortOperStatus
200 description: State of the stackport
201 + family: StackWise/Port/Status
202 unit: "{status}"
200 - family: Cisco/StackWise/Stack Port/Status
203 mapping:
204 1: up
205 2: down
206 3: forcedDown
205 -
207 metric_tags:
207 - - MIB: IF-MIB
208 + - tag: interface
209 + table: ifXTable
210 + MIB: IF-MIB
211 symbol:
212 OID: 1.3.6.1.2.1.31.1.1.1.1
213 name: ifName
211 - table: ifXTable
212 - tag: interface
214
215 # every switch with entPhysicalClass chassis will have an entry in switchinfo
216 - MIB: CISCO-STACKWISE-MIB
@@ -220,8 +221,8 @@ metrics:
221 - OID: 1.3.6.1.4.1.9.9.500.1.2.1.1.6
222 name: cswSwitchState
223 description: Current state of a switch
224 + family: StackWise/Switch/Status
225 unit: "{status}"
224 - family: Cisco/StackWise/Switches/Status
226 mapping:
227 1: waiting
228 2: progressing
@@ -240,12 +241,12 @@ metrics:
241 OID: 1.3.6.1.4.1.9.9.500.1.2.1.1.7
242 name: cswSwitchMacAddress
243 format: mac_address
243 - - MIB: ENTITY-MIB
244 + - tag: entity_name
245 + table: entPhysicalTable
246 + MIB: ENTITY-MIB
247 symbol:
248 OID: 1.3.6.1.2.1.47.1.1.1.1.7
249 name: entPhysicalName
247 - table: entPhysicalTable
248 - tag: entity_name
250
251 - MIB: CISCO-ENTITY-FRU-CONTROL-MIB
252 table:
@@ -256,7 +257,7 @@ metrics:
257 name: cefcFanTrayOperStatus
258 description: Operational state of the fan or fan tray
259 unit: "{status}"
259 - family: Cisco/FRU/Fans/Status
260 + family: Environment/FanTray/Status
261 tag: cefc_fan_tray_oper_status
262 mapping:
263 1: unknown
@@ -264,12 +265,12 @@ metrics:
265 3: down
266 4: warning
267 metric_tags:
267 - - index: 1
268 - tag: fru
269 - - symbol:
268 + - tag: fru_index
269 + index: 1
270 + - tag: cefc_fan_tray_direction
271 + symbol:
272 OID: 1.3.6.1.4.1.9.9.117.1.4.1.1.2
273 name: cefcFanTrayDirection
272 - tag: cefc_fan_tray_direction
274 mapping:
275 1: unknown
276 2: front_to_back
@@ -283,23 +284,25 @@ metrics:
284 - OID: 1.3.6.1.4.1.9.9.48.1.1.1.5
285 name: ciscoMemoryPoolUsed
286 description: Number of bytes from the memory pool currently in use
286 - family: Cisco/Memory Pool/Usage
287 + family: MemoryPool/Used
288 unit: "By"
289 - OID: 1.3.6.1.4.1.9.9.48.1.1.1.6
290 name: ciscoMemoryPoolFree
291 description: Number of bytes from the memory pool currently unused
291 - family: Cisco/Memory Pool/Usage
292 + family: MemoryPool/Free
293 unit: "By"
294 - OID: 1.3.6.1.4.1.9.9.48.1.1.1.7
295 name: ciscoMemoryPoolLargestFree
296 description: Largest number of contiguous bytes from the memory pool currently unused
296 - family: Cisco/Memory Pool/Usage
297 + family: MemoryPool/LargestFree
298 unit: "By"
299 metric_tags:
299 - - symbol:
300 + - tag: mem_pool_index
301 + index: 1
302 + - tag: _mem_pool_name
303 + symbol:
304 OID: 1.3.6.1.4.1.9.9.48.1.1.1.2
305 name: ciscoMemoryPoolName
302 - tag: mem_pool_name
306
307 - MIB: CISCO-FIREWALL-MIB
308 table:
@@ -309,13 +312,13 @@ metrics:
312 - OID: 1.3.6.1.4.1.9.9.147.1.2.2.2.1.4
313 name: cfwConnectionStatCount
314 description: Integer that contains the value of the resource statistic.
315 + family: Firewall/Connection/Count
316 unit: "1"
313 - family: Cisco/Firewall/Connections
317 metric_tags:
315 - - symbol:
318 + - tag: conn_stat_id
319 + symbol:
320 OID: 1.3.6.1.4.1.9.9.147.1.2.2.2.1.1
321 name: cfwConnectionStatService
318 - tag: conn_stat_id
322 mapping:
323 1: otherFWService
324 2: fileXferFtp
@@ -367,8 +370,8 @@ metrics:
370 - OID: 1.3.6.1.4.1.9.9.147.1.2.1.1.1.3
371 name: cfwHardwareStatusValue
372 description: Current status of the resource
373 + family: Firewall/Hardware/Status
374 unit: "{status}"
371 - family: Cisco/Firewall/Hardware/Status
375 mapping:
376 1: other
377 2: up
@@ -381,12 +384,12 @@ metrics:
384 9: active
385 10: standby
386 metric_tags:
384 - - index: 1
385 - tag: hardware_type
386 - - symbol:
387 + - tag: hardware_type
388 + index: 1
389 + - tag: hardware_desc
390 + symbol:
391 OID: 1.3.6.1.4.1.9.9.147.1.2.1.1.1.2
392 name: cfwHardwareInformation
389 - tag: hardware_desc
393
394 - MIB: CISCO-VIRTUAL-SWITCH-MIB
395 table:
@@ -396,100 +399,93 @@ metrics:
399 - OID: 1.3.6.1.4.1.9.9.388.1.2.2.1.3
400 name: cvsChassisUpTime
401 description: Up time for the chassis since last re-initialization
402 + family: VirtualSwitch/Chassis/Uptime
403 unit: "cs"
400 - family: Cisco/Chassis/Uptime
404 metric_tags:
402 - - symbol:
405 + - tag: chassis_switch_id
406 + symbol:
407 OID: 1.3.6.1.4.1.9.9.388.1.2.2.1.1
408 name: cvsChassisSwitchID
405 - tag: chassis_switch_id
409
407 - # RTT info
408 - # - MIB: CISCO-RTTMON-MIB
409 - # table:
410 - # OID: 1.3.6.1.4.1.9.9.42.1.2.10
411 - # name: rttMonLatestRttOperTable
412 - # symbols:
413 - # # TODO The completion time of the latest RTT operation successfully completed. The unit of this object will be microsecond when rttMonCtrlAdminRttType is set to 'jitter' and rttMonEchoAdminPrecision is set to 'microsecond'. Otherwise, the unit of this object will be millisecond. <-- Case where the unit and precision is defined by other values in the snmpwalk
414 - # # - OID: 1.3.6.1.4.1.9.9.42.1.2.10.1.1
415 - # # name: rttMonLatestRttOperCompletionTime
416 - # # description: Completion time of the latest RTT operation successfully completed
417 - # # unit: "us"
418 - # - OID: 1.3.6.1.4.1.9.9.42.1.2.10.1.2
419 - # name: rttMonLatestRttOperSense
420 - # description: Sense code for the completion status of the latest RTT operation
421 - # unit: "{status}"
422 - # family: Cisco/RTT/Operations/Status
423 - # mapping:
424 - # 0: other
425 - # 1: ok
426 - # 2: disconnected
427 - # 3: over_threshold
428 - # 4: timeout
429 - # 5: busy
430 - # 6: not_connected
431 - # 7: dropped
432 - # 8: sequence_error
433 - # 9: verify_error
434 - # 10: application_specific
435 - # 11: dns_server_timeout
436 - # 12: tcp_connect_timeout
437 - # 13: http_transaction_timeout
438 - # 14: dns_query_error
439 - # 15: http_error
440 - # 16: error
441 - # # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
442 - # metric_tags:
443 - # # TODO, no table having this OID prefix
444 - # # - symbol:
445 - # # OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.4
446 - # # name: rttMonCtrlAdminRttType
447 - # # table: rttMonCtrlAdminTable
448 - # # tag: rtt_type
449 - # # description: Type of RTT operation to be performed.
450 - # # unit: "{status}"
451 - # # family: Cisco/RTT/Operations
452 - # # mapping:
453 - # # 1: echo
454 - # # 2: path_echo
455 - # # 3: file_io
456 - # # 4: script
457 - # # 5: udp_echo
458 - # # 6: tcp_connect
459 - # # 7: http
460 - # # 8: dns
461 - # # 9: jitter
462 - # # 10: dlsw
463 - # # 11: dhcp
464 - # # 12: ftp
465 - # # 13: voip
466 - # # 14: rtp
467 - # # 15: lsp_group
468 - # # 16: icmpjitter
469 - # # 17: lsp_ping
470 - # # 18: lsp_trace
471 - # # 19: ethernet_ping
472 - # # 20: ethernet_jitter
473 - # # 21: lsp_ping_pseudowire
474 - # # 22: video
475 - # # 23: y1731_delay
476 - # # 24: y1731_loss
477 - # # 25: mcast_jitter
478 - # # 26: fabric_path_echo
479 - # - index: 1
480 - # tag: rtt_index
481 - # - symbol:
482 - # OID: 1.3.6.1.4.1.9.9.42.1.2.2.1.6
483 - # name: rttMonEchoAdminSourceAddress
484 - # format: ip_address
485 - # table: rttMonEchoAdminTable
486 - # tag: rtt_source_address
487 - # - symbol:
488 - # OID: 1.3.6.1.4.1.9.9.42.1.2.2.1.2
489 - # name: rttMonEchoAdminTargetAddress
490 - # format: ip_address
491 - # table: rttMonEchoAdminTable
492 - # tag: rtt_target_address
410 + # RTT info
411 + - MIB: CISCO-RTTMON-MIB
412 + table:
413 + OID: 1.3.6.1.4.1.9.9.42.1.2.10
414 + name: rttMonLatestRttOperTable
415 + symbols:
416 + # TODO The completion time of the latest RTT operation successfully completed. The unit of this object will be microsecond when rttMonCtrlAdminRttType is set to 'jitter' and rttMonEchoAdminPrecision is set to 'microsecond'. Otherwise, the unit of this object will be millisecond. <-- Case where the unit and precision is defined by other values in the snmpwalk
417 + # - OID: 1.3.6.1.4.1.9.9.42.1.2.10.1.1
418 + # name: rttMonLatestRttOperCompletionTime
419 + # description: Completion time of the latest RTT operation successfully completed
420 + # unit: "us"
421 + - OID: 1.3.6.1.4.1.9.9.42.1.2.10.1.2
422 + name: rttMonLatestRttOperSense
423 + description: Sense code for the completion status of the latest RTT operation
424 + family: RTT/Operation/Sense
425 + unit: "{status}"
426 + mapping:
427 + 0: other
428 + 1: ok
429 + 2: disconnected
430 + 3: over_threshold
431 + 4: timeout
432 + 5: busy
433 + 6: not_connected
434 + 7: dropped
435 + 8: sequence_error
436 + 9: verify_error
437 + 10: application_specific
438 + 11: dns_server_timeout
439 + 12: tcp_connect_timeout
440 + 13: http_transaction_timeout
441 + 14: dns_query_error
442 + 15: http_error
443 + 16: error
444 + metric_tags:
445 + - tag: rtt_index
446 + index: 1
447 + - tag: _rtt_owner
448 + table: rttMonCtrlAdminTable
449 + symbol:
450 + OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.2
451 + name: rttMonCtrlAdminOwner
452 + - tag: _rtt_tag
453 + table: rttMonCtrlAdminTable
454 + symbol:
455 + OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.3
456 + name: rttMonCtrlAdminTag
457 + - tag: _rtt_type
458 + table: rttMonCtrlAdminTable
459 + symbol:
460 + OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.4
461 + name: rttMonCtrlAdminRttType
462 + mapping:
463 + 1: echo
464 + 2: path_echo
465 + 3: file_io
466 + 4: script
467 + 5: udp_echo
468 + 6: tcp_connect
469 + 7: http
470 + 8: dns
471 + 9: jitter
472 + 10: dlsw
473 + 11: dhcp
474 + 12: ftp
475 + 13: voip
476 + 14: rtp
477 + 15: lsp_group
478 + 16: icmpjitter
479 + 17: lsp_ping
480 + 18: lsp_trace
481 + 19: ethernet_ping
482 + 20: ethernet_jitter
483 + 21: lsp_ping_pseudowire
484 + 22: video
485 + 23: y1731_delay
486 + 24: y1731_loss
487 + 25: mcast_jitter
488 + 26: fabric_path_echo
489
490 - MIB: CISCO-RTTMON-MIB
491 table:
@@ -498,10 +494,9 @@ metrics:
494 symbols:
495 - OID: 1.3.6.1.4.1.9.9.42.1.2.9.1.10
496 name: rttMonCtrlOperState
501 - tag: rtt_state
497 description: Used to manage the state of the probe that is implementing conceptual RTT control row.
498 + family: RTT/Control/State
499 unit: "{status}"
504 - family: Cisco/RTT/Operations/Status
500 mapping:
501 1: reset
502 2: orderly_stop
@@ -513,11 +508,69 @@ metrics:
508 - OID: 1.3.6.1.4.1.9.9.42.1.2.9.1.6
509 name: rttMonCtrlOperTimeoutOccurred
510 description: Indicates if a timeout occurred for the RTT operation
511 + family: RTT/Control/Timeout
512 unit: "{status}"
517 - family: Cisco/RTT/Operations/Status
513 mapping:
514 1: timeout_occurred
520 - 2: no_timeout
515 + 2: ok
516 + - OID: 1.3.6.1.4.1.9.9.42.1.2.9.1.5
517 + name: rttMonCtrlOperConnectionLostOccurred
518 + description: Indicates if a connection lost occurred for the RTT operation
519 + family: RTT/Control/ConnectionLost
520 + unit: "{status}"
521 + mapping:
522 + 1: connection_lost_occurred
523 + 2: ok
524 + - OID: 1.3.6.1.4.1.9.9.42.1.2.9.1.7
525 + name: rttMonCtrlOperOverThresholdOccurred
526 + description: Indicates if the latest RTT operation exceeded its configured threshold value
527 + family: RTT/Control/OverThreshold
528 + unit: "{status}"
529 + mapping:
530 + 1: over_threshold_occurred
531 + 2: ok
532 metric_tags:
522 - - index: 1
523 - tag: rtt_index
533 + - tag: rtt_index
534 + index: 1
535 + - tag: _rtt_owner
536 + table: rttMonCtrlAdminTable
537 + symbol:
538 + OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.2
539 + name: rttMonCtrlAdminOwner
540 + - tag: _rtt_tag
541 + table: rttMonCtrlAdminTable
542 + symbol:
543 + OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.3
544 + name: rttMonCtrlAdminTag
545 + - tag: _rtt_type
546 + table: rttMonCtrlAdminTable
547 + symbol:
548 + OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.4
549 + name: rttMonCtrlAdminRttType
550 + mapping:
551 + 1: echo
552 + 2: path_echo
553 + 3: file_io
554 + 4: script
555 + 5: udp_echo
556 + 6: tcp_connect
557 + 7: http
558 + 8: dns
559 + 9: jitter
560 + 10: dlsw
561 + 11: dhcp
562 + 12: ftp
563 + 13: voip
564 + 14: rtp
565 + 15: lsp_group
566 + 16: icmpjitter
567 + 17: lsp_ping
568 + 18: lsp_trace
569 + 19: ethernet_ping
570 + 20: ethernet_jitter
571 + 21: lsp_ping_pseudowire
572 + 22: video
573 + 23: y1731_delay
574 + 24: y1731_loss
575 + 25: mcast_jitter
576 + 26: fabric_path_echo
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-ipsec-flow-monitor.yaml
+43 -42
@@ -7,46 +7,54 @@ metrics:
7 - OID: 1.3.6.1.4.1.9.9.171.1.2.3.1.15
8 name: cikeTunLifeTime
9 description: The negotiated lifetime of the IPsec Phase-1 IKE Tunnel in seconds
10 - family: Cisco/IPsec/Tunnels/Phase1/Lifetime
10 + family: IPSec/Phase1/Tunnel/Lifetime
11 unit: "s"
12 - OID: 1.3.6.1.4.1.9.9.171.1.2.3.1.19
13 name: cikeTunInOctets
14 description: The total number of octets received by this IPsec Phase-1 IKE Tunnel
15 - family: Cisco/IPsec/Tunnels/Phase1/Traffic
15 + family: IPSec/Phase1/Tunnel/Traffic/In
16 unit: "By"
17 - OID: 1.3.6.1.4.1.9.9.171.1.2.3.1.27
18 name: cikeTunOutOctets
19 description: The total number of octets sent by this IPsec Phase-1 IKE Tunnel
20 - family: Cisco/IPsec/Tunnels/Phase1/Traffic
21 - unit: "By"
20 + family: IPSec/Phase1/Tunnel/Traffic/Out
21 + unit: "By/s"
22 - OID: 1.3.6.1.4.1.9.9.171.1.2.3.1.20
23 name: cikeTunInPkts
24 description: The total number of packets received by this IPsec Phase-1 IKE Tunnel
25 - family: Cisco/IPsec/Tunnels/Phase1/Packets
26 - unit: "{packet}"
25 + family: IPSec/Phase1/Tunnel/Packet/In
26 + unit: "{packet}/s"
27 - OID: 1.3.6.1.4.1.9.9.171.1.2.3.1.21
28 name: cikeTunInDropPkts
29 description: The total number of packets dropped by this IPsec Phase-1 IKE Tunnel during receive processing
30 - family: Cisco/IPsec/Tunnels/Phase1/Drops
31 - unit: "{drop}"
30 + family: IPSec/Phase1/Tunnel/Drop/In
31 + unit: "{drop}/s"
32 - OID: 1.3.6.1.4.1.9.9.171.1.2.3.1.28
33 name: cikeTunOutPkts
34 description: The total number of packets sent by this IPsec Phase-1 IKE Tunnel
35 - family: Cisco/IPsec/Tunnels/Phase1/Packets
36 - unit: "{packet}"
35 + family: IPSec/Phase1/Tunnel/Packet/Out
36 + unit: "{packet}/s"
37 - OID: 1.3.6.1.4.1.9.9.171.1.2.3.1.29
38 name: cikeTunOutDropPkts
39 description: The total number of packets dropped by this IPsec Phase-1 IKE Tunnel during send processing
40 - family: Cisco/IPsec/Tunnels/Phase1/Drops
41 - unit: "{drop}"
40 + family: IPSec/Phase1/Tunnel/Drop/Out
41 + unit: "{drop}/s"
42 - OID: 1.3.6.1.4.1.9.9.171.1.2.3.1.35
43 name: cikeTunStatus
44 description: The status of the IPsec Phase-1 IKE Tunnel
45 - family: Cisco/IPsec/Tunnels/Phase1/Status
45 + family: IPSec/Phase1/Tunnel/Status
46 unit: "{status}"
47 mapping:
48 1: active
49 2: destroy
50 + - OID: .3.6.1.4.1.9.9.171.1.3.2.1.3
51 + name: cipSecTunIkeTunnelAlive
52 + description: The existence status of the IPsec Phase-1 IKE Tunnel
53 + family: IPSec/Phase1/Tunnel/Existence
54 + unit: "{status}"
55 + mapping:
56 + 1: exists
57 + 2: not_exists
58 metric_tags:
59 - index: 1
60 tag: phase_1_tunnel_index
@@ -58,13 +66,6 @@ metrics:
66 symbol:
67 OID: 1.3.6.1.4.1.9.9.171.1.2.3.1.7
68 name: cikeTunRemoteValue
61 - - tag: tunnel_alive
62 - symbol:
63 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.3
64 - name: cipSecTunIkeTunnelAlive
65 - mapping:
66 - 1: true
67 - 2: false
69 - MIB: CISCO-IPSEC-FLOW-MONITOR-MIB
70 table:
71 name: cipSecTunnelTable
@@ -73,62 +74,62 @@ metrics:
74 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.9
75 name: cipSecTunLifeTime
76 description: The negotiated lifetime of the IPsec Phase-2 Tunnel in seconds.
76 - family: Cisco/IPsec/Tunnels/Phase2/Lifetime
77 + family: IPSec/Phase2/Tunnel/Lifetime
78 unit: "s"
79 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.26
80 name: cipSecTunInOctets
81 description: The total number of octets received by this IPsec Phase-2 Tunnel. This value is accumulated BEFORE determining whether or not the packet should be decompressed
81 - family: Cisco/IPsec/Tunnels/Phase2/Traffic
82 - unit: "By"
82 + family: IPSec/Phase2/Tunnel/Traffic/In
83 + unit: "By/s"
84 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.27
85 name: cipSecTunHcInOctets
86 description: A high capacity count of the total number of octets received by this IPsec Phase-2 Tunnel. This value is accumulated BEFORE determining whether or not the packet should be decompressed
86 - family: Cisco/IPsec/Tunnels/Phase2/Traffic
87 - unit: "By"
87 + family: IPSec/Phase2/Tunnel/Traffic/In
88 + unit: "By/s"
89 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.32
90 name: cipSecTunInPkts
91 description: The total number of packets received by this IPsec Phase-2 Tunnel
91 - family: Cisco/IPsec/Tunnels/Phase2/Packets
92 - unit: "{packet}"
92 + family: IPSec/Phase2/Tunnel/Packet/In
93 + unit: "{packet}/s"
94 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.36
95 name: cipSecTunInAuthFails
96 description: The total number of inbound authentications which ended in failure by this IPsec Phase-2 Tunnel
96 - family: Cisco/IPsec/Tunnels/Phase2/Errors
97 - unit: "{failure}"
97 + family: IPSec/Phase2/Tunnel/AuthFailure/In
98 + unit: "{failure}/s"
99 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.48
100 name: cipSecTunOutAuthFails
101 description: The total number of outbound authentications which ended in failure by this IPsec Phase-2 Tunnel.
101 - family: Cisco/IPsec/Tunnels/Phase2/Errors
102 - unit: "{failure}"
102 + family: IPSec/Phase2/Tunnel/AuthFailure/Out
103 + unit: "{failure}/s"
104 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.38
105 name: cipSecTunInDecryptFails
106 description: The total number of inbound decryptions which ended in failure by this IPsec Phase-2 Tunnel.
106 - family: Cisco/IPsec/Tunnels/Phase2/Errors
107 - unit: "{failure}"
107 + family: IPSec/Phase2/Tunnel/DecryptFailure/In
108 + unit: "{failure}/s"
109 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.50
110 name: cipSecTunOutEncryptFails
111 description: The total number of outbound encryptions which ended in failure by this IPsec Phase-2 Tunnel.
111 - family: Cisco/IPsec/Tunnels/Phase2/Errors
112 - unit: "{failure}"
112 + family: IPSec/Phase2/Tunnel/EncryptFailure/Out
113 + unit: "{failure}/s"
114 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.39
115 name: cipSecTunOutOctets
116 description: The total number of octets sent by this IPsec Phase-2 Tunnel. This value is accumulated AFTER determining whether or not the packet should be compressed
116 - family: Cisco/IPsec/Tunnels/Phase2/Traffic
117 - unit: "By"
117 + family: IPSec/Phase2/Tunnel/Traffic/Out
118 + unit: "By/s"
119 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.40
120 name: cipSecTunHcOutOctets
121 description: A high capacity count of the total number of octets sent by this IPsec Phase-2 Tunnel. This value is accumulated AFTER determining whether or not the packet should be compressed
121 - family: Cisco/IPsec/Tunnels/Phase2/Traffic
122 - unit: "By"
122 + family: IPSec/Phase2/Tunnel/Traffic/Out
123 + unit: "By/s"
124 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.45
125 name: cipSecTunOutPkts
126 description: The total number of packets sent by this IPsec Phase-2 Tunnel
126 - family: Cisco/IPsec/Tunnels/Phase2/Packets
127 - unit: "{packet}"
127 + family: IPSec/Phase2/Tunnel/Packet/Out
128 + unit: "{packet}/s"
129 - OID: 1.3.6.1.4.1.9.9.171.1.3.2.1.51
130 name: cipSecTunStatus
131 description: The status of the IPsec Phase-2 Tunnel
131 - family: Cisco/IPsec/Tunnels/Phase2/Status
132 + family: IPSec/Phase2/Tunnel/Status
133 unit: "{status}"
134 mapping:
135 1: active
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-metadata.yaml
+1 -1
@@ -4,7 +4,7 @@ metadata:
4 device:
5 fields:
6 vendor:
7 - value: "cisco"
7 + value: "Cisco"
8 version:
9 symbol:
10 OID: 1.3.6.1.2.1.1.1.0
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-voice.yaml
+60 -61
@@ -9,19 +9,20 @@ metrics:
9 - name: hrSWRunPerfMem
10 OID: 1.3.6.1.2.1.25.5.1.1.2
11 description: Total amount of real system memory allocated to this process
12 - family: Processes/Memory
13 - unit: "kBy"
12 + family: Process/Memory/Usage
13 + unit: "By"
14 + scale_factor: 1024
15 - name: hrSWRunPerfCPU
16 OID: 1.3.6.1.2.1.25.5.1.1.1
17 description: The number of centi-seconds of the total system's CPU resources consumed by this process
17 - family: Processes/CPU
18 + family: Process/CPU/Time
19 unit: "cs"
20 metric_tags:
20 - - symbol:
21 + - tag: run_index
22 + table: hrSWRunTable
23 + symbol:
24 name: hrSWRunIndex
25 OID: 1.3.6.1.2.1.25.4.2.1.1
23 - table: hrSWRunTable
24 - tag: run_index
26 - MIB: HOST-RESOURCES-MIB
27 table:
28 name: hrSWRunTable
@@ -30,7 +31,7 @@ metrics:
31 - name: hrSWRunStatus
32 OID: 1.3.6.1.2.1.25.4.2.1.7
33 description: The status of this running piece of software
33 - family: Processes/Status
34 + family: Process/Run/Status
35 unit: "{status}"
36 mapping:
37 1: running
@@ -38,11 +39,11 @@ metrics:
39 3: notRunnable
40 4: invalid
41 metric_tags:
41 - - symbol:
42 + - tag: run_index
43 + table: hrSWRunTable
44 + symbol:
45 name: hrSWRunIndex
46 OID: 1.3.6.1.2.1.25.4.2.1.1
44 - table: hrSWRunTable
45 - tag: run_index
47 - MIB: CISCO-CVP-MIB
48 table:
49 name: ccvpSipTable
@@ -51,39 +52,39 @@ metrics:
52 - name: ccvpSipIntAvgLatency1
53 OID: 1.3.6.1.4.1.9.9.590.1.6.1.1.5
54 description: Average period of time elapsed between the arrival of a CONNECT message from ICM and when the call is actually answered, on the first transfer request for the calls
54 - family: Cisco/Voice/CVP/Connects
55 + family: Voice/CVP/Connect/Latency
56 unit: "ms"
57 - name: ccvpSipIntAvgLatency2
58 OID: 1.3.6.1.4.1.9.9.590.1.6.1.1.6
59 description: Average period of time between the arrival of a CONNECT message from ICM and when the call is actually answered, on the second and subsequent transfer request for the call
59 - family: Cisco/Voice/CVP/Connects
60 + family: Voice/CVP/Connect/Latency
61 unit: "ms"
62 - name: ccvpSipIntConnectsRcv
63 OID: 1.3.6.1.4.1.9.9.590.1.6.1.1.4
64 description: Number of CONNECT messages received by the SIP service in order to perform a Customer Voice Portal transfer
64 - family: Cisco/Voice/CVP/Connects
65 - unit: "{connect}"
65 + family: Voice/CVP/Connect/Received
66 + unit: "{connect}/s"
67 - name: ccvpSipIntNewCalls
68 OID: 1.3.6.1.4.1.9.9.590.1.6.1.1.3
69 description: Number of SIP INVITE messages received by CVP since system start time
69 - family: Cisco/Voice/CVP/Invites
70 - unit: "{invite}"
70 + family: Voice/CVP/Invite/Received
71 + unit: "{invite}/s"
72 - name: ccvpSipRtActiveCalls
73 OID: 1.3.6.1.4.1.9.9.590.1.6.1.1.1
74 description: Number of active calls being handled by the CVP SIP service
74 - family: Cisco/Voice/CVP/Calls
75 + family: Voice/CVP/Call/Active
76 unit: "{call}"
77 - name: ccvpSipRtTotalCallLegs
78 OID: 1.3.6.1.4.1.9.9.590.1.6.1.1.2
79 description: Number of SIP call legs being handled by the SIP service
79 - family: Cisco/Voice/CVP/Calls
80 + family: Voice/CVP/CallLeg/Active
81 unit: "{call_leg}"
82 metric_tags:
82 - - symbol:
83 + - tag: service_index
84 + table: ccvpServiceTable
85 + symbol:
86 name: ccvpServiceIndex
87 OID: 1.3.6.1.4.1.9.9.590.1.5.1.1.1
85 - table: ccvpServiceTable
86 - tag: service_index
88
89 - MIB: CISCO-CVP-MIB
90 metric_type: gauge
@@ -91,14 +92,14 @@ metrics:
92 name: ccvpLicAggMaxPortsInUse
93 OID: 1.3.6.1.4.1.9.9.590.1.2.12.0
94 description: Peak number of simultaneous port licenses used since the start of the system
94 - family: Cisco/Voice/CVP/Port Licenses
95 + family: Voice/CVP/License/Port/Maximum
96 unit: "{license}"
97 - MIB: CISCO-CVP-MIB
98 symbol:
99 name: ccvpLicRtPortsInUse
100 OID: 1.3.6.1.4.1.9.9.590.1.2.2.0
101 description: Number of port licenses currently in use on the call server
101 - family: Cisco/Voice/CVP/Port Licenses
102 + family: Voice/CVP/License/Port/Current
103 unit: "{license}"
104
105 - MIB: CISCO-CCM-MIB
@@ -107,7 +108,7 @@ metrics:
108 name: ccmRegisteredGateways
109 OID: 1.3.6.1.4.1.9.9.156.1.5.8.0
110 description: Number of gateways that are registered and actively in communication with the local call manager
110 - family: Cisco/Voice/UCM/Gateways
111 + family: Voice/UCM/Gateway/Registered
112 unit: "{gateway}"
113 - MIB: CISCO-CCM-MIB
114 metric_type: gauge
@@ -115,7 +116,7 @@ metrics:
116 name: ccmRegisteredPhones
117 OID: 1.3.6.1.4.1.9.9.156.1.5.5.0
118 description: Number of phones that are registered and actively in communication with the local call manager.
118 - family: Cisco/Voice/UCM/Phones
119 + family: Voice/UCM/Phone/Registered
120 unit: "{phone}"
121 - MIB: CISCO-CCM-MIB
122 metric_type: gauge
@@ -123,7 +124,7 @@ metrics:
124 name: ccmRejectedPhones
125 OID: 1.3.6.1.4.1.9.9.156.1.5.7.0
126 description: Number of phones whose registration requests were rejected by the local call manager.
126 - family: Cisco/Voice/UCM/Phones
127 + family: Voice/UCM/Phone/Rejected
128 unit: "{reject}"
129 - MIB: CISCO-CCM-MIB
130 metric_type: gauge
@@ -131,7 +132,7 @@ metrics:
132 name: ccmUnregisteredPhones
133 OID: 1.3.6.1.4.1.9.9.156.1.5.6.0
134 description: Number of phone that are unregistered or have lost contact with the local call manager.
134 - family: Cisco/Voice/UCM/Phones
135 + family: Voice/UCM/Phone/Unregistered
136 unit: "{phone}"
137
138 - MIB: CISCO-VOICE-DIAL-CONTROL-MIB
@@ -142,21 +143,20 @@ metrics:
143 - name: cvCallVolMediaIncomingCalls
144 OID: 1.3.6.1.4.1.9.9.63.1.3.8.5.1.1
145 description: Total number of inbound active media calls through this IP interface.
145 - family: Cisco/Voice/Media Calls
146 - unit: "{call}"
146 + family: Interfaces/Voice/Call/Incoming
147 + unit: "{call}/s"
148 - name: cvCallVolMediaOutgoingCalls
149 OID: 1.3.6.1.4.1.9.9.63.1.3.8.5.1.2
150 description: Total number of outbound active media calls through the IP interface.
150 - family: Cisco/Voice/Media Calls
151 - unit: "{call}"
151 + family: Interfaces/Voice/Call/Outgoing
152 + unit: "{call}/s"
153 metric_tags:
153 - - MIB: IF-MIB
154 + - tag: interface
155 + table: ifXTable
156 + MIB: IF-MIB
157 symbol:
158 OID: 1.3.6.1.2.1.31.1.1.1.1
159 name: ifName
157 - table: ifXTable
158 - tag: interface
159 -
160 - MIB: CISCO-VOICE-DIAL-CONTROL-MIB
161 table:
162 name: cvCallVolPeerTable
@@ -165,16 +165,16 @@ metrics:
165 - name: cvCallVolPeerIncomingCalls
166 OID: 1.3.6.1.4.1.9.9.63.1.3.8.4.1.1
167 description: Total number of active calls that has selected the dialpeer as an incoming dialpeer.
168 - family: Cisco/Voice/Media Calls
168 + family: Voice/DialPeer/Call/Incoming
169 unit: "{call}"
170 - name: cvCallVolPeerOutgoingCalls
171 OID: 1.3.6.1.4.1.9.9.63.1.3.8.4.1.2
172 description: Total number of active calls that has selected the dialpeer as an outgoing dialpeer.
173 - family: Cisco/Voice/Media Calls
173 + family: Voice/DialPeer/Call/Outgoing
174 unit: "{call}"
175 metric_tags:
176 - - index: 1
177 - tag: peer_index
176 + - tag: peer_index
177 + index: 1
178
179 - MIB: DIAL-CONTROL-MIB
180 metric_type: monotonic_count
@@ -185,27 +185,26 @@ metrics:
185 - name: dialCtlPeerStatsAcceptCalls
186 OID: 1.3.6.1.2.1.10.21.1.2.2.1.5
187 description: Number of calls from this peer accepted since system startup
188 - family: Voice/Dial Peers/Calls
189 - unit: "{call}"
188 + family: Voice/DialPeer/Call/Accepted
189 + unit: "{call}/s"
190 - name: dialCtlPeerStatsFailCalls
191 OID: 1.3.6.1.2.1.10.21.1.2.2.1.4
192 description: Number of failed call attempts to this peer since system startup
193 - family: Voice/Dial Peers/Calls
194 - unit: "{call}"
193 + family: Voice/DialPeer/Call/Failed
194 + unit: "{call}/s"
195 - name: dialCtlPeerStatsRefuseCalls
196 OID: 1.3.6.1.2.1.10.21.1.2.2.1.6
197 description: Number of calls from this peer refused since system startup
198 - family: Voice/Dial Peers/Calls
199 - unit: "{call}"
198 + family: Voice/DialPeer/Call/Refused
199 + unit: "{call}/s"
200 - name: dialCtlPeerStatsSuccessCalls
201 OID: 1.3.6.1.2.1.10.21.1.2.2.1.3
202 description: Number of completed calls to this peer
203 - family: Voice/Dial Peers/Calls
204 - unit: "{call}"
203 + family: Voice/DialPeer/Call/Success
204 + unit: "{call}/s"
205 metric_tags:
206 - - index: 1
207 - tag: peer_index
208 -
206 + - tag: peer_index
207 + index: 1
208 - MIB: CISCO-CONTACT-CENTER-APPS-MIB
209 table:
210 name: cccaPimTable
@@ -214,7 +213,7 @@ metrics:
213 - name: cccaPimStatus
214 OID: 1.3.6.1.4.1.9.9.473.1.3.6.1.4
215 description: Last known status of the enterprise contact center application peripheral interface manager functional component.
217 - family: Cisco/Voice/CCA/Status
216 + family: Voice/CCA/PIM/Status
217 unit: "{status}"
218 mapping:
219 1: unknown
@@ -227,18 +226,18 @@ metrics:
226 8: uninitialized
227 9: notRoutable
228 metric_tags:
230 - - symbol:
229 + - tag: pim_num
230 + symbol:
231 OID: 1.3.6.1.4.1.9.9.473.1.3.6.1.1
232 name: cccaPimNumber
233 - tag: pim_num
234 - - symbol:
233 + - tag: pim_name
234 + symbol:
235 OID: 1.3.6.1.4.1.9.9.473.1.3.6.1.2
236 name: cccaPimPeripheralName
237 - tag: pim_name
238 - - symbol:
237 + - tag: pim_host
238 + symbol:
239 OID: 1.3.6.1.4.1.9.9.473.1.3.6.1.5
240 name: cccaPimPeripheralHostName
241 - tag: pim_host
241
242 - MIB: CISCO-CONTACT-CENTER-APPS-MIB
243 table:
@@ -248,18 +247,18 @@ metrics:
247 - name: cccaRouterAgentsLoggedOn
248 OID: 1.3.6.1.4.1.9.9.473.1.3.1.1.3
249 description: Number of contact center agents currently managed by the enterprise contact center application.
251 - family: Cisco/Voice/CCA/Agents
250 + family: Voice/CCA/Agent/LoggedOn
251 unit: "{agent}"
252 - name: cccaRouterCallsInProgress
253 OID: 1.3.6.1.4.1.9.9.473.1.3.1.1.4
254 description: Number of active (voice) calls being managed by the enterprise contact center application.
256 - family: Cisco/Voice/CCA/Calls
255 + family: Voice/CCA/Call/InProgress
256 unit: "{calls}"
257 - name: cccaRouterCallsInQueue
258 OID: 1.3.6.1.4.1.9.9.473.1.3.1.1.8
259 description: Number of calls queued in all network Voice Response Units (VRUs).
261 - family: Cisco/Voice/CCA/Calls
260 + family: Voice/CCA/Call/InQueue
261 unit: "{calls}"
262 metric_tags:
263 - tag: instance_number
265 - index: 1 # Index of cccaRouterTable is (cccaInstanceNumber, cccaComponentIndex)
264 + index: 1 # Index of cccaRouterTable is (cccaInstanceNumber, cccaComponentIndex)
\ No newline at end of file
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-wlc.yaml
+67 -67
@@ -15,7 +15,7 @@ metrics:
15 - OID: 1.3.6.1.4.1.14179.2.2.1.1.6
16 name: bsnAPOperationStatus
17 description: Operation State of the AP
18 - family: Airespace/AP/Status
18 + family: AccessPoint/Operational/Status
19 unit: "{status}"
20 mapping:
21 1: associated
@@ -24,28 +24,28 @@ metrics:
24 - OID: 1.3.6.1.4.1.14179.2.2.1.1.37
25 name: bsnAPAdminStatus
26 description: Admin State of the AP
27 - family: Airespace/AP/Status
27 + family: AccessPoint/Admin/Status
28 unit: "{status}"
29 mapping:
30 1: enable
31 2: disable
32 metric_tags:
33 - - symbol:
33 + - tag: ap_mac_address
34 + symbol:
35 OID: 1.3.6.1.4.1.14179.2.2.1.1.1
36 name: bsnAPDot3MacAddress
36 - tag: ap_mac_address
37 - - symbol:
37 + - tag: ap_name
38 + symbol:
39 OID: 1.3.6.1.4.1.14179.2.2.1.1.3
40 name: bsnAPName
40 - tag: ap_name
41 - - symbol:
41 + - tag: ap_location
42 + symbol:
43 OID: 1.3.6.1.4.1.14179.2.2.1.1.4
44 name: bsnAPLocation
44 - tag: ap_location
45 - - symbol:
45 + - tag: ap_ip_address
46 + symbol:
47 OID: 1.3.6.1.4.1.14179.2.2.1.1.19
48 name: bsnApIpAddress
48 - tag: ap_ip_address
49
50 # Connected APs 802.11 interfaces metrics
51
@@ -57,7 +57,7 @@ metrics:
57 - OID: 1.3.6.1.4.1.14179.2.2.2.1.12
58 name: bsnAPIfOperStatus
59 description: Operational status of the interface
60 - family: Airespace/AP/Interfaces/Status
60 + family: AccessPoint/Interface/Operational/Status
61 unit: "{status}"
62 mapping:
63 1: down
@@ -65,48 +65,48 @@ metrics:
65 - OID: 1.3.6.1.4.1.14179.2.2.2.1.34
66 name: bsnAPIfAdminStatus
67 description: Admin status of the interface
68 - family: Airespace/AP/Interfaces/Status
68 + family: AccessPoint/Interface/Admin/Status
69 unit: "{status}"
70 mapping:
71 1: enable
72 2: disable
73 metric_tags:
74 - - symbol:
74 + - tag: ap_if_slot_id
75 + symbol:
76 OID: 1.3.6.1.4.1.14179.2.2.2.1.1
77 name: bsnAPIfSlotId
77 - tag: ap_if_slot_id
78 - - symbol:
78 + - tag: ap_mac_address
79 + table: bsnAPTable
80 + symbol:
81 OID: 1.3.6.1.4.1.14179.2.2.1.1.1
82 name: bsnAPDot3MacAddress
81 - table: bsnAPTable
83 index_transform: # Keep only MAC address index
84 - start: 0
85 end: 5
85 - tag: ap_mac_address
86 - - symbol:
86 + - tag: ap_name
87 + table: bsnAPTable
88 + symbol:
89 OID: 1.3.6.1.4.1.14179.2.2.1.1.3
90 name: bsnAPName
89 - table: bsnAPTable
91 index_transform: # Keep only MAC address index
92 - start: 0
93 end: 5
93 - tag: ap_name
94 - - symbol:
94 + - tag: ap_location
95 + table: bsnAPTable
96 + symbol:
97 OID: 1.3.6.1.4.1.14179.2.2.1.1.4
98 name: bsnAPLocation
97 - table: bsnAPTable
99 index_transform: # Keep only MAC address index
100 - start: 0
101 end: 5
101 - tag: ap_location
102 - - symbol:
102 + - tag: ap_ip_address
103 + table: bsnAPTable
104 + symbol:
105 OID: 1.3.6.1.4.1.14179.2.2.1.1.19
106 name: bsnApIpAddress
105 - table: bsnAPTable
107 index_transform: # Keep only MAC address index
108 - start: 0
109 end: 5
109 - tag: ap_ip_address
110
111 - MIB: AIRESPACE-WIRELESS-MIB
112 table:
@@ -117,45 +117,45 @@ metrics:
117 - OID: 1.3.6.1.4.1.14179.2.2.2.1.15
118 name: bsnApIfNoOfUsers
119 description: "Number of users associated with this radio"
120 - family: Airespace/AP/Interfaces/Users
120 + family: AccessPoint/Interface/User/Count
121 unit: "{user}"
122 metric_tags:
123 - - symbol:
123 + - tag: ap_if_slot_id
124 + symbol:
125 OID: 1.3.6.1.4.1.14179.2.2.2.1.1
126 name: bsnAPIfSlotId
126 - tag: ap_if_slot_id
127 - - symbol:
127 + - tag: ap_mac_address
128 + table: bsnAPTable
129 + symbol:
130 OID: 1.3.6.1.4.1.14179.2.2.1.1.1
131 name: bsnAPDot3MacAddress
130 - table: bsnAPTable
132 index_transform: # Keep only MAC address index
133 - start: 0
134 end: 5
134 - tag: ap_mac_address
135 - - symbol:
135 + - tag: ap_name
136 + table: bsnAPTable
137 + symbol:
138 OID: 1.3.6.1.4.1.14179.2.2.1.1.3
139 name: bsnAPName
138 - table: bsnAPTable
140 index_transform: # Keep only MAC address index
141 - start: 0
142 end: 5
142 - tag: ap_name
143 - - symbol:
143 + - tag: ap_location
144 + table: bsnAPTable
145 + symbol:
146 OID: 1.3.6.1.4.1.14179.2.2.1.1.4
147 name: bsnAPLocation
146 - table: bsnAPTable
148 index_transform: # Keep only MAC address index
149 - start: 0
150 end: 5
150 - tag: ap_location
151 - - symbol:
151 + - tag: ap_ip_address
152 + table: bsnAPTable
153 + symbol:
154 OID: 1.3.6.1.4.1.14179.2.2.1.1.19
155 name: bsnApIpAddress
154 - table: bsnAPTable
156 index_transform: # Keep only MAC address index
157 - start: 0
158 end: 5
158 - tag: ap_ip_address
159
160 # Load metrics
161
@@ -167,61 +167,61 @@ metrics:
167 - OID: 1.3.6.1.4.1.14179.2.2.13.1.1
168 name: bsnAPIfLoadRxUtilization
169 description: "Percentage of time the Airespace AP receiver is busy operating on packets"
170 - family: Airespace/AP/Receiver/Utilization
170 + family: AccessPoint/Radio/Receiver/Utilization
171 unit: "%"
172 - OID: 1.3.6.1.4.1.14179.2.2.13.1.2
173 name: bsnAPIfLoadTxUtilization
174 description: "Percentage of time the Airespace AP transmitter is busy operating on packets"
175 - family: Airespace/AP/Transmitter/Utilization
175 + family: AccessPoint/Radio/Transmitter/Utilization
176 unit: "%"
177 - OID: 1.3.6.1.4.1.14179.2.2.13.1.24
178 name: bsnAPIfPoorSNRClients
179 description: "Number of clients with poor SNR attached to this Airespace AP at the last measurement interval"
180 - family: Airespace/AP/Clients
180 + family: AccessPoint/Client/PoorSNR
181 unit: "{client}"
182 - OID: 1.3.6.1.4.1.14179.2.2.13.1.3
183 name: bsnAPIfLoadChannelUtilization
184 description: "Channel utilization"
185 - family: Airespace/AP/Channel/Utilization
185 + family: AccessPoint/Radio/Channel/Utilization
186 unit: "%"
187 metric_tags:
188 - - symbol:
188 + - tag: ap_if_slot_id
189 + table: bsnAPIfTable
190 + symbol:
191 OID: 1.3.6.1.4.1.14179.2.2.2.1.1
192 name: bsnAPIfSlotId
191 - table: bsnAPIfTable
192 - tag: ap_if_slot_id
193 - - symbol:
193 + - table: bsnAPTable
194 + tag: ap_mac_address
195 + symbol:
196 OID: 1.3.6.1.4.1.14179.2.2.1.1.1
197 name: bsnAPDot3MacAddress
196 - table: bsnAPTable
198 index_transform: # Keep only MAC address index
199 - start: 0
200 end: 5
200 - tag: ap_mac_address
201 - - symbol:
201 + - tag: ap_name
202 + table: bsnAPTable
203 + symbol:
204 OID: 1.3.6.1.4.1.14179.2.2.1.1.3
205 name: bsnAPName
204 - table: bsnAPTable
206 index_transform: # Keep only MAC address index
207 - start: 0
208 end: 5
208 - tag: ap_name
209 - - symbol:
209 + - tag: ap_location
210 + table: bsnAPTable
211 + symbol:
212 OID: 1.3.6.1.4.1.14179.2.2.1.1.4
213 name: bsnAPLocation
212 - table: bsnAPTable
214 index_transform: # Keep only MAC address index
215 - start: 0
216 end: 5
216 - tag: ap_location
217 - - symbol:
217 + - tag: ap_ip_address
218 + table: bsnAPTable
219 + symbol:
220 OID: 1.3.6.1.4.1.14179.2.2.1.1.19
221 name: bsnApIpAddress
220 - table: bsnAPTable
222 index_transform: # Keep only MAC address index
223 - start: 0
224 end: 5
224 - tag: ap_ip_address
225
226 # WLAN Metrics
227
@@ -233,7 +233,7 @@ metrics:
233 - OID: 1.3.6.1.4.1.14179.2.1.1.1.6
234 name: bsnDot11EssAdminStatus
235 description: Administrative Status of ESS(WLAN)
236 - family: Airespace/AP/WLAN/Status
236 + family: WLAN/Admin/Status
237 unit: "{status}"
238 mapping:
239 0: disable
@@ -241,7 +241,7 @@ metrics:
241 - OID: 1.3.6.1.4.1.14179.2.1.1.1.60
242 name: bsnDot11EssRowStatus
243 description: Row status type for the bsnDot11EssEntry
244 - family: Airespace/AP/WLAN/Status
244 + family: WLAN/Row/Status
245 unit: "{status}"
246 mapping:
247 1: active
@@ -253,14 +253,14 @@ metrics:
253 - OID: 1.3.6.1.4.1.14179.2.1.1.1.38
254 name: bsnDot11EssNumberOfMobileStations
255 description: Number of mobile stations currently associated with the WLAN
256 - family: Airespace/AP/WLAN/Mobile Stations
256 + family: WLAN/Station/Count
257 unit: "{station}"
258 metric_tags:
259 - - symbol:
259 + - tag: wlan_index
260 + symbol:
261 OID: 1.3.6.1.4.1.14179.2.1.1.1.1
262 name: bsnDot11EssIndex
262 - tag: wlan_index
263 - - symbol:
263 + - tag: ssid
264 + symbol:
265 OID: 1.3.6.1.4.1.14179.2.1.1.1.2
266 name: bsnDot11EssSsid
266 - tag: ssid
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_generic-tcp.yaml
+19 -28
@@ -6,77 +6,68 @@ metrics:
6 OID: 1.3.6.1.2.1.6.9.0
7 name: tcpCurrEstab
8 description: Current TCP connections in ESTABLISHED or CLOSE-WAIT state
9 - family: Network/IP/TCP/Connections
9 + family: Network/TCP/Connection/Current
10 unit: "{connection}"
11 - MIB: TCP-MIB
12 symbol:
13 OID: 1.3.6.1.2.1.6.5.0
14 name: tcpActiveOpens
15 description: TCP connections transitioning from CLOSED to SYN-SENT
16 - family: Network/IP/TCP/Connections
17 - unit: "{transition}"
18 - metric_type: monotonic_count
16 + family: Network/TCP/Connection/ActiveOpen
17 + unit: "{transition}/s"
18 - MIB: TCP-MIB
19 symbol:
20 OID: 1.3.6.1.2.1.6.6.0
21 name: tcpPassiveOpens
22 description: TCP connections transitioning from LISTEN to SYN-RCVD
24 - family: Network/IP/TCP/Connections
25 - unit: "{transition}"
26 - metric_type: monotonic_count
23 + family: Network/TCP/Connection/PassiveOpen
24 + unit: "{transition}/s"
25 - MIB: TCP-MIB
26 symbol:
27 OID: 1.3.6.1.2.1.6.17.0
28 name: tcpHCInSegs
29 description: TCP segments received
32 - family: Network/IP/TCP/Packets
33 - unit: "{packet}"
34 - metric_type: monotonic_count
30 + family: Network/TCP/Segment/In
31 + unit: "{packet}/s"
32 - MIB: TCP-MIB
33 symbol:
34 OID: 1.3.6.1.2.1.6.18.0
35 name: tcpHCOutSegs
36 description: TCP segments sent
40 - family: Network/IP/TCP/Packets
41 - unit: "{packet}"
42 - metric_type: monotonic_count
37 + family: Network/TCP/Segment/Out
38 + unit: "{packet}/s"
39 - MIB: TCP-MIB
40 symbol:
41 OID: 1.3.6.1.2.1.6.14.0
42 name: tcpInErrs
43 description: TCP segments received with errors
48 - family: Network/IP/TCP/Errors
49 - unit: "{error}"
50 - metric_type: monotonic_count
44 + family: Network/TCP/Error/In
45 + unit: "{error}/s"
46 - MIB: TCP-MIB
47 symbol:
48 OID: 1.3.6.1.2.1.6.7.0
49 name: tcpAttemptFails
50 description: Failed TCP connection attempts
56 - family: Network/IP/TCP/Errors
57 - unit: "{failure}"
58 - metric_type: monotonic_count
51 + family: Network/TCP/Connection/Failed
52 + unit: "{failure}/s"
53 - MIB: TCP-MIB
54 symbol:
55 OID: 1.3.6.1.2.1.6.8.0
56 name: tcpEstabResets
57 description: TCP connections reset from ESTABLISHED/CLOSE-WAIT
64 - family: Network/IP/TCP/Errors
65 - unit: "{transition}"
66 - metric_type: monotonic_count
58 + family: Network/TCP/Reset/Connection
59 + unit: "{reset}/s"
60 - MIB: TCP-MIB
61 symbol:
62 OID: 1.3.6.1.2.1.6.15.0
63 name: tcpOutRsts
64 description: TCP segments sent with RST flag
72 - family: Network/IP/TCP/Errors
73 - unit: "{reset}"
74 - metric_type: monotonic_count
65 + family: Network/TCP/Reset/Out
66 + unit: "{reset}/s"
67 - MIB: TCP-MIB
68 symbol:
69 OID: 1.3.6.1.2.1.6.12.0
70 name: tcpRetransSegs
71 description: TCP segments retransmitted
80 - family: Network/IP/TCP/Retransmits
81 - unit: "{retransmit}"
82 - metric_type: monotonic_count
72 + family: Network/TCP/Retransmit/Out
73 + unit: "{retransmit}/s"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_generic-udp.yaml
+9 -13
@@ -6,30 +6,26 @@ metrics:
6 OID: 1.3.6.1.2.1.7.8.0
7 name: udpHCInDatagrams
8 description: UDP datagrams received
9 - family: Network/IP/UDP/Packets
10 - unit: "{packet}"
11 - metric_type: monotonic_count
9 + family: Network/UDP/Datagram/In
10 + unit: "{packet}/s"
11 - MIB: UDP-MIB
12 symbol:
13 OID: 1.3.6.1.2.1.7.9.0
14 name: udpHCOutDatagrams
15 description: UDP datagrams sent
17 - family: Network/IP/UDP/Packets
18 - unit: "{packet}"
19 - metric_type: monotonic_count
16 + family: Network/UDP/Datagram/Out
17 + unit: "{packet}/s"
18 - MIB: UDP-MIB
19 symbol:
20 OID: 1.3.6.1.2.1.7.3.0
21 name: udpInErrors
24 - description: UDP datagrams received but couldn’t be delivered (not due to missing app)
25 - family: Network/IP/UDP/Errors
26 - unit: "{error}"
27 - metric_type: monotonic_count
22 + description: UDP datagrams received but couldn't be delivered (not due to missing app)
23 + family: Network/UDP/Error/In
24 + unit: "{error}/s"
25 - MIB: UDP-MIB
26 symbol:
27 OID: 1.3.6.1.2.1.7.2.0
28 name: udpNoPorts
29 description: UDP datagrams received with no app on the destination port
33 - family: Network/IP/UDP/Errors
34 - unit: "{error}"
35 - metric_type: monotonic_count
30 + family: Network/UDP/Error/NoPort
31 + unit: "{error}/s"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-3850.yaml
+8 -9
@@ -1,19 +1,16 @@
1 # Backward compatibility shim. Prefer the Cisco Catalyst profile directly
2 # Profile for Cisco 3850 devices
3
4 -extends:
5 - - _base.yaml
6 - - _cisco-generic.yaml
7 - - _cisco-catalyst.yaml
8 -
4 sysobjectid: 1.3.6.1.4.1.9.1.1745 # cat38xxstack
5
11 -device:
12 - vendor: "cisco"
13 -
6 # Example sysDescr:
7 # Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.06.06E RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Sat 17-Dec-
8
9 +extends:
10 + - _base.yaml
11 + - _cisco-generic.yaml
12 + - _cisco-catalyst.yaml
13 +
14 metadata:
15 device:
16 fields:
@@ -23,4 +20,6 @@ metadata:
20 OID: 1.3.6.1.4.1.9.3.6.3.0
21 name: chassisId
22 type:
26 - value: "switch"
23 + value: Switch
24 + vendor:
25 + value: Cisco
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-access-point.yaml
+39 -40
@@ -1,15 +1,20 @@
1 extends:
2 - cisco.yaml
3 -sysobjectid:
4 - - 1.3.6.1.4.1.9.1.525 # Cisco AIR AP 1210
5 - - 1.3.6.1.4.1.9.1.618 # Cisco AIR AP 1130
6 - - 1.3.6.1.4.1.9.1.1660 # AIR-SAP1602E-C-K9
7 - - 1.3.6.1.4.1.9.1.2371 # Cisco Aironet 1830
3 +
4 metadata:
5 device:
6 fields:
7 type:
12 - value: "access_point"
8 + value: Access Point
9 + vendor:
10 + value: Cisco
11 +
12 +sysobjectid:
13 + - 1.3.6.1.4.1.9.1.525 # Cisco AIR AP 1210
14 + - 1.3.6.1.4.1.9.1.618 # Cisco AIR AP 1130
15 + - 1.3.6.1.4.1.9.1.1660 # AIR-SAP1602E-C-K9
16 + - 1.3.6.1.4.1.9.1.2371 # Cisco Aironet 1830
17 +
18 metrics:
19 - MIB: CISCO-DOT11-ASSOCIATION-MIB
20 table:
@@ -18,58 +23,52 @@ metrics:
23 symbols:
24 - name: cDot11ActiveWirelessClients
25 OID: 1.3.6.1.4.1.9.9.273.1.1.2.1.1
21 - description: "Number of wireless clients currently associating with this device on this interface."
22 - unit: "{wireless_client}"
26 + description: Number of wireless clients currently associating with this device on this interface
27 + family: Interfaces/Wireless/Client/Active
28 + unit: "{client}"
29 - name: cDot11ActiveBridges
30 OID: 1.3.6.1.4.1.9.9.273.1.1.2.1.2
25 - description: "Number of bridges currently associating with this device on this interface."
31 + description: Number of bridges currently associating with this device on this interface
32 + family: Interfaces/Wireless/Bridge/Active
33 unit: "{bridge}"
34 - name: cDot11ActiveRepeaters
35 OID: 1.3.6.1.4.1.9.9.273.1.1.2.1.3
29 - description: "Number of repeaters currently associating with this device on this interface."
36 + description: Number of repeaters currently associating with this device on this interface
37 + family: Interfaces/Wireless/Repeater/Active
38 unit: "{repeater}"
31 - metric_tags:
32 - - tag: if_name
33 - symbol:
34 - name: ifName
35 - OID: 1.3.6.1.2.1.31.1.1.1.1
36 - - MIB: CISCO-DOT11-ASSOCIATION-MIB
37 - table:
38 - name: cDot11AssociationStatsTable
39 - OID: 1.3.6.1.4.1.9.9.273.1.1.3
40 - symbols:
39 - name: cDot11AssStatsAssociated
40 OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.1
43 - metric_type: monotonic_count
44 - description: "Number of stations associated with this device on this interface since device re-started."
45 - unit: "{station}"
41 + description: Number of stations associated with this device on this interface since device re-started
42 + family: Interfaces/Wireless/Station/Associated
43 + unit: "{station}/s"
44 - name: cDot11AssStatsAuthenticated
45 OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.2
48 - metric_type: monotonic_count
49 - description: "Number of stations authenticated with this device on this interface since device re-started."
50 - unit: "{station}"
46 + description: Number of stations authenticated with this device on this interface since device re-started
47 + family: Interfaces/Wireless/Station/Authenticated
48 + unit: "{station}/s"
49 - name: cDot11AssStatsRoamedIn
50 OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.3
53 - metric_type: monotonic_count
54 - description: "Number of stations roamed from another device to this device on this interface since device re-started."
55 - unit: "{station}"
51 + description: Number of stations roamed from another device to this device on this interface since device re-started
52 + family: Interfaces/Wireless/Station/RoamedIn
53 + unit: "{station}/s"
54 - name: cDot11AssStatsRoamedAway
55 OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.4
58 - metric_type: monotonic_count
59 - description: "Number of stations roamed away from this device on this interface since device re-started."
60 - unit: "{station}"
56 + description: Number of stations roamed away from this device on this interface since device re-started
57 + family: Interfaces/Wireless/Station/RoamedOut
58 + unit: "{station}/s"
59 - name: cDot11AssStatsDeauthenticated
60 OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.5
63 - metric_type: monotonic_count
64 - description: "Number of stations deauthenticated with this device on this interface since device re-started."
65 - unit: "{station}"
61 + description: Number of stations deauthenticated with this device on this interface since device re-started
62 + family: Interfaces/Wireless/Station/Deauthenticated
63 + unit: "{station}/s"
64 - name: cDot11AssStatsDisassociated
65 OID: 1.3.6.1.4.1.9.9.273.1.1.3.1.6
68 - metric_type: monotonic_count
69 - description: "Number of stations disassociated with this device on this interface since device re-started."
70 - unit: "{station}"
66 + description: Number of stations disassociated with this device on this interface since device re-started
67 + family: Interfaces/Wireless/Station/Disassociated
68 + unit: "{station}/s"
69 metric_tags:
72 - - tag: if_name
70 + - tag: interface
71 + table: ifXTable
72 symbol:
74 - name: ifName
73 OID: 1.3.6.1.2.1.31.1.1.1.1
74 + name: ifName
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-asa-5525.yaml deleted
-21
@@ -1,21 +0,0 @@
1 -# Profile for Cisco ASA 5525 devices
2 -# We need to keep cisco-asa-5525.yaml separated to keep backward compatibility,
3 -# moving ciscoASA5525 to cisco-asa.yaml will trigger duplicate sysObjectID error.
4 -#
5 -# Example sysDescr for device `1.3.6.1.4.1.9.1.1408`
6 -# "Cisco Adaptive Security Appliance Version 9.12(3)12"
7 -
8 -extends:
9 - - _base.yaml
10 - - _cisco-asa.yaml
11 -
12 -device:
13 - vendor: "cisco"
14 -
15 -sysobjectid: 1.3.6.1.4.1.9.1.1408 # ciscoASA5525
16 -
17 -metadata:
18 - device:
19 - fields:
20 - type:
21 - value: "firewall"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-asa.yaml
+8 -8
@@ -4,8 +4,13 @@ extends:
4 - _base.yaml
5 - _cisco-asa.yaml
6
7 -device:
8 - vendor: "cisco"
7 +metadata:
8 + device:
9 + fields:
10 + type:
11 + value: Firewall
12 + vendor:
13 + value: Cisco
14
15 sysobjectid:
16 - 1.3.6.1.4.1.9.1.669 # ciscoASA5510
@@ -64,6 +69,7 @@ sysobjectid:
69 - 1.3.6.1.4.1.9.1.1335 # ciscoASASm1K7sy
70 - 1.3.6.1.4.1.9.1.1336 # ciscoASASm1K7
71 - 1.3.6.1.4.1.9.1.1407 # ciscoASA5512
72 + - 1.3.6.1.4.1.9.1.1408 # ciscoASA5525
73 - 1.3.6.1.4.1.9.1.1409 # ciscoASA5545
74 - 1.3.6.1.4.1.9.1.1410 # ciscoASA5555
75 - 1.3.6.1.4.1.9.1.1411 # ciscoASA5512sc
@@ -133,9 +139,3 @@ sysobjectid:
139 - 1.3.6.1.4.1.9.1.2304 # ciscoASA5506Htd
140 - 1.3.6.1.4.1.9.1.2305 # ciscoASA5508td
141 - 1.3.6.1.4.1.9.1.2306 # ciscoASA5516td
136 -
137 -metadata:
138 - device:
139 - fields:
140 - type:
141 - value: "firewall"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-asr.yaml
+11 -12
@@ -4,14 +4,19 @@ extends:
4 - _base.yaml
5 - _cisco-generic.yaml
6
7 -device:
8 - vendor: "cisco"
7 +metadata:
8 + device:
9 + fields:
10 + type:
11 + value: Router
12 + vendor:
13 + value: Cisco
14
15 sysobjectid:
11 - - 1.3.6.1.4.1.9.1.403 # ciscoASR7401
12 - - 1.3.6.1.4.1.9.1.923 # ciscoASR1002
13 - - 1.3.6.1.4.1.9.1.924 # ciscoASR1004
14 - - 1.3.6.1.4.1.9.1.925 # ciscoASR1006
16 + - 1.3.6.1.4.1.9.1.403 # ciscoASR7401
17 + - 1.3.6.1.4.1.9.1.923 # ciscoASR1002
18 + - 1.3.6.1.4.1.9.1.924 # ciscoASR1004
19 + - 1.3.6.1.4.1.9.1.925 # ciscoASR1006
20 - 1.3.6.1.4.1.9.1.1017 # ciscoASR9010
21 - 1.3.6.1.4.1.9.1.1018 # ciscoASR9006
22 - 1.3.6.1.4.1.9.1.1036 # ciscoASR14K4S
@@ -84,9 +89,3 @@ sysobjectid:
89 - 1.3.6.1.4.1.9.1.2705 # ciscoASR92020SZM
90 - 1.3.6.1.4.1.9.1.3075 # ciscoASR9903
91 - 1.3.6.1.4.1.9.1.3090 # ciscoASR9902
87 -
88 -metadata:
89 - device:
90 - fields:
91 - type:
92 - value: "router"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-catalyst-wlc.yaml
+7 -8
@@ -7,8 +7,13 @@ extends:
7 - _cisco-catalyst.yaml
8 - _cisco-wlc.yaml
9
10 -device:
11 - vendor: "cisco"
10 +metadata:
11 + device:
12 + fields:
13 + type:
14 + value: WLC
15 + vendor:
16 + value: Cisco
17
18 sysobjectid:
19 - 1.3.6.1.4.1.9.1.2025 # cisco5700WLC
@@ -20,9 +25,3 @@ sysobjectid:
25 - 1.3.6.1.4.1.9.1.2825 # ciscoCMeWlc
26 - 1.3.6.1.4.1.9.1.2860 # ciscoC9800LCK9
27 - 1.3.6.1.4.1.9.1.2861 # ciscoC9800LFK9
23 -
24 -metadata:
25 - device:
26 - fields:
27 - type:
28 - value: "WLC"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-catalyst.yaml
+197 -198
@@ -5,208 +5,207 @@ extends:
5 - _cisco-generic.yaml
6 - _cisco-catalyst.yaml
7
8 -device:
9 - vendor: "cisco"
10 -
8 metadata:
9 device:
10 fields:
11 type:
15 - value: "switch"
12 + value: Switch
13 + vendor:
14 + value: Cisco
15
16 sysobjectid:
18 - - 1.3.6.1.4.1.9.1.111 # ciscoCatalyst3500
19 - - 1.3.6.1.4.1.9.1.150 # catalyst116T
20 - - 1.3.6.1.4.1.9.1.151 # catalyst116C
21 - - 1.3.6.1.4.1.9.1.152 # catalyst1116
22 - - 1.3.6.1.4.1.9.1.170 # catalyst2908xl
23 - - 1.3.6.1.4.1.9.1.171 # catalyst2916mxl
24 - - 1.3.6.1.4.1.9.1.175 # catalyst1912C
25 - - 1.3.6.1.4.1.9.1.183 # catalyst2924XL
26 - - 1.3.6.1.4.1.9.1.184 # catalyst2924CXL
27 - - 1.3.6.1.4.1.9.1.190 # cisco8510
28 - - 1.3.6.1.4.1.9.1.196 # cisco8515
29 - - 1.3.6.1.4.1.9.1.197 # catalyst9006
30 - - 1.3.6.1.4.1.9.1.198 # catalyst9009
31 - - 1.3.6.1.4.1.9.1.202 # catalyst8540msr
32 - - 1.3.6.1.4.1.9.1.203 # catalyst8540csr
33 - - 1.3.6.1.4.1.9.1.217 # catalyst2924XLv
34 - - 1.3.6.1.4.1.9.1.218 # catalyst2924CXLv
35 - - 1.3.6.1.4.1.9.1.219 # catalyst2912XL
36 - - 1.3.6.1.4.1.9.1.220 # catalyst2924MXL
37 - - 1.3.6.1.4.1.9.1.221 # catalyst2912MfXL
38 - - 1.3.6.1.4.1.9.1.230 # catalyst8510msr
39 - - 1.3.6.1.4.1.9.1.231 # catalyst8515msr
40 - - 1.3.6.1.4.1.9.1.241 # ciscoCat6000
41 - - 1.3.6.1.4.1.9.1.246 # catalyst3508GXL
42 - - 1.3.6.1.4.1.9.1.247 # catalyst3512XL
43 - - 1.3.6.1.4.1.9.1.248 # catalyst3524XL
44 - - 1.3.6.1.4.1.9.1.256 # ciscoWSX6302Msm
45 - - 1.3.6.1.4.1.9.1.257 # catalyst5kRsfc
46 - - 1.3.6.1.4.1.9.1.258 # catalyst6kMsfc
47 - - 1.3.6.1.4.1.9.1.275 # cat2948gL3
48 - - 1.3.6.1.4.1.9.1.278 # cat3548XL
49 - - 1.3.6.1.4.1.9.1.280 # cat6006
50 - - 1.3.6.1.4.1.9.1.281 # cat6009
51 - - 1.3.6.1.4.1.9.1.282 # cat6506
52 - - 1.3.6.1.4.1.9.1.283 # cat6509
53 - - 1.3.6.1.4.1.9.1.287 # cat3524tXLEn
54 - - 1.3.6.1.4.1.9.1.298 # cat4908gL3
55 - - 1.3.6.1.4.1.9.1.300 # cat4232L3
56 - - 1.3.6.1.4.1.9.1.301 # catalyst6kMsfc2
57 - - 1.3.6.1.4.1.9.1.310 # cat6509Sp
58 - - 1.3.6.1.4.1.9.1.312 # cat4840gL3
59 - - 1.3.6.1.4.1.9.1.318 # catalyst4kGateway
60 - - 1.3.6.1.4.1.9.1.323 # catalyst295012
61 - - 1.3.6.1.4.1.9.1.324 # catalyst295024
62 - - 1.3.6.1.4.1.9.1.325 # catalyst295024C
63 - - 1.3.6.1.4.1.9.1.359 # catalyst2950t24
64 - - 1.3.6.1.4.1.9.1.366 # catalyst355024
65 - - 1.3.6.1.4.1.9.1.367 # catalyst355048
66 - - 1.3.6.1.4.1.9.1.368 # catalyst355012T
67 - - 1.3.6.1.4.1.9.1.369 # catalyst2924LREXL
68 - - 1.3.6.1.4.1.9.1.370 # catalyst2912LREXL
69 - - 1.3.6.1.4.1.9.1.386 # cat2948gL3Dc
70 - - 1.3.6.1.4.1.9.1.387 # cat4908gL3Dc
71 - - 1.3.6.1.4.1.9.1.400 # ciscoWSC6513
72 - - 1.3.6.1.4.1.9.1.427 # catalyst295012G
73 - - 1.3.6.1.4.1.9.1.428 # catalyst295024G
74 - - 1.3.6.1.4.1.9.1.429 # catalyst295048G
75 - - 1.3.6.1.4.1.9.1.430 # catalyst295024S
76 - - 1.3.6.1.4.1.9.1.431 # catalyst355012G
77 - - 1.3.6.1.4.1.9.1.445 # cat4000Sup3
78 - - 1.3.6.1.4.1.9.1.448 # cat4006
79 - - 1.3.6.1.4.1.9.1.449 # ciscoWSC6503
80 - - 1.3.6.1.4.1.9.1.452 # cat355024Dc
81 - - 1.3.6.1.4.1.9.1.453 # cat355024Mmf
82 - - 1.3.6.1.4.1.9.1.472 # catalyst295024GDC
83 - - 1.3.6.1.4.1.9.1.480 # catalyst295024SX
84 - - 1.3.6.1.4.1.9.1.482 # catalyst295024LRESt
85 - - 1.3.6.1.4.1.9.1.483 # catalyst29508LRESt
86 - - 1.3.6.1.4.1.9.1.484 # catalyst295024LREG
87 - - 1.3.6.1.4.1.9.1.485 # catalyst355024PWR
88 - - 1.3.6.1.4.1.9.1.488 # catalyst2955T12
89 - - 1.3.6.1.4.1.9.1.489 # catalyst2955C12
90 - - 1.3.6.1.4.1.9.1.501 # cat4507
91 - - 1.3.6.1.4.1.9.1.502 # cat4506
92 - - 1.3.6.1.4.1.9.1.503 # cat4503
93 - - 1.3.6.1.4.1.9.1.508 # catalyst2955S12
94 - - 1.3.6.1.4.1.9.1.510 # ciscoWSC65509
95 - - 1.3.6.1.4.1.9.1.511 # catalyst375024
96 - - 1.3.6.1.4.1.9.1.512 # catalyst375048
97 - - 1.3.6.1.4.1.9.1.513 # catalyst375024TS
98 - - 1.3.6.1.4.1.9.1.514 # catalyst375024T
99 - - 1.3.6.1.4.1.9.1.516 # catalyst37xxStack
100 - - 1.3.6.1.4.1.9.1.522 # cat6500FirewallSm
101 - - 1.3.6.1.4.1.9.1.527 # catalyst297024
102 - - 1.3.6.1.4.1.9.1.530 # catalyst3750Ge12Sfp
103 - - 1.3.6.1.4.1.9.1.534 # ciscoWSC6509neba
104 - - 1.3.6.1.4.1.9.1.535 # catalyst375048PS
105 - - 1.3.6.1.4.1.9.1.536 # catalyst375024PS
106 - - 1.3.6.1.4.1.9.1.537 # catalyst4510
107 - - 1.3.6.1.4.1.9.1.540 # catalyst29408TT
108 - - 1.3.6.1.4.1.9.1.542 # catalyst29408TF
109 - - 1.3.6.1.4.1.9.1.551 # catalyst2950St24LRE997
110 - - 1.3.6.1.4.1.9.1.554 # cat6500SslSm
111 - - 1.3.6.1.4.1.9.1.557 # catalyst6kSup720
112 - - 1.3.6.1.4.1.9.1.559 # catalyst295048T
113 - - 1.3.6.1.4.1.9.1.560 # catalyst295048SX
114 - - 1.3.6.1.4.1.9.1.561 # catalyst297024TS
115 - - 1.3.6.1.4.1.9.1.563 # catalyst356024PS
116 - - 1.3.6.1.4.1.9.1.564 # catalyst356048PS
117 - - 1.3.6.1.4.1.9.1.573 # catalyst6kGateway
118 - - 1.3.6.1.4.1.9.1.574 # catalyst375024ME
119 - - 1.3.6.1.4.1.9.1.575 # catalyst4000NAM
120 - - 1.3.6.1.4.1.9.1.591 # catalyst3750G16TD
121 - - 1.3.6.1.4.1.9.1.602 # catalyst3750G24PS
122 - - 1.3.6.1.4.1.9.1.603 # catalyst3750G48PS
123 - - 1.3.6.1.4.1.9.1.604 # catalyst3750G48TS
124 - - 1.3.6.1.4.1.9.1.614 # catalyst3560G24PS
125 - - 1.3.6.1.4.1.9.1.615 # catalyst3560G24TS
126 - - 1.3.6.1.4.1.9.1.616 # catalyst3560G48PS
127 - - 1.3.6.1.4.1.9.1.617 # catalyst3560G48TS
128 - - 1.3.6.1.4.1.9.1.624 # catalyst3750G24TS1U
129 - - 1.3.6.1.4.1.9.1.626 # catalyst4948
130 - - 1.3.6.1.4.1.9.1.633 # catalyst356024TS
131 - - 1.3.6.1.4.1.9.1.634 # catalyst356048TS
132 - - 1.3.6.1.4.1.9.1.656 # catalyst375024FS
133 - - 1.3.6.1.4.1.9.1.657 # ciscoWSC6504E
134 - - 1.3.6.1.4.1.9.1.659 # catalyst494810GE
135 - - 1.3.6.1.4.1.9.1.674 # ciscoWsSvcFwm1sc
136 - - 1.3.6.1.4.1.9.1.688 # catalyst3750Ge12SfpDc
137 - - 1.3.6.1.4.1.9.1.694 # catalyst296024
138 - - 1.3.6.1.4.1.9.1.695 # catalyst296048
139 - - 1.3.6.1.4.1.9.1.696 # catalyst2960G24
140 - - 1.3.6.1.4.1.9.1.697 # catalyst2960G48
141 - - 1.3.6.1.4.1.9.1.698 # catalyst45503
142 - - 1.3.6.1.4.1.9.1.699 # catalyst45506
143 - - 1.3.6.1.4.1.9.1.700 # catalyst45507
144 - - 1.3.6.1.4.1.9.1.701 # catalyst455010
145 - - 1.3.6.1.4.1.9.1.706 # catalyst6kMsfc2a
146 - - 1.3.6.1.4.1.9.1.716 # catalyst296024TT
147 - - 1.3.6.1.4.1.9.1.717 # catalyst296048TT
148 - - 1.3.6.1.4.1.9.1.724 # catalystsExpress50024TT
149 - - 1.3.6.1.4.1.9.1.725 # catalystsExpress50024LC
150 - - 1.3.6.1.4.1.9.1.726 # catalystsExpress50024PC
151 - - 1.3.6.1.4.1.9.1.727 # catalystsExpress50012TC
152 - - 1.3.6.1.4.1.9.1.748 # ciscoWs3020Hpq
153 - - 1.3.6.1.4.1.9.1.749 # ciscoWs3030Del
154 - - 1.3.6.1.4.1.9.1.751 # catalyst6kEnhancedGateway
155 - - 1.3.6.1.4.1.9.1.755 # ciscoNMAONWS
156 - - 1.3.6.1.4.1.9.1.767 # ciscoWsSvcFwm1sy
157 - - 1.3.6.1.4.1.9.1.778 # catalyst3750G24WS25
158 - - 1.3.6.1.4.1.9.1.779 # catalyst3750G24WS50
159 - - 1.3.6.1.4.1.9.1.784 # catalystWsCBS3040FSC
160 - - 1.3.6.1.4.1.9.1.789 # catalyst3750E24TD
161 - - 1.3.6.1.4.1.9.1.790 # catalyst3750E48TD
162 - - 1.3.6.1.4.1.9.1.791 # catalyst3750E48PD
163 - - 1.3.6.1.4.1.9.1.792 # catalyst3750E24PD
164 - - 1.3.6.1.4.1.9.1.793 # catalyst3560E24TD
165 - - 1.3.6.1.4.1.9.1.794 # catalyst3560E48TD
166 - - 1.3.6.1.4.1.9.1.795 # catalyst3560E24PD
167 - - 1.3.6.1.4.1.9.1.796 # catalyst3560E48PD
168 - - 1.3.6.1.4.1.9.1.797 # catalyst35608PC
169 - - 1.3.6.1.4.1.9.1.798 # catalyst29608TC
170 - - 1.3.6.1.4.1.9.1.799 # catalyst2960G8TC
171 - - 1.3.6.1.4.1.9.1.832 # ciscoWSC6509ve
172 - - 1.3.6.1.4.1.9.1.868 # ciscoUC500
173 - - 1.3.6.1.4.1.9.1.874 # catalyst4503e
174 - - 1.3.6.1.4.1.9.1.875 # catalyst4506e
175 - - 1.3.6.1.4.1.9.1.876 # catalyst4507re
176 - - 1.3.6.1.4.1.9.1.877 # catalyst4510re
177 - - 1.3.6.1.4.1.9.1.896 # catalyst65xxVirtualSwitch
178 - - 1.3.6.1.4.1.9.1.897 # catalystExpress5208PC
179 - - 1.3.6.1.4.1.9.1.909 # ciscoWsCbs3110gS
180 - - 1.3.6.1.4.1.9.1.910 # ciscoWsCbs3110gSt
181 - - 1.3.6.1.4.1.9.1.911 # ciscoWsCbs3110xS
182 - - 1.3.6.1.4.1.9.1.912 # ciscoWsCbs3110xSt
183 - - 1.3.6.1.4.1.9.1.917 # cat4900M
184 - - 1.3.6.1.4.1.9.1.918 # catWsCbs3120gS
185 - - 1.3.6.1.4.1.9.1.919 # catWsCbs3120xS
186 - - 1.3.6.1.4.1.9.1.920 # catWsCbs3032Del
187 - - 1.3.6.1.4.1.9.1.921 # catWsCbs3130gS
188 - - 1.3.6.1.4.1.9.1.922 # catWsCbs3130xS
189 - - 1.3.6.1.4.1.9.1.927 # cat296048TCS
190 - - 1.3.6.1.4.1.9.1.928 # cat296024TCS
191 - - 1.3.6.1.4.1.9.1.929 # cat296024S
192 - - 1.3.6.1.4.1.9.1.930 # cat3560e12d
193 - - 1.3.6.1.4.1.9.1.932 # catExpress52024TT
194 - - 1.3.6.1.4.1.9.1.933 # catExpress52024LC
195 - - 1.3.6.1.4.1.9.1.934 # catExpress52024PC
196 - - 1.3.6.1.4.1.9.1.935 # catExpress520G24TC
197 - - 1.3.6.1.4.1.9.1.946 # ciscoCBS3100
198 - - 1.3.6.1.4.1.9.1.947 # ciscoCBS3110
199 - - 1.3.6.1.4.1.9.1.948 # ciscoCBS3120
200 - - 1.3.6.1.4.1.9.1.949 # ciscoCBS3130
201 - - 1.3.6.1.4.1.9.1.950 # catalyst296024PC
202 - - 1.3.6.1.4.1.9.1.951 # catalyst296024LT
203 - - 1.3.6.1.4.1.9.1.952 # catalyst2960PD8TT
204 - - 1.3.6.1.4.1.9.1.956 # catalyst3560E12SD
205 - - 1.3.6.1.4.1.9.1.965 # catalyst291824TT
206 - - 1.3.6.1.4.1.9.1.966 # catalyst291824TC
207 - - 1.3.6.1.4.1.9.1.967 # catalyst291848TT
208 - - 1.3.6.1.4.1.9.1.968 # catalyst291848TC
209 - - 1.3.6.1.4.1.9.1.999 # ciscoWsCbs3012Ibm
17 + - 1.3.6.1.4.1.9.1.111 # ciscoCatalyst3500
18 + - 1.3.6.1.4.1.9.1.150 # catalyst116T
19 + - 1.3.6.1.4.1.9.1.151 # catalyst116C
20 + - 1.3.6.1.4.1.9.1.152 # catalyst1116
21 + - 1.3.6.1.4.1.9.1.170 # catalyst2908xl
22 + - 1.3.6.1.4.1.9.1.171 # catalyst2916mxl
23 + - 1.3.6.1.4.1.9.1.175 # catalyst1912C
24 + - 1.3.6.1.4.1.9.1.183 # catalyst2924XL
25 + - 1.3.6.1.4.1.9.1.184 # catalyst2924CXL
26 + - 1.3.6.1.4.1.9.1.190 # cisco8510
27 + - 1.3.6.1.4.1.9.1.196 # cisco8515
28 + - 1.3.6.1.4.1.9.1.197 # catalyst9006
29 + - 1.3.6.1.4.1.9.1.198 # catalyst9009
30 + - 1.3.6.1.4.1.9.1.202 # catalyst8540msr
31 + - 1.3.6.1.4.1.9.1.203 # catalyst8540csr
32 + - 1.3.6.1.4.1.9.1.217 # catalyst2924XLv
33 + - 1.3.6.1.4.1.9.1.218 # catalyst2924CXLv
34 + - 1.3.6.1.4.1.9.1.219 # catalyst2912XL
35 + - 1.3.6.1.4.1.9.1.220 # catalyst2924MXL
36 + - 1.3.6.1.4.1.9.1.221 # catalyst2912MfXL
37 + - 1.3.6.1.4.1.9.1.230 # catalyst8510msr
38 + - 1.3.6.1.4.1.9.1.231 # catalyst8515msr
39 + - 1.3.6.1.4.1.9.1.241 # ciscoCat6000
40 + - 1.3.6.1.4.1.9.1.246 # catalyst3508GXL
41 + - 1.3.6.1.4.1.9.1.247 # catalyst3512XL
42 + - 1.3.6.1.4.1.9.1.248 # catalyst3524XL
43 + - 1.3.6.1.4.1.9.1.256 # ciscoWSX6302Msm
44 + - 1.3.6.1.4.1.9.1.257 # catalyst5kRsfc
45 + - 1.3.6.1.4.1.9.1.258 # catalyst6kMsfc
46 + - 1.3.6.1.4.1.9.1.275 # cat2948gL3
47 + - 1.3.6.1.4.1.9.1.278 # cat3548XL
48 + - 1.3.6.1.4.1.9.1.280 # cat6006
49 + - 1.3.6.1.4.1.9.1.281 # cat6009
50 + - 1.3.6.1.4.1.9.1.282 # cat6506
51 + - 1.3.6.1.4.1.9.1.283 # cat6509
52 + - 1.3.6.1.4.1.9.1.287 # cat3524tXLEn
53 + - 1.3.6.1.4.1.9.1.298 # cat4908gL3
54 + - 1.3.6.1.4.1.9.1.300 # cat4232L3
55 + - 1.3.6.1.4.1.9.1.301 # catalyst6kMsfc2
56 + - 1.3.6.1.4.1.9.1.310 # cat6509Sp
57 + - 1.3.6.1.4.1.9.1.312 # cat4840gL3
58 + - 1.3.6.1.4.1.9.1.318 # catalyst4kGateway
59 + - 1.3.6.1.4.1.9.1.323 # catalyst295012
60 + - 1.3.6.1.4.1.9.1.324 # catalyst295024
61 + - 1.3.6.1.4.1.9.1.325 # catalyst295024C
62 + - 1.3.6.1.4.1.9.1.359 # catalyst2950t24
63 + - 1.3.6.1.4.1.9.1.366 # catalyst355024
64 + - 1.3.6.1.4.1.9.1.367 # catalyst355048
65 + - 1.3.6.1.4.1.9.1.368 # catalyst355012T
66 + - 1.3.6.1.4.1.9.1.369 # catalyst2924LREXL
67 + - 1.3.6.1.4.1.9.1.370 # catalyst2912LREXL
68 + - 1.3.6.1.4.1.9.1.386 # cat2948gL3Dc
69 + - 1.3.6.1.4.1.9.1.387 # cat4908gL3Dc
70 + - 1.3.6.1.4.1.9.1.400 # ciscoWSC6513
71 + - 1.3.6.1.4.1.9.1.427 # catalyst295012G
72 + - 1.3.6.1.4.1.9.1.428 # catalyst295024G
73 + - 1.3.6.1.4.1.9.1.429 # catalyst295048G
74 + - 1.3.6.1.4.1.9.1.430 # catalyst295024S
75 + - 1.3.6.1.4.1.9.1.431 # catalyst355012G
76 + - 1.3.6.1.4.1.9.1.445 # cat4000Sup3
77 + - 1.3.6.1.4.1.9.1.448 # cat4006
78 + - 1.3.6.1.4.1.9.1.449 # ciscoWSC6503
79 + - 1.3.6.1.4.1.9.1.452 # cat355024Dc
80 + - 1.3.6.1.4.1.9.1.453 # cat355024Mmf
81 + - 1.3.6.1.4.1.9.1.472 # catalyst295024GDC
82 + - 1.3.6.1.4.1.9.1.480 # catalyst295024SX
83 + - 1.3.6.1.4.1.9.1.482 # catalyst295024LRESt
84 + - 1.3.6.1.4.1.9.1.483 # catalyst29508LRESt
85 + - 1.3.6.1.4.1.9.1.484 # catalyst295024LREG
86 + - 1.3.6.1.4.1.9.1.485 # catalyst355024PWR
87 + - 1.3.6.1.4.1.9.1.488 # catalyst2955T12
88 + - 1.3.6.1.4.1.9.1.489 # catalyst2955C12
89 + - 1.3.6.1.4.1.9.1.501 # cat4507
90 + - 1.3.6.1.4.1.9.1.502 # cat4506
91 + - 1.3.6.1.4.1.9.1.503 # cat4503
92 + - 1.3.6.1.4.1.9.1.508 # catalyst2955S12
93 + - 1.3.6.1.4.1.9.1.510 # ciscoWSC65509
94 + - 1.3.6.1.4.1.9.1.511 # catalyst375024
95 + - 1.3.6.1.4.1.9.1.512 # catalyst375048
96 + - 1.3.6.1.4.1.9.1.513 # catalyst375024TS
97 + - 1.3.6.1.4.1.9.1.514 # catalyst375024T
98 + - 1.3.6.1.4.1.9.1.516 # catalyst37xxStack
99 + - 1.3.6.1.4.1.9.1.522 # cat6500FirewallSm
100 + - 1.3.6.1.4.1.9.1.527 # catalyst297024
101 + - 1.3.6.1.4.1.9.1.530 # catalyst3750Ge12Sfp
102 + - 1.3.6.1.4.1.9.1.534 # ciscoWSC6509neba
103 + - 1.3.6.1.4.1.9.1.535 # catalyst375048PS
104 + - 1.3.6.1.4.1.9.1.536 # catalyst375024PS
105 + - 1.3.6.1.4.1.9.1.537 # catalyst4510
106 + - 1.3.6.1.4.1.9.1.540 # catalyst29408TT
107 + - 1.3.6.1.4.1.9.1.542 # catalyst29408TF
108 + - 1.3.6.1.4.1.9.1.551 # catalyst2950St24LRE997
109 + - 1.3.6.1.4.1.9.1.554 # cat6500SslSm
110 + - 1.3.6.1.4.1.9.1.557 # catalyst6kSup720
111 + - 1.3.6.1.4.1.9.1.559 # catalyst295048T
112 + - 1.3.6.1.4.1.9.1.560 # catalyst295048SX
113 + - 1.3.6.1.4.1.9.1.561 # catalyst297024TS
114 + - 1.3.6.1.4.1.9.1.563 # catalyst356024PS
115 + - 1.3.6.1.4.1.9.1.564 # catalyst356048PS
116 + - 1.3.6.1.4.1.9.1.573 # catalyst6kGateway
117 + - 1.3.6.1.4.1.9.1.574 # catalyst375024ME
118 + - 1.3.6.1.4.1.9.1.575 # catalyst4000NAM
119 + - 1.3.6.1.4.1.9.1.591 # catalyst3750G16TD
120 + - 1.3.6.1.4.1.9.1.602 # catalyst3750G24PS
121 + - 1.3.6.1.4.1.9.1.603 # catalyst3750G48PS
122 + - 1.3.6.1.4.1.9.1.604 # catalyst3750G48TS
123 + - 1.3.6.1.4.1.9.1.614 # catalyst3560G24PS
124 + - 1.3.6.1.4.1.9.1.615 # catalyst3560G24TS
125 + - 1.3.6.1.4.1.9.1.616 # catalyst3560G48PS
126 + - 1.3.6.1.4.1.9.1.617 # catalyst3560G48TS
127 + - 1.3.6.1.4.1.9.1.624 # catalyst3750G24TS1U
128 + - 1.3.6.1.4.1.9.1.626 # catalyst4948
129 + - 1.3.6.1.4.1.9.1.633 # catalyst356024TS
130 + - 1.3.6.1.4.1.9.1.634 # catalyst356048TS
131 + - 1.3.6.1.4.1.9.1.656 # catalyst375024FS
132 + - 1.3.6.1.4.1.9.1.657 # ciscoWSC6504E
133 + - 1.3.6.1.4.1.9.1.659 # catalyst494810GE
134 + - 1.3.6.1.4.1.9.1.674 # ciscoWsSvcFwm1sc
135 + - 1.3.6.1.4.1.9.1.688 # catalyst3750Ge12SfpDc
136 + - 1.3.6.1.4.1.9.1.694 # catalyst296024
137 + - 1.3.6.1.4.1.9.1.695 # catalyst296048
138 + - 1.3.6.1.4.1.9.1.696 # catalyst2960G24
139 + - 1.3.6.1.4.1.9.1.697 # catalyst2960G48
140 + - 1.3.6.1.4.1.9.1.698 # catalyst45503
141 + - 1.3.6.1.4.1.9.1.699 # catalyst45506
142 + - 1.3.6.1.4.1.9.1.700 # catalyst45507
143 + - 1.3.6.1.4.1.9.1.701 # catalyst455010
144 + - 1.3.6.1.4.1.9.1.706 # catalyst6kMsfc2a
145 + - 1.3.6.1.4.1.9.1.716 # catalyst296024TT
146 + - 1.3.6.1.4.1.9.1.717 # catalyst296048TT
147 + - 1.3.6.1.4.1.9.1.724 # catalystsExpress50024TT
148 + - 1.3.6.1.4.1.9.1.725 # catalystsExpress50024LC
149 + - 1.3.6.1.4.1.9.1.726 # catalystsExpress50024PC
150 + - 1.3.6.1.4.1.9.1.727 # catalystsExpress50012TC
151 + - 1.3.6.1.4.1.9.1.748 # ciscoWs3020Hpq
152 + - 1.3.6.1.4.1.9.1.749 # ciscoWs3030Del
153 + - 1.3.6.1.4.1.9.1.751 # catalyst6kEnhancedGateway
154 + - 1.3.6.1.4.1.9.1.755 # ciscoNMAONWS
155 + - 1.3.6.1.4.1.9.1.767 # ciscoWsSvcFwm1sy
156 + - 1.3.6.1.4.1.9.1.778 # catalyst3750G24WS25
157 + - 1.3.6.1.4.1.9.1.779 # catalyst3750G24WS50
158 + - 1.3.6.1.4.1.9.1.784 # catalystWsCBS3040FSC
159 + - 1.3.6.1.4.1.9.1.789 # catalyst3750E24TD
160 + - 1.3.6.1.4.1.9.1.790 # catalyst3750E48TD
161 + - 1.3.6.1.4.1.9.1.791 # catalyst3750E48PD
162 + - 1.3.6.1.4.1.9.1.792 # catalyst3750E24PD
163 + - 1.3.6.1.4.1.9.1.793 # catalyst3560E24TD
164 + - 1.3.6.1.4.1.9.1.794 # catalyst3560E48TD
165 + - 1.3.6.1.4.1.9.1.795 # catalyst3560E24PD
166 + - 1.3.6.1.4.1.9.1.796 # catalyst3560E48PD
167 + - 1.3.6.1.4.1.9.1.797 # catalyst35608PC
168 + - 1.3.6.1.4.1.9.1.798 # catalyst29608TC
169 + - 1.3.6.1.4.1.9.1.799 # catalyst2960G8TC
170 + - 1.3.6.1.4.1.9.1.832 # ciscoWSC6509ve
171 + - 1.3.6.1.4.1.9.1.868 # ciscoUC500
172 + - 1.3.6.1.4.1.9.1.874 # catalyst4503e
173 + - 1.3.6.1.4.1.9.1.875 # catalyst4506e
174 + - 1.3.6.1.4.1.9.1.876 # catalyst4507re
175 + - 1.3.6.1.4.1.9.1.877 # catalyst4510re
176 + - 1.3.6.1.4.1.9.1.896 # catalyst65xxVirtualSwitch
177 + - 1.3.6.1.4.1.9.1.897 # catalystExpress5208PC
178 + - 1.3.6.1.4.1.9.1.909 # ciscoWsCbs3110gS
179 + - 1.3.6.1.4.1.9.1.910 # ciscoWsCbs3110gSt
180 + - 1.3.6.1.4.1.9.1.911 # ciscoWsCbs3110xS
181 + - 1.3.6.1.4.1.9.1.912 # ciscoWsCbs3110xSt
182 + - 1.3.6.1.4.1.9.1.917 # cat4900M
183 + - 1.3.6.1.4.1.9.1.918 # catWsCbs3120gS
184 + - 1.3.6.1.4.1.9.1.919 # catWsCbs3120xS
185 + - 1.3.6.1.4.1.9.1.920 # catWsCbs3032Del
186 + - 1.3.6.1.4.1.9.1.921 # catWsCbs3130gS
187 + - 1.3.6.1.4.1.9.1.922 # catWsCbs3130xS
188 + - 1.3.6.1.4.1.9.1.927 # cat296048TCS
189 + - 1.3.6.1.4.1.9.1.928 # cat296024TCS
190 + - 1.3.6.1.4.1.9.1.929 # cat296024S
191 + - 1.3.6.1.4.1.9.1.930 # cat3560e12d
192 + - 1.3.6.1.4.1.9.1.932 # catExpress52024TT
193 + - 1.3.6.1.4.1.9.1.933 # catExpress52024LC
194 + - 1.3.6.1.4.1.9.1.934 # catExpress52024PC
195 + - 1.3.6.1.4.1.9.1.935 # catExpress520G24TC
196 + - 1.3.6.1.4.1.9.1.946 # ciscoCBS3100
197 + - 1.3.6.1.4.1.9.1.947 # ciscoCBS3110
198 + - 1.3.6.1.4.1.9.1.948 # ciscoCBS3120
199 + - 1.3.6.1.4.1.9.1.949 # ciscoCBS3130
200 + - 1.3.6.1.4.1.9.1.950 # catalyst296024PC
201 + - 1.3.6.1.4.1.9.1.951 # catalyst296024LT
202 + - 1.3.6.1.4.1.9.1.952 # catalyst2960PD8TT
203 + - 1.3.6.1.4.1.9.1.956 # catalyst3560E12SD
204 + - 1.3.6.1.4.1.9.1.965 # catalyst291824TT
205 + - 1.3.6.1.4.1.9.1.966 # catalyst291824TC
206 + - 1.3.6.1.4.1.9.1.967 # catalyst291848TT
207 + - 1.3.6.1.4.1.9.1.968 # catalyst291848TC
208 + - 1.3.6.1.4.1.9.1.999 # ciscoWsCbs3012Ibm
209 - 1.3.6.1.4.1.9.1.1000 # ciscoWsCbs3012IbmI
210 - 1.3.6.1.4.1.9.1.1001 # ciscoWsCbs3125gS
211 - 1.3.6.1.4.1.9.1.1002 # ciscoWsCbs3125xS
@@ -389,10 +388,10 @@ sysobjectid:
388 - 1.3.6.1.4.1.9.1.2398 # ciscoCDB8U
389 - 1.3.6.1.4.1.9.1.2399 # ciscoCDB8P
390 - 1.3.6.1.4.1.9.1.2418 # ciscoCat950012Q
392 - - 1.3.6.1.4.1.9.1.2435 # catC930024T
391 + - 1.3.6.1.4.1.9.1.2435 # catC930024T
392 - 1.3.6.1.4.1.9.1.2436 # catC930024P
393 - 1.3.6.1.4.1.9.1.2440 # ciscoCat930048P
395 - - 1.3.6.1.4.1.9.1.2441 # ciscoCat930048U
394 + - 1.3.6.1.4.1.9.1.2441 # ciscoCat930048U
395 - 1.3.6.1.4.1.9.1.2491 # ciscoWSC365048TSE
396 - 1.3.6.1.4.1.9.1.2494 # ciscoCat9300FixedSwitchStack
397 - 1.3.6.1.4.1.9.1.2495 # ciscoCatWSC2960L24TQLL
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-csr1000v.yaml
+3 -4
@@ -4,11 +4,10 @@ extends:
4
5 sysobjectid: 1.3.6.1.4.1.9.1.1537
6
7 -device:
8 - vendor: "cisco"
9 -
7 metadata:
8 device:
9 fields:
10 type:
14 - value: "router"
11 + value: Router
12 + vendor:
13 + value: Cisco
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-firepower-asa.yaml
+50 -37
@@ -3,89 +3,102 @@ extends:
3 - _generic-if.yaml
4 - _cisco-metadata.yaml
5 # This profile does not import cisco.yaml on purpose
6 -sysobjectid:
7 - - 1.3.6.1.4.1.9.1.1902 # Cisco VASA (Cisco Firepower Threat Defense, Version 6.7.0.2)
8 - - 1.3.6.1.4.1.9.1.1903 # Cisco VASA System Context
9 - - 1.3.6.1.4.1.9.1.1904 # Cisco VASA Security Context
10 - - 1.3.6.1.4.1.9.1.2286 # Cisco FPR 9000 SM24
11 - - 1.3.6.1.4.1.9.1.2288 # Cisco FPR 9000 SM36
12 - - 1.3.6.1.4.1.9.1.2313 # Cisco FPR 4110 SM12
13 - - 1.3.6.1.4.1.9.1.2314 # Cisco FPR 4120 SM24
14 - - 1.3.6.1.4.1.9.1.2315 # Cisco FPR 4140 SM36
15 - - 1.3.6.1.4.1.9.1.2316 # Cisco FPR 4150 SM44
16 - - 1.3.6.1.4.1.9.1.2409 # Cisco FPR 9000 SM44
17 - - 1.3.6.1.4.1.9.1.2663 # Cisco FPR 1120 NGFW
18 - - 1.3.6.1.4.1.9.1.2757 # Cisco FPR 9000 SM56
19 - - 1.3.6.1.4.1.9.1.2772 # Cisco FPR 9000 SM40
20 - - 1.3.6.1.4.1.9.1.2773 # Cisco FPR 9000 SM48
21 - - 1.3.6.1.4.1.9.1.2774 # Cisco FPR 4115 SM24
22 - - 1.3.6.1.4.1.9.1.2775 # Cisco FPR 4125 SM32
23 - - 1.3.6.1.4.1.9.1.2776 # Cisco FPR 4145 SM44
6 +
7 metadata:
8 device:
9 fields:
10 type:
28 - value: "firewall"
11 + value: Firewall/Firepower
12 + vendor:
13 + value: Cisco
14 +
15 +sysobjectid:
16 + - 1.3.6.1.4.1.9.1.1902 # Cisco VASA (Cisco Firepower Threat Defense, Version 6.7.0.2)
17 + - 1.3.6.1.4.1.9.1.1903 # Cisco VASA System Context
18 + - 1.3.6.1.4.1.9.1.1904 # Cisco VASA Security Context
19 + - 1.3.6.1.4.1.9.1.2286 # Cisco FPR 9000 SM24
20 + - 1.3.6.1.4.1.9.1.2288 # Cisco FPR 9000 SM36
21 + - 1.3.6.1.4.1.9.1.2313 # Cisco FPR 4110 SM12
22 + - 1.3.6.1.4.1.9.1.2314 # Cisco FPR 4120 SM24
23 + - 1.3.6.1.4.1.9.1.2315 # Cisco FPR 4140 SM36
24 + - 1.3.6.1.4.1.9.1.2316 # Cisco FPR 4150 SM44
25 + - 1.3.6.1.4.1.9.1.2409 # Cisco FPR 9000 SM44
26 + - 1.3.6.1.4.1.9.1.2663 # Cisco FPR 1120 NGFW
27 + - 1.3.6.1.4.1.9.1.2757 # Cisco FPR 9000 SM56
28 + - 1.3.6.1.4.1.9.1.2772 # Cisco FPR 9000 SM40
29 + - 1.3.6.1.4.1.9.1.2773 # Cisco FPR 9000 SM48
30 + - 1.3.6.1.4.1.9.1.2774 # Cisco FPR 4115 SM24
31 + - 1.3.6.1.4.1.9.1.2775 # Cisco FPR 4125 SM32
32 + - 1.3.6.1.4.1.9.1.2776 # Cisco FPR 4145 SM44
33 +
34 metrics:
35 - MIB: CISCO-PROCESS-MIB
36 table:
37 OID: 1.3.6.1.4.1.9.9.109.1.1.1
38 name: cpmCPUTotalTable
39 symbols:
35 - - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.7 # cpmCPUTotal1minRev
40 + - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.7 # cpmCPUTotal1minRev
41 name: cpu.usage
42 description: The overall CPU busy percentage in the last 1 minute period
43 + family: CPU/Usage
44 unit: "%"
39 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
45 metric_tags:
41 - - index: 1 # cpmCPUTotalIndex
42 - tag: cpu
46 + - tag: cpu_index
47 + index: 1 # cpmCPUTotalIndex
48 - MIB: CISCO-ENHANCED-MEMPOOL-MIB
49 symbol:
50 name: memory.used
46 - OID: 1.3.6.1.4.1.9.9.221.1.1.1.1.7.1.1 # cempMemPoolUsed.1.1
47 - description: Indicates the number of bytes from the memory pool that are currently in use by applications on the physical entity
51 + OID: 1.3.6.1.4.1.9.9.221.1.1.1.1.7.1.1 # cempMemPoolUsed.1.1
52 + description: Number of bytes from the memory pool that are currently in use by applications on the physical entity
53 + family: Memory/Used
54 unit: "By"
55 - MIB: CISCO-ENHANCED-MEMPOOL-MIB
56 symbol:
57 name: memory.free
52 - OID: 1.3.6.1.4.1.9.9.221.1.1.1.1.8.1.1 # cempMemPoolFree.1.1
53 - description: Indicates the number of bytes from the memory pool that are currently unused on the physical entity
58 + OID: 1.3.6.1.4.1.9.9.221.1.1.1.1.8.1.1 # cempMemPoolFree.1.1
59 + description: Number of bytes from the memory pool that are currently unused on the physical entity
60 + family: Memory/Free
61 unit: "By"
62 - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
63 symbol:
64 OID: 1.3.6.1.4.1.9.9.392.1.4.1.2.0
65 name: crasNumDeclinedSessions
59 - description: The number of session setup attempts which were declined due to authentication or authorization failure
60 - unit: "{session}"
66 + description: Number of session setup attempts which were declined due to authentication or authorization failure
67 + family: RemoteAccess/Session/Setup/Declined
68 + unit: "{session}/s"
69 + - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
70 + symbol:
71 + OID: 1.3.6.1.4.1.9.9.392.1.4.1.3.0
72 + name: crasNumSetupFailInsufResources
73 + description: The number of session setup attempts that failed due to insufficient resources
74 + family: RemoteAccess/Session/Setup/Failed
75 + unit: "{session}/s"
76 + metric_type: monotonic_count
77 - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
78 symbol:
79 OID: 1.3.6.1.4.1.9.9.392.1.3.1.0
80 name: crasNumSessions
65 - description: The number of currently active sessions
81 + description: Number of currently active sessions
82 + family: RemoteAccess/Session/Active
83 unit: "{session}"
84 - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
85 symbol:
86 OID: 1.3.6.1.4.1.9.9.392.1.1.1.0
87 name: crasMaxSessionsSupportable
88 description: The maximum number of remote access sessions that may be supported on this device
89 + family: RemoteAccess/Session/Maximum
90 unit: "{session}"
91 - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
92 symbol:
93 OID: 1.3.6.1.4.1.9.9.392.1.3.3.0
94 name: crasNumUsers
95 description: The number of users who have active sessions
96 + family: RemoteAccess/User/Active
97 unit: "{user}"
98 - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
99 symbol:
100 OID: 1.3.6.1.4.1.9.9.392.1.1.2.0
101 name: crasMaxUsersSupportable
102 description: The maximum number of remote access users for whom Remote Access sessions may be supported on this device
103 + family: RemoteAccess/User/Maximum
104 unit: "{user}"
85 - - MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
86 - symbol:
87 - OID: 1.3.6.1.4.1.9.9.392.1.4.1.3.0
88 - name: crasNumSetupFailInsufResources
89 - description: The number of session setup attempts that failed due to insufficient resources
90 - unit: "{session}"
91 - metric_type: monotonic_count
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-firepower.yaml
+51 -47
@@ -3,49 +3,57 @@ extends:
3 - _generic-if.yaml
4 - _cisco-metadata.yaml
5 # This profile does not import cisco.yaml on purpose
6 -sysobjectid:
7 - - 1.3.6.1.4.1.9.1.2404 # Cisco FPR 2110td
8 - - 1.3.6.1.4.1.9.1.2405 # Cisco FPR 2120td
9 - - 1.3.6.1.4.1.9.1.2406 # Cisco FPR 2130td
10 - - 1.3.6.1.4.1.9.1.2407 # Cisco FPR 2140td
11 - - 1.3.6.1.4.1.9.1.2778 # Cisco FPR 4125 K9
12 - - 1.3.6.1.4.1.9.1.2292 # Cisco FPR 4150 K9
13 - # Following sysObjectID requires more investigation to be certain if we should include it:
14 - # - 1.3.6.1.4.1.9.12.3.1.3.1788 # Cisco FPR 4120
6 +
7 metadata:
8 device:
9 fields:
10 type:
19 - value: "firewall"
11 + value: Firewall/Firepower
12 + vendor:
13 + value: Cisco
14 +
15 +sysobjectid:
16 + - 1.3.6.1.4.1.9.1.2404 # Cisco FPR 2110td
17 + - 1.3.6.1.4.1.9.1.2405 # Cisco FPR 2120td
18 + - 1.3.6.1.4.1.9.1.2406 # Cisco FPR 2130td
19 + - 1.3.6.1.4.1.9.1.2407 # Cisco FPR 2140td
20 + - 1.3.6.1.4.1.9.1.2778 # Cisco FPR 4125 K9
21 + - 1.3.6.1.4.1.9.1.2292 # Cisco FPR 4150 K9
22 + # Following sysObjectID requires more investigation to be certain if we should include it:
23 + # - 1.3.6.1.4.1.9.12.3.1.3.1788 # Cisco FPR 4120
24 +
25 metrics:
26 - MIB: CISCO-PROCESS-MIB
27 table:
28 OID: 1.3.6.1.4.1.9.9.109.1.1.1
29 name: cpmCPUTotalTable
30 symbols:
26 - - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.7 # cpmCPUTotal1minRev
31 + - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.7 # cpmCPUTotal1minRev
32 name: cpu.usage
33 description: The overall CPU busy percentage in the last 1 minute period.
34 + family: CPU/Usage
35 unit: "%"
36 metric_tags:
31 - - index: 1 # cpmCPUTotalIndex
32 - tag: cpu
37 + - tag: cpu_index
38 + index: 1 # cpmCPUTotalIndex
39 - MIB: CISCO-FIREPOWER-SM-MIB
40 table:
41 OID: 1.3.6.1.4.1.9.9.826.1.71.20
42 name: cfprSmMonitorTable
43 symbols:
38 - - OID: 1.3.6.1.4.1.9.9.826.1.71.20.1.21 # cfprSmMonitorMemFree
44 + - OID: 1.3.6.1.4.1.9.9.826.1.71.20.1.21 # cfprSmMonitorMemFree
45 name: memory.free
46 description: Memory free
47 + family: Memory/Free
48 unit: "By"
42 - - OID: 1.3.6.1.4.1.9.9.826.1.71.20.1.23 # cfprSmMonitorMemUsed
49 + - OID: 1.3.6.1.4.1.9.9.826.1.71.20.1.23 # cfprSmMonitorMemUsed
50 name: memory.used
51 description: Memory used
52 + family: Memory/Used
53 unit: "By"
54 metric_tags:
47 - - index: 1 # cfprSmMonitorInstanceId
48 - tag: mem
55 + - tag: mem_index
56 + index: 1 # cfprSmMonitorInstanceId
57 - MIB: CISCO-FIREPOWER-SM-MIB
58 table:
59 OID: 1.3.6.1.4.1.9.9.826.1.71.20
@@ -54,11 +62,15 @@ metrics:
62 - OID: 1.3.6.1.4.1.9.9.826.1.71.20.1.17
63 name: cfprSmMonitorDataDiskAvailable
64 description: Data disk available
57 - unit: "{disk}"
65 + family: Disk/Data/Available
66 + unit: "By"
67 + scale_factor: 1024
68 - OID: 1.3.6.1.4.1.9.9.826.1.71.20.1.18
69 name: cfprSmMonitorDataDiskTotal
70 description: Data disk total
61 - unit: "{disk}"
71 + family: Disk/Data/Total
72 + unit: "By"
73 + scale_factor: 1024
74 metric_tags:
75 - tag: cfpr_sm_monitor_dn
76 symbol:
@@ -69,20 +81,11 @@ metrics:
81 OID: 1.3.6.1.4.1.9.9.826.1.20.34
82 name: cfprEquipmentFanTable
83 symbols:
72 - - name: cfprEquipmentFan
73 - constant_value_one: true
74 - description: Fan equipment presence indicator
75 - unit: "{fan}"
76 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
77 - metric_tags:
78 - - tag: cfpr_equipment_fan_dn
79 - symbol:
80 - OID: 1.3.6.1.4.1.9.9.826.1.20.34.1.2
81 - name: cfprEquipmentFanDn
82 - - symbol:
83 - OID: 1.3.6.1.4.1.9.9.826.1.20.34.1.10
84 - name: cfprEquipmentFanOperState
85 - tag: cfpr_equipment_fan_oper_state
84 + - OID: 1.3.6.1.4.1.9.9.826.1.20.34.1.10
85 + name: cfprEquipmentFanOperState
86 + description: Equipment/Fans
87 + family: Fan/Operational/Status
88 + unit: "{status}"
89 mapping:
90 0: unknown
91 1: operable
@@ -114,25 +117,21 @@ metrics:
117 106: peer_comm_problem
118 107: auto_upgrade
119 108: link_activate_blocked
120 + metric_tags:
121 + - tag: cfpr_equipment_fan_dn
122 + symbol:
123 + OID: 1.3.6.1.4.1.9.9.826.1.20.34.1.2
124 + name: cfprEquipmentFanDn
125 - MIB: CISCO-FIREPOWER-EQUIPMENT-MIB
126 table:
127 OID: 1.3.6.1.4.1.9.9.826.1.20.109
128 name: cfprEquipmentPsuTable
129 symbols:
122 - - name: cfprEquipmentPsu
123 - constant_value_one: true
124 - description: Power supply unit equipment presence indicator
125 - unit: "{power_supply}"
126 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
127 - metric_tags:
128 - - tag: cfpr_equipment_psu_dn
129 - symbol:
130 - OID: 1.3.6.1.4.1.9.9.826.1.20.109.1.2
131 - name: cfprEquipmentPsuDn
132 - - symbol:
133 - OID: 1.3.6.1.4.1.9.9.826.1.20.109.1.13
134 - name: cfprEquipmentPsuPower
135 - tag: cfpr_equipment_psu_power
130 + - OID: 1.3.6.1.4.1.9.9.826.1.20.109.1.13
131 + name: cfprEquipmentPsuPower
132 + description: Psu power state
133 + family: PowerSupply/Power/Status
134 + unit: "{status}"
135 mapping:
136 0: unknown
137 1: on
@@ -149,3 +148,8 @@ metrics:
148 12: oir_failed
149 13: oir_invalid
150 100: not_supported
151 + metric_tags:
152 + - tag: cfpr_equipment_psu_dn
153 + symbol:
154 + OID: 1.3.6.1.4.1.9.9.826.1.20.109.1.2
155 + name: cfprEquipmentPsuDn
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-ironport-email.yaml
+252 -224
@@ -3,108 +3,116 @@ extends:
3 - _generic-if.yaml
4 - _cisco-metadata.yaml
5 # This profile does not import cisco.yaml on purpose
6 +
7 +# it has been re-branded
8 +metadata:
9 + device:
10 + fields:
11 + type:
12 + value: Secure Email Gateway
13 + vendor:
14 + value: Cisco
15 +
16 sysobjectid:
7 - - 1.3.6.1.4.1.15497.1.* # IronPort Email Security Appliance
8 - - 1.3.6.1.4.1.15497.1.2 # IronPort S300V
17 + - 1.3.6.1.4.1.15497.1.* # IronPort Email Security Appliance
18 + - 1.3.6.1.4.1.15497.1.2 # IronPort S300V
19 +
20 metrics:
21 - MIB: ASYNCOS-MAIL-MIB
22 symbol:
23 name: memory.usage
24 OID: 1.3.6.1.4.1.15497.1.1.1.1.0
14 - description: This object provides a general idea of how much memory is being consumed by the appliance software.
15 - unit: "%"
25 + description: This object provides a general idea of how much memory is being consumed by the appliance software
26 + family: Memory/Usage
27 + unit: "%"
28 - MIB: ASYNCOS-MAIL-MIB
29 symbol:
30 name: cpu.usage
31 OID: 1.3.6.1.4.1.15497.1.1.1.2.0
20 - description: This object provides a general idea of how busy the CPU is according to the appliance software, within the last 5 seconds of utilization. This measurement may or may not reflect the overall CPU utilization of the appliance, and may or may not be a per-process or a per-thread CPU utilization value.
32 + description: This object provides a general idea of how busy the CPU is according to the appliance software, within the last 5 seconds of utilization
33 + family: CPU/Usage
34 unit: "%"
35 - MIB: ASYNCOS-MAIL-MIB
36 symbol:
37 name: ironport.oldestMessageAge
38 OID: 1.3.6.1.4.1.15497.1.1.1.14.0
39 description: The number of seconds the oldest message has been in queue
40 + family: Queue/Messages/Age
41 unit: "s"
42 - MIB: ASYNCOS-MAIL-MIB
43 symbol:
44 name: ironport.perCentDiskIOUtilization
45 OID: 1.3.6.1.4.1.15497.1.1.1.3.0
32 - description: This object provides a general idea of how much disk I/O has been generated within the last 5-15 seconds.
46 + description: Disk I/O within the last 5-15 seconds
47 + family: Disk/IO/Utilization
48 unit: "%"
49 - MIB: ASYNCOS-MAIL-MIB
50 symbol:
51 name: ironport.perCentQueueUtilization
52 OID: 1.3.6.1.4.1.15497.1.1.1.4.0
38 - description: Percent of total queue capacity used.
53 + description: Percent of total queue capacity used
54 + family: Queue/Utilization
55 unit: "%"
40 -# - MIB: ASYNCOS-MAIL-MIB
41 -# symbol:
42 -# name: ironport.queueAvailabilityStatus
43 -# OID: 1.3.6.1.4.1.15497.1.1.1.5.0
44 -# enum:
45 -# queueSpaceAvailable: 1
46 -# queueSpaceShortage: 2
47 -# queueFull: 3
48 -# TODO: enum in scalar metric is not supported yet (keep this metric and this
49 -# comment in profile until it's fixed)
50 -# - MIB: ASYNCOS-MAIL-MIB
51 -# symbol:
52 -# name: ironport.resourceConservationReason
53 -# OID: 1.3.6.1.4.1.15497.1.1.1.6.0
54 -# enum:
55 -# noResourceConservation: 1
56 -# memoryShortage: 2
57 -# queueSpaceShortage: 3
58 -# queueFull: 4
59 -# TODO: enum in scalar metric is not supported yet (keep this metric and this
60 -# comment in profile until it's fixed)
61 -# - MIB: ASYNCOS-MAIL-MIB
62 -# symbol:
63 -# name: ironport.memoryAvailabilityStatus
64 -# OID: 1.3.6.1.4.1.15497.1.1.1.7.0
65 -# enum:
66 -# memoryAvailable: 1
67 -# memoryShortage: 2
68 -# memoryFull: 3
69 -# TODO: enum in scalar metric is not supported yet (keep this metric and this
70 -# comment in profile until it's fixed)
56 + # - MIB: ASYNCOS-MAIL-MIB
57 + # symbol:
58 + # name: ironport.queueAvailabilityStatus
59 + # OID: 1.3.6.1.4.1.15497.1.1.1.5.0
60 + # enum:
61 + # queueSpaceAvailable: 1
62 + # queueSpaceShortage: 2
63 + # queueFull: 3
64 + # TODO: enum in scalar metric is not supported yet (keep this metric and this
65 + # comment in profile until it's fixed)
66 + # - MIB: ASYNCOS-MAIL-MIB
67 + # symbol:
68 + # name: ironport.resourceConservationReason
69 + # OID: 1.3.6.1.4.1.15497.1.1.1.6.0
70 + # enum:
71 + # noResourceConservation: 1
72 + # memoryShortage: 2
73 + # queueSpaceShortage: 3
74 + # queueFull: 4
75 + # TODO: enum in scalar metric is not supported yet (keep this metric and this
76 + # comment in profile until it's fixed)
77 + # - MIB: ASYNCOS-MAIL-MIB
78 + # symbol:
79 + # name: ironport.memoryAvailabilityStatus
80 + # OID: 1.3.6.1.4.1.15497.1.1.1.7.0
81 + # enum:
82 + # memoryAvailable: 1
83 + # memoryShortage: 2
84 + # memoryFull: 3
85 + # TODO: enum in scalar metric is not supported yet (keep this metric and this
86 + # comment in profile until it's fixed)
87 - MIB: ASYNCOS-MAIL-MIB
88 table:
89 name: powerSupplyTable
90 OID: 1.3.6.1.4.1.15497.1.1.1.8
91 symbols:
76 - - name: ironport.powerSupply
77 - constant_value_one: true
78 - description: A table of one or power supply entries.
79 - unit: "{power_supply}"
80 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
81 - metric_tags:
82 - - symbol:
83 - name: ironport.powerSupplyName
84 - OID: 1.3.6.1.4.1.15497.1.1.1.8.1.4
85 - tag: ironport_power_supply_name
86 - description: A textual name for a power supply.
87 - unit: "TBD"
88 - - symbol:
89 - OID: 1.3.6.1.4.1.15497.1.1.1.8.1.2
90 - name: ironport.powerSupplyStatus
91 - tag: ironport_power_supply_status
92 + - OID: 1.3.6.1.4.1.15497.1.1.1.8.1.2
93 + name: ironport.powerSupplyStatus
94 + description: Status of the power supply
95 + family: Power/Supply/Status
96 + unit: "{status}"
97 mapping:
98 1: power_supply_not_installed
99 2: power_supply_healthy
100 3: power_supply_no_ac
101 4: power_supply_faulty
97 - description: Represents the status of a power supply. powerSupplyNotInstalled - The power supply is not detected by the chassis as being physically present. powerSupplyHealthy - The power supply is physically present and is actively servicing the appliance with power. powerSupplyNoAC - The power supply is physically present but is not actively servicing the appliance with power. powerSupplyFaulty - The power supply is failed per the vendor defined operating specifications for the power supply.
98 - unit: "TBD"
99 - - symbol:
100 - OID: 1.3.6.1.4.1.15497.1.1.1.8.1.3
101 - name: ironport.powerSupplyRedundancy
102 - tag: ironport_power_supply_redundancy
102 + - OID: 1.3.6.1.4.1.15497.1.1.1.8.1.3
103 + name: ironport.powerSupplyRedundancy
104 + description: Status of a collection of one or more power supplies
105 + family: Power/Supply/Redundancy
106 + unit: "{status}"
107 mapping:
108 1: power_supply_redundancy_ok
109 2: power_supply_redundancy_lost
106 - description: Represents the status of a collection of one or more power supplies. powerSupplyRedundancyOK - All power supplies are in a powerSupplyHealthy state. powerSupplyRedundancyLost - One or more power supplies are in a powerSupplyNotInstalled, powerSupplyNoAC, or powerSupplyFaulty state.
107 - unit: "TBD"
110 + metric_tags:
111 + - tag: ironport_power_supply_name
112 + symbol:
113 + name: ironport.powerSupplyName
114 + OID: 1.3.6.1.4.1.15497.1.1.1.8.1.4
115 +
116 - MIB: ASYNCOS-MAIL-MIB
117 table:
118 name: temperatureTable
@@ -112,17 +120,14 @@ metrics:
120 symbols:
121 - name: ironport.degreesCelsius
122 OID: 1.3.6.1.4.1.15497.1.1.1.9.1.2
115 - description: Temperature reading for the sensor being instrumented in Centrigrade units. This is correct according to the relative accuracy of the sensor being instrumented.
123 + description: Temperature reading for the sensor being instrumented in Centrigrade units
124 + family: Temperature/Sensors
125 unit: "Cel"
117 - description: A table of chassis temperature sensor states.
118 - unit: "{temperature_sensor}"
126 metric_tags:
120 - - symbol:
127 + - tag: ironport_temperature_name
128 + symbol:
129 name: ironport.temperatureName
130 OID: 1.3.6.1.4.1.15497.1.1.1.9.1.3
123 - tag: ironport_temperature_name
124 - description: Textual description for sensor being instrumented. This description is a short textual label, suitable as a human-sensible identification for the rest of the information in the entry.
125 - unit: "TBD"
131 - MIB: ASYNCOS-MAIL-MIB
132 table:
133 name: fanTable
@@ -130,23 +135,21 @@ metrics:
135 symbols:
136 - name: ironport.fanRPMs
137 OID: 1.3.6.1.4.1.15497.1.1.1.10.1.2
133 - description: Speed in RPMs of a chassis fan being instrumented. The speed that corresponds to a fan failure varies depending on the vendor specification and airflow requirements for the appliance it's instrumented in, but in general when fanRPMs reports 0 RPMs the respective fan has failed.
134 - unit: "rpm"
135 - description: A table of chassis fan entries.
136 - unit: "{fan}"
138 + description: Speed in RPMs of the chassis fan
139 + family: Fans/Speed
140 + unit: "{rotation}/m"
141 metric_tags:
138 - - symbol:
142 + - tag: ironport_fan_name
143 + symbol:
144 name: ironport.fanName
145 OID: 1.3.6.1.4.1.15497.1.1.1.10.1.3
141 - tag: ironport_fan_name
142 - description: A textual name of the chassis fan being instrumented.
143 - unit: "TBD"
146 - MIB: ASYNCOS-MAIL-MIB
147 symbol:
148 name: ironport.workQueueMessages
149 OID: 1.3.6.1.4.1.15497.1.1.1.11.0
148 - description: Number of messages in the work queue.
149 - unit: "{message}"
150 + description: Number of messages in the work queue
151 + family: Queue/Work/Messages
152 + unit: "{message}"
153 - MIB: ASYNCOS-MAIL-MIB
154 table:
155 name: keyExpirationTable
@@ -154,27 +157,21 @@ metrics:
157 symbols:
158 - name: ironport.keySecondsUntilExpire
159 OID: 1.3.6.1.4.1.15497.1.1.1.12.1.4
157 - description: Seconds until the valid Feature Key expires. Only applies to non-perpetual Feature Keys, and is 0 when the Feature Key has expired.
160 + description: Seconds until the valid Feature Key expires
161 + family: License/Keys/Expiration
162 unit: "s"
159 - description: A table of Feature Key expiration entries.
160 - unit: "{feature_key_expiration_entry}"
161 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
163 metric_tags:
163 - - symbol:
164 + - tag: ironport_key_description
165 + symbol:
166 name: ironport.keyDescription
167 OID: 1.3.6.1.4.1.15497.1.1.1.12.1.2
166 - tag: ironport_key_description
167 - description: Textual description for a Feature Key applicable to the appliance.
168 - unit: "TBD"
169 - - symbol:
168 + - tag: ironport_key_is_perpetual
169 + symbol:
170 OID: 1.3.6.1.4.1.15497.1.1.1.12.1.3
171 name: ironport.keyIsPerpetual
172 - tag: ironport_key_is_perpetual
172 mapping:
174 - 1: 'true'
175 - 2: 'false'
176 - description: Boolean value represented by True if Feature Key is perpetual, or False if the Feature Key is normal or expired.
177 - unit: "TBD"
173 + 1: "perpetual"
174 + 2: "normal_or_expired"
175 - MIB: ASYNCOS-MAIL-MIB
176 table:
177 name: updateTable
@@ -182,334 +179,365 @@ metrics:
179 symbols:
180 - name: ironport.updates
181 OID: 1.3.6.1.4.1.15497.1.1.1.13.1.3
185 - description: The number of successful attempts that have occurred when updating a service.
186 - unit: "{update_attempt}"
182 + description: The number of successful attempts that have occurred when updating a service
183 + family: Services/Updates/Successful
184 + unit: "{attempt}/s"
185 - name: ironport.updateFailures
186 OID: 1.3.6.1.4.1.15497.1.1.1.13.1.4
187 description: The number of failed attempts that have occurred when updating a service.
190 - unit: "{update_attempt}"
191 - description: A table of one or more update entries.
192 - unit: "{update_entry}"
188 + family: Services/Updates/Failed
189 + unit: "{attempt}/s"
190 metric_tags:
194 - - symbol:
191 + - tag: ironport_update_service_name
192 + symbol:
193 name: ironport.updateServiceName
194 OID: 1.3.6.1.4.1.15497.1.1.1.13.1.2
197 - tag: ironport_update_service_name
198 - description: A textual name for an update entry.
199 - unit: "TBD"
195 - MIB: ASYNCOS-MAIL-MIB
196 symbol:
197 name: ironport.outstandingDNSRequests
198 OID: 1.3.6.1.4.1.15497.1.1.1.15.0
204 - description: Number of DNS requests that have been sent but for which no reply has been received.
205 - unit: "{dns_request}"
199 + description: Number of DNS requests that have been sent but for which no reply has been received
200 + family: DNS/Requests/Outstanding
201 + unit: "{request}/s"
202 - MIB: ASYNCOS-MAIL-MIB
203 symbol:
204 name: ironport.pendingDNSRequests
205 OID: 1.3.6.1.4.1.15497.1.1.1.16.0
210 - description: Number of DNS requests waiting to be sent.
211 - unit: "{dns_request}"
206 + description: Number of DNS requests waiting to be sent
207 + family: DNS/Requests/Pending
208 + unit: "{request}"
209 - MIB: ASYNCOS-MAIL-MIB
210 symbol:
211 name: ironport.raidEvents
212 OID: 1.3.6.1.4.1.15497.1.1.1.17.0
216 - description: The total number of RAID events that have occurred since the last appliance power on event.
217 - unit: "{raid_event}"
213 + description: The total number of RAID events that have occurred since the last appliance power on event
214 + family: Disk/RAID/Events
215 + unit: "{event}/s"
216 - MIB: ASYNCOS-MAIL-MIB
217 table:
218 name: raidTable
219 OID: 1.3.6.1.4.1.15497.1.1.1.18
220 symbols:
223 - - name: ironport.raid
224 - constant_value_one: true
225 - description: Unique index for a drive being instrumented in the appliance. This index is for SNMP purposes only; it has no intrinsic value.
226 - unit: "{raid_drive}"
227 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
228 - metric_tags:
229 - - symbol:
230 - name: ironport.raidID
231 - OID: 1.3.6.1.4.1.15497.1.1.1.18.1.3
232 - tag: ironport_raid_id
233 - description: A textual name for a drive attached to a RAID controller in the appliance.
234 - unit: "TBD"
235 - - symbol:
236 - OID: 1.3.6.1.4.1.15497.1.1.1.18.1.2
237 - name: ironport.raidStatus
238 - tag: ironport_raid_status
221 + - name: ironport.raidStatus
222 + OID: 1.3.6.1.4.1.15497.1.1.1.18.1.2
223 + description: Represents the status of a a drive attached to a RAID controller in the appliance
224 + family: Disk/RAID/Status
225 + unit: "{status}"
226 mapping:
227 1: drive_healthy
228 2: drive_failure
229 3: drive_rebuild
243 - description: Represents the status of a a drive attached to a RAID controller in the appliance. driveHealthy - The corresponding drive is connected to the RAID controller and functioning as a healthy member in the RAID volume. driveFailure - The drive is either disconnected from the RAID controller, or has failed to operate within thresholds defined in vendor specifications for the drive and the controller. driveRebuild - The corresponding drive is connected to the RAID controller. It is being rebuilt according to the RAID controller specific rebuild algorithm for the current operating mode of the RAID volume.
244 - unit: "TBD"
245 - - symbol:
246 - OID: 1.3.6.1.4.1.15497.1.1.1.18.1.4
247 - name: ironport.raidLastError
248 - tag: ironport_raid_last_error
249 - description: The textual description of the last error message reported by the RAID controller or corresponding driver if one has occurred. This is 'No Error' if the corresponding drive's state is driveHealthy, or a controller or driver defined specific textual description if the drive's state is not driveHealthy.
250 - unit: "TBD"
230 + metric_tags:
231 + - tag: ironport_raid_id
232 + symbol:
233 + name: ironport.raidID
234 + OID: 1.3.6.1.4.1.15497.1.1.1.18.1.3
235 + # - tag: ironport_raid_last_error
236 + # symbol:
237 + # OID: 1.3.6.1.4.1.15497.1.1.1.18.1.4
238 + # name: ironport.raidLastError
239 - MIB: ASYNCOS-MAIL-MIB
240 symbol:
241 name: ironport.openFilesOrSockets
242 OID: 1.3.6.1.4.1.15497.1.1.1.19.0
243 description: This object notes how many files or sockets are open on the appliance. In normal operating conditions, the measurement is taken at least once every 5-15 seconds.
256 - unit: "{file_or_socket}"
244 + unit: "{file}"
245 + family: System/Resources/Files
246 - MIB: ASYNCOS-MAIL-MIB
247 symbol:
248 name: ironport.mailTransferThreads
249 OID: 1.3.6.1.4.1.15497.1.1.1.20.0
250 description: Number of threads that perform some task related to transferring mail.
251 unit: "{thread}"
263 -# - MIB: ASYNCOS-MAIL-MIB
264 -# symbol:
265 -# name: ironport.fipsMode
266 -# OID: 1.3.6.1.4.1.15497.1.1.1.23.0
267 -# enum:
268 -# enabled: 1
269 -# disabled: 2
270 -# TODO: enum in scalar metric is not supported yet (keep this metric and this
271 -# comment in profile until it's fixed)
252 + family: Mail/Transfer/Threads
253 + # - MIB: ASYNCOS-MAIL-MIB
254 + # symbol:
255 + # name: ironport.fipsMode
256 + # OID: 1.3.6.1.4.1.15497.1.1.1.23.0
257 + # enum:
258 + # enabled: 1
259 + # disabled: 2
260 + # TODO: enum in scalar metric is not supported yet (keep this metric and this
261 + # comment in profile until it's fixed)
262 - MIB: ASYNCOS-MAIL-MIB
263 symbol:
264 name: ironport.perCentCPULoad
265 OID: 1.3.6.1.4.1.15497.1.1.1.26.0
276 - description: This object provides a general idea of how busy the CPU is according to the appliance software, within the last 5 seconds of utilization. This measurement may or may not reflect the overall CPU utilization of the appliance, and may or may not be a per-process or a per-thread CPU utilization value.
277 - unit: "%"
266 + description: This object provides a general idea of how busy the CPU is according to the appliance software, within the last 5 seconds of ironport
267 + family: CPU/Load
268 + unit: "%"
269 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
270 symbol:
271 name: ironport.cacheClientRequests
272 OID: 1.3.6.1.4.1.15497.1.2.3.2.2.0
282 - description: The number of HTTP requests received from clients.
283 - unit: "{http_request}"
273 + description: The number of HTTP requests received from clients
274 + family: HTTP/Client/Requests
275 + unit: "{request}/s"
276 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
277 symbol:
278 name: ironport.cacheClientErrors
279 OID: 1.3.6.1.4.1.15497.1.2.3.2.4.0
288 - description: The number of HTTP errors caused by client connections.
289 - unit: "{http_error}"
280 + description: The number of HTTP errors caused by client connections.
281 + family: HTTP/Client/Errors
282 + unit: "{error}/s"
283 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
284 symbol:
285 name: ironport.cacheClientIdleConns
286 OID: 1.3.6.1.4.1.15497.1.2.3.2.7.0
294 - description: The number of connected but idle persistent client connections.
295 - unit: "{connection}"
287 + description: The number of connected but idle persistent client connections
288 + family: HTTP/Client/Connections/Idle
289 + unit: "{connection}"
290 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
291 symbol:
292 name: ironport.cacheClientTotalConns
293 OID: 1.3.6.1.4.1.15497.1.2.3.2.8.0
300 - description: The current number of active + idle client connections.
301 - unit: "{connection}"
294 + description: The current number of active + idle client connections
295 + family: HTTP/Client/Connections/Total
296 + unit: "{connection}"
297 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
298 symbol:
299 name: ironport.cacheClientMaxConns
300 OID: 1.3.6.1.4.1.15497.1.2.3.2.9.0
306 - description: The maximum number of simultaneous client connections that will be allowed.
307 - unit: "{connection}"
301 + description: The maximum number of simultaneous client connections that will be allowed
302 + family: HTTP/Client/Connections/Max
303 + unit: "{connection}"
304 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
305 symbol:
306 name: ironport.cacheClientAccepts
307 OID: 1.3.6.1.4.1.15497.1.2.3.2.10.0
312 - description: The total number of sockets accepted from the clients.
313 - unit: "{socket}"
308 + description: The total number of sockets accepted from the clients
309 + family: HTTP/Client/Sockets/Accepted
310 + unit: "{socket}/s"
311 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
312 symbol:
313 name: ironport.cacheClientReqDenials
314 OID: 1.3.6.1.4.1.15497.1.2.3.2.17.0
318 - description: The number of responses blocked by access control.
319 - unit: "{response}"
315 + description: The number of responses blocked by access control
316 + family: HTTP/Client/Responses/Denied
317 + unit: "{response}/s"
318 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
319 symbol:
320 name: ironport.cacheServerRequests
321 OID: 1.3.6.1.4.1.15497.1.2.3.3.2.0
324 - description: The total number of HTTP requests sent to servers.
325 - unit: "{http_request}"
322 + description: The total number of HTTP requests sent to servers
323 + family: HTTP/Server/Requests
324 + unit: "{request}/s"
325 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
326 symbol:
327 name: ironport.cacheServerSockets
328 OID: 1.3.6.1.4.1.15497.1.2.3.3.3.0
330 - description: The total number of sockets opened from the servers.
331 - unit: "{socket}"
329 + description: The total number of sockets opened from the servers
330 + family: HTTP/Server/Sockets
331 + unit: "{socket}"
332 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
333 symbol:
334 name: ironport.cacheServerErrors
335 OID: 1.3.6.1.4.1.15497.1.2.3.3.4.0
336 - description: The number of HTTP errors while fetching objects.
337 - unit: "{http_error}"
336 + description: The number of HTTP errors while fetching objects
337 + family: HTTP/Server/Errors
338 + unit: "{error}/s"
339 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
340 symbol:
341 name: ironport.cacheServerIdleConns
342 OID: 1.3.6.1.4.1.15497.1.2.3.3.7.0
342 - description: The number of connected but idle persistent server connections.
343 - unit: "{connection}"
343 + description: The number of connected but idle persistent server connections
344 + family: HTTP/Server/Connections/Idle
345 + unit: "{connection}"
346 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
347 symbol:
348 name: ironport.cacheServerTotalConns
349 OID: 1.3.6.1.4.1.15497.1.2.3.3.8.0
348 - description: The current number of active + idle server connections.
349 - unit: "{connection}"
350 + description: The current number of active + idle server connections
351 + family: HTTP/Server/Connections/Total
352 + unit: "{connection}"
353 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
354 symbol:
355 name: ironport.cacheServerCloseIdleConns
356 OID: 1.3.6.1.4.1.15497.1.2.3.3.9.0
354 - description: The number of server connections closed due to idle time limits.
355 - unit: "{connection}"
357 + description: The number of server connections closed due to idle time limits
358 + family: HTTP/Server/Connections/Closed
359 + unit: "{connection}/s"
360 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
361 symbol:
362 name: ironport.cacheServerLimitIdleConns
363 OID: 1.3.6.1.4.1.15497.1.2.3.3.10.0
360 - description: The number of times the number of idle persistent connections hit the count limit and caused a connection to be closed.
361 - unit: "{connection}"
364 + description: The number of times the number of idle persistent connections hit the count limit and caused a connection to be closed
365 + family: HTTP/Server/Connections/Limited
366 + unit: "{connection}/s"
367 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
368 symbol:
369 name: ironport.cacheServerConnsThresh
370 OID: 1.3.6.1.4.1.15497.1.2.3.3.11.0
366 - description: The limit on the number of server connections.
367 - unit: "{connection}"
371 + description: The limit on the number of server connections
372 + family: HTTP/Server/Connections/Threshold
373 + unit: "{connection}"
374 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
375 symbol:
376 name: ironport.cacheTotalHttpReqs
377 OID: 1.3.6.1.4.1.15497.1.2.3.6.1.0
372 - description: Total number of HTTP requests from clients
373 - unit: "{http_request}"
378 + description: Total number of HTTP requests from clients
379 + family: HTTP/Requests/Total
380 + unit: "{request}/s"
381 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
382 symbol:
383 name: ironport.cacheMeanRespTime
384 OID: 1.3.6.1.4.1.15497.1.2.3.6.2.0
378 - description: The HTTP mean response time
379 - unit: "ms"
385 + description: The HTTP mean response time
386 + family: HTTP/Response/Time/Mean
387 + unit: "ms"
388 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
389 symbol:
390 name: ironport.cacheMeanMissRespTime
391 OID: 1.3.6.1.4.1.15497.1.2.3.6.3.0
384 - description: The HTTP mean response time of Misses
385 - unit: "ms"
392 + description: The HTTP mean response time of Misses
393 + family: HTTP/Response/Time/Miss
394 + unit: "ms"
395 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
396 symbol:
397 name: ironport.cacheMeanHitRespTime
398 OID: 1.3.6.1.4.1.15497.1.2.3.6.4.0
390 - description: The HTTP mean response time of Hits
391 - unit: "ms"
399 + description: The HTTP mean response time of Hits
400 + family: HTTP/Response/Time/Hit
401 + unit: "ms"
402 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
403 symbol:
404 name: ironport.cacheMeanHitRatio
405 OID: 1.3.6.1.4.1.15497.1.2.3.6.5.0
396 - description: The HTTP hit ratio
397 - unit: "%"
406 + description: The HTTP hit ratio
407 + family: Cache/Hit/Ratio
408 + unit: "%"
409 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
410 symbol:
411 name: ironport.cacheMeanByteHitRatio
412 OID: 1.3.6.1.4.1.15497.1.2.3.6.6.0
402 - description: The HTTP byte hit ratio
403 - unit: "%"
413 + description: The HTTP byte hit ratio
414 + family: Cache/Hit/ByteRatio
415 + unit: "%"
416 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
417 symbol:
418 name: ironport.cacheTotalBandwidthSaving
419 OID: 1.3.6.1.4.1.15497.1.2.3.6.7.0
408 - description: The total bandwidth savings for HTTP in Mbits/sec
409 - unit: "Mbit/s"
420 + description: The total bandwidth savings for HTTP
421 + family: Bandwidth/Savings/Total
422 + unit: "Mbit/s"
423 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
424 symbol:
425 name: ironport.cacheDuration
426 OID: 1.3.6.1.4.1.15497.1.2.3.6.8.0
414 - description: The proxy up time
415 - unit: "s"
427 + description: The proxy up time
428 + family: System/Uptime
429 + unit: "s"
430 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
431 symbol:
432 name: ironport.cacheCltReplyErrPct
433 OID: 1.3.6.1.4.1.15497.1.2.3.6.9.0
434 description: The percentage of errors in the HTTP replies to clients
435 + family: HTTP/Client/Errors/Percentage
436 unit: "%"
437 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
438 symbol:
439 name: ironport.cacheThruputNow
440 OID: 1.3.6.1.4.1.15497.1.2.3.7.1.1.0
426 - description: Request throughput in the last minute
427 - unit: "{request}"
441 + description: Request throughput in the last minute
442 + family: Throughput/Requests
443 + unit: "{request}"
444 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
445 symbol:
446 name: ironport.cacheBwidthSavingNow
447 OID: 1.3.6.1.4.1.15497.1.2.3.7.2.1.0
432 - description: Bandwidth savings in the last minute (in Kb/sec)
433 - unit: "kbit/s"
448 + description: Bandwidth savings in the last minute
449 + family: Bandwidth/Savings/Current
450 + unit: "kbit/s"
451 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
452 symbol:
453 name: ironport.cacheBwidthSpentNow
454 OID: 1.3.6.1.4.1.15497.1.2.3.7.3.1.0
438 - description: Bandwidth spent in the last minute (in Kb/sec)
439 - unit: "kbit/s"
455 + description: Bandwidth spent in the last minute
456 + family: Bandwidth/Usage/Current
457 + unit: "kbit/s"
458 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
459 symbol:
460 name: ironport.cacheBwidthTotalNow
461 OID: 1.3.6.1.4.1.15497.1.2.3.7.4.1.0
444 - description: Bandwidth total in the last minute (in Kb/sec)
445 - unit: "kbit/s"
462 + description: Bandwidth total in the last minute
463 + family: Bandwidth/Total/Current
464 + unit: "kbit/s"
465 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
466 symbol:
467 name: ironport.cacheHitsNow
468 OID: 1.3.6.1.4.1.15497.1.2.3.7.5.1.0
450 - description: Hit throughput in the last minute
451 - unit: "{hit}"
469 + description: Hit throughput in the last minute
470 + family: Cache/Hit/Throughput
471 + unit: "{hit}"
472 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
473 symbol:
474 name: ironport.cacheMissesNow
475 OID: 1.3.6.1.4.1.15497.1.2.3.7.6.1.0
456 - description: Miss throughput in the last minute
457 - unit: "{miss}"
476 + description: Miss throughput in the last minute
477 + family: Cache/Miss/Throughput
478 + unit: "{miss}"
479 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
480 symbol:
481 name: ironport.cacheHitRespTimeNow
482 OID: 1.3.6.1.4.1.15497.1.2.3.7.7.1.0
462 - description: Cache hit response time in the last minute
463 - unit: "ms"
483 + description: Cache hit response time in the last minute
484 + family: Cache/Hit/ResponseTime
485 + unit: "ms"
486 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
487 symbol:
488 name: ironport.cacheMissRespTimeNow
489 OID: 1.3.6.1.4.1.15497.1.2.3.7.8.1.0
468 - description: Cache miss response time in the last minute
469 - unit: "ms"
490 + description: Cache miss response time in the last minute
491 + family: Cache/Miss/ResponseTime
492 + unit: "ms"
493 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
494 symbol:
495 name: ironport.cacheTotalRespTimeNow
496 OID: 1.3.6.1.4.1.15497.1.2.3.7.9.1.0
474 - description: Cache total response time in the last minute
475 - unit: "ms"
497 + description: Cache total response time in the last minute
498 + family: Cache/ResponseTime/Total
499 + unit: "ms"
500 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
501 symbol:
502 name: ironport.cacheErrsNow
503 OID: 1.3.6.1.4.1.15497.1.2.3.7.10.1.0
480 - description: Cache error throughput time in the last minute
481 - unit: "{error}"
504 + description: Cache error throughput time in the last minute
505 + family: Cache/Error/Throughput
506 + unit: "{error}"
507 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
508 symbol:
509 name: ironport.cacheDeniedNow
510 OID: 1.3.6.1.4.1.15497.1.2.3.7.11.1.0
486 - description: Cache denial throughput time in the last minute
487 - unit: "{denial}"
511 + description: Cache denial throughput time in the last minute
512 + family: Cache/Denial/Throughput
513 + unit: "{denial}"
514 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
515 symbol:
516 name: ironport.cacheErrRespTimeNow
517 OID: 1.3.6.1.4.1.15497.1.2.3.7.12.1.0
492 - description: Cache error response time in the last minute
493 - unit: "ms"
518 + description: Cache error response time in the last minute
519 + family: Cache/Error/ResponseTime
520 + unit: "ms"
521 - MIB: ASYNCOSWEBSECURITYAPPLIANCE-MIB
522 symbol:
523 name: ironport.cacheDeniedRespTimeNow
524 OID: 1.3.6.1.4.1.15497.1.2.3.7.13.1.0
525 description: Cache denial response time in the last minute
526 + family: Cache/Denial/ResponseTime
527 unit: "ms"
528 metric_tags:
501 - - OID: 1.3.6.1.4.1.15497.1.2.2.1.0
529 + - tag: ironport_cache_admin
530 + OID: 1.3.6.1.4.1.15497.1.2.2.1.0
531 symbol: cacheAdmin
503 - tag: ironport_cache_admin
504 - - OID: 1.3.6.1.4.1.15497.1.2.2.2.0
532 + - tag: ironport_cache_software
533 + OID: 1.3.6.1.4.1.15497.1.2.2.2.0
534 symbol: cacheSoftware
506 - tag: ironport_cache_software
507 - - OID: 1.3.6.1.4.1.15497.1.2.2.3.0
535 + - tag: ironport_cache_version
536 + OID: 1.3.6.1.4.1.15497.1.2.2.3.0
537 symbol: cacheVersion
509 - tag: ironport_cache_version
510 - - OID: 1.3.6.1.4.1.15497.1.2.2.4.0
538 + - tag: ironport_license_expiration
539 + OID: 1.3.6.1.4.1.15497.1.2.2.4.0
540 symbol: licenseExpiration
512 - tag: ironport_license_expiration
513 - - OID: 1.3.6.1.4.1.15497.1.2.2.5.0
541 + - tag: ironport_http_ports
542 + OID: 1.3.6.1.4.1.15497.1.2.2.5.0
543 symbol: httpPorts
515 - tag: ironport_http_ports
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-ise.yaml
+3 -3
@@ -10,7 +10,7 @@ sysobjectid:
10 metadata:
11 device:
12 fields:
13 - vendor:
14 - value: "cisco"
13 type:
16 - value: "server"
14 + value: "Server"
15 + vendor:
16 + value: "Cisco"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-isr.yaml
+3 -4
@@ -4,15 +4,14 @@ extends:
4 - _base.yaml
5 - _cisco-generic.yaml
6
7 -device:
8 - vendor: "cisco"
7
8 metadata:
9 device:
10 fields:
11 type:
14 - value: "router"
15 -
12 + value: "Router"
13 + vendor:
14 + value: "Cisco"
15 sysobjectid:
16 - 1.3.6.1.4.1.9.1.543 # cisco3825
17 - 1.3.6.1.4.1.9.1.544 # cisco3845
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-legacy-wlc.yaml
+23 -23
@@ -9,13 +9,22 @@ extends:
9 - _cisco-wlc.yaml
10 - _cisco-metadata.yaml
11
12 -device:
13 - vendor: "cisco"
12 +metadata:
13 + device:
14 + fields:
15 + serial_number:
16 + symbol:
17 + OID: 1.3.6.1.4.1.14179.1.1.1.4
18 + name: agentInventorySerialNumber
19 + type:
20 + value: "WLC"
21 + vendor:
22 + value: "Cisco"
23
24 sysobjectid:
16 - - 1.3.6.1.4.1.9.1.818 # ciscoNMWLCE
17 - - 1.3.6.1.4.1.9.1.828 # ciscoAirWlc2106K9
18 - - 1.3.6.1.4.1.9.1.926 # cisco520WLC
25 + - 1.3.6.1.4.1.9.1.818 # ciscoNMWLCE
26 + - 1.3.6.1.4.1.9.1.828 # ciscoAirWlc2106K9
27 + - 1.3.6.1.4.1.9.1.926 # cisco520WLC
28 - 1.3.6.1.4.1.9.1.1069 # cisco5500Wlc
29 - 1.3.6.1.4.1.9.1.1279 # ciscoAirCt2504K9
30 - 1.3.6.1.4.1.9.1.1295 # cisco7500Wlc
@@ -28,34 +37,25 @@ sysobjectid:
37 - 1.3.6.1.4.1.9.1.2171 # cisco8540Wlc
38 - 1.3.6.1.4.1.9.1.2427 # cisco3504WLC
39
31 -metadata:
32 - device:
33 - fields:
34 - serial_number:
35 - symbol:
36 - OID: 1.3.6.1.4.1.14179.1.1.1.4
37 - name: agentInventorySerialNumber
38 - type:
39 - value: "WLC"
40 -
40 metrics:
41 - MIB: AIRESPACE-SWITCHING-MIB
42 symbol:
43 OID: 1.3.6.1.4.1.14179.1.1.5.1 # agentCurrentCPUUtilization
44 name: cpu.usage
46 - description: Current CPU load of the switch in percentage
47 - unit: "%"
45 + description: Current CPU load of the switch
46 + family: CPU/Load
47 + unit: "%"
48 - MIB: AIRESPACE-SWITCHING-MIB
49 symbol:
50 OID: 1.3.6.1.4.1.14179.1.1.5.3 # agentFreeMemory
51 - scale_factor: 1000
51 name: memory.free
53 - description: Free RAM of the switch in Kbytes
54 - unit: "kBy"
52 + description: Free RAM of the switch
53 + family: Memory/RAM/Free
54 + unit: "By"
55 - MIB: AIRESPACE-SWITCHING-MIB
56 symbol:
57 OID: 1.3.6.1.4.1.14179.1.1.5.2 # agentTotalMemory
58 - scale_factor: 1000
58 name: memory.total
60 - description: Total RAM of the switch in Kbytes
61 - unit: "kBy"
59 + description: Total RAM of the switch
60 + family: Memory/RAM/Total
61 + unit: "By"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-load-balancer.yaml
+110 -106
@@ -1,12 +1,15 @@
1 extends:
2 - cisco.yaml
3 sysobjectid:
4 - - 1.3.6.1.4.1.9.1.824 # Cisco ACE 4710
4 + - 1.3.6.1.4.1.9.1.824 # Cisco ACE 4710
5 metadata:
6 device:
7 fields:
8 type:
9 - value: "load_balancer"
9 + value: "Server Load Balancer"
10 + vendor:
11 + value: "Cisco"
12 +
13 metrics:
14 - MIB: CISCO-SLB-MIB
15 table:
@@ -15,47 +18,47 @@ metrics:
18 symbols:
19 - OID: 1.3.6.1.4.1.9.9.161.1.1.1.1.6
20 name: slbStatsCreatedConnections
18 - metric_type: monotonic_count
21 description: Number of TCP and UDP connections created since SLB was configured
20 - unit: "{connection}"
22 + family: SLB/Connection/Created
23 + unit: "{connection}/s"
24 - OID: 1.3.6.1.4.1.9.9.161.1.1.1.1.7
25 name: slbStatsCreatedHCConnections
23 - metric_type: monotonic_count
24 - description: Number of connections created by SLB since it was configured
25 - unit: "{connection}"
26 + description: Number of connections created by SLB since it was configured (64-bit)
27 + family: SLB/Connection/Created
28 + unit: "{connection}/s"
29 - OID: 1.3.6.1.4.1.9.9.161.1.1.1.1.8
30 name: slbStatsEstablishedConnections
28 - metric_type: monotonic_count
31 description: Number of connections established through SLB
30 - unit: "{connection}"
32 + family: SLB/Connection/Established
33 + unit: "{connection}/s"
34 - OID: 1.3.6.1.4.1.9.9.161.1.1.1.1.9
35 name: slbStatsEstablishedHCConnections
33 - metric_type: monotonic_count
34 - description: Number of connections established through SLB
35 - unit: "{connection}"
36 + description: Number of connections established through SLB (64-bit)
37 + family: SLB/Connection/Established
38 + unit: "{connection}/s"
39 - OID: 1.3.6.1.4.1.9.9.161.1.1.1.1.10
40 name: slbStatsDestroyedConnections
38 - metric_type: monotonic_count
41 description: Number of TCP and UDP connections destroyed by SLB
40 - unit: "{connection}"
42 + family: SLB/Connection/Destroyed
43 + unit: "{connection}/s"
44 - OID: 1.3.6.1.4.1.9.9.161.1.1.1.1.11
45 name: slbStatsDestroyedHCConnections
43 - metric_type: monotonic_count
44 - description: Number of TCP and UDP connections destroyed by SLB
45 - unit: "{connection}"
46 + description: Number of TCP and UDP connections destroyed by SLB (64-bit)
47 + family: SLB/Connection/Destroyed
48 + unit: "{connection}/s"
49 - OID: 1.3.6.1.4.1.9.9.161.1.1.1.1.12
50 name: slbStatsReassignedConnections
48 - metric_type: monotonic_count
51 description: Number of TCP and UDP connections reassigned from one real server to another
50 - unit: "{connection}"
52 + family: SLB/Connection/Reassigned
53 + unit: "{connection}/s"
54 - OID: 1.3.6.1.4.1.9.9.161.1.1.1.1.13
55 name: slbStatsReassignedHCConnections
53 - metric_type: monotonic_count
54 - description: Number of TCP and UDP connections reassigned from one real server to another
55 - unit: "{connection}"
56 + description: Number of TCP and UDP connections reassigned from one real server to another (64-bit)
57 + family: SLB/Connection/Reassigned
58 + unit: "{connection}/s"
59 metric_tags:
57 - - index: 1 # index `slbEntity`
58 - tag: slb_entity
60 + - tag: slb_entity_index
61 + index: 1 # index `slbEntity`
62
63 - MIB: CISCO-SLB-EXT-MIB
64 table:
@@ -65,147 +68,148 @@ metrics:
68 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.3
69 name: cslbxStatsCurrConnections
70 description: Number of connections currently still open
71 + family: SLB/Connection/Current
72 unit: "{connection}"
73 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.5
74 name: cslbxStatsFailedConns
71 - metric_type: monotonic_count
75 description: Number of connections that were load balanced to real servers that then failed to respond
73 - unit: "{connection}"
76 + family: SLB/Connection/Failed
77 + unit: "{connection}/s"
78 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.7
79 name: cslbxStatsL4PolicyConns
76 - metric_type: monotonic_count
80 description: Number of connections made to the virtual servers with only layer 4 configuration
78 - unit: "{connection}"
81 + family: SLB/VirtualServer/Layer4/Connection
82 + unit: "{connection}/s"
83 + - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.26
84 + name: cslbxStatsL4PolicyHCConns
85 + description: Number of connections made to the virtual servers with only layer 4 configuration (64-bit)
86 + family: SLB/VirtualServer/Layer4/Connection
87 + unit: "{connection}/s"
88 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.8
89 name: cslbxStatsL7PolicyConns
81 - metric_type: monotonic_count
90 description: Number of connections made to the virtual servers with some layer 7 configuration
83 - unit: "{connection}"
91 + family: SLB/VirtualServer/Layer7/Connection
92 + unit: "{connection}/s"
93 + - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.27
94 + name: cslbxStatsL7PolicyHCConns
95 + description: Number of connections made to the virtual servers with some layer 7 configuration (64-bit)
96 + family: SLB/VirtualServer/Layer7/Connection
97 + unit: "{connection}/s"
98 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.9
99 name: cslbxStatsDroppedL4PolicyConns
86 - metric_type: monotonic_count
100 description: Number of connections dropped by virtual servers with only layer 4 configuration
88 - unit: "{connection}"
101 + family: SLB/VirtualServer/Layer4/Dropped
102 + unit: "{connection}/s"
103 + - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.28
104 + name: cslbxStatsDroppedL4PolicyHCConns
105 + description: Number of connections dropped by virtual servers with only layer 4 configuration (64-bit)
106 + family: SLB/VirtualServer/Layer4/Dropped
107 + unit: "{connection}/s"
108 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.10
109 name: cslbxStatsDroppedL7PolicyConns
91 - metric_type: monotonic_count
110 description: Number of connections dropped by virtual servers with some layer 7 policy
93 - unit: "{connection}"
111 + family: SLB/VirtualServer/Layer7/Dropped
112 + unit: "{connection}/s"
113 + - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.29
114 + name: cslbxStatsDroppedL7PolicyHCConns
115 + description: Number of connections dropped by virtual servers with some layer 7 configuration
116 + family: SLB/VirtualServer/Layer7/Dropped
117 + unit: "{connection}/s"
118 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.11
119 name: cslbxStatsFtpConns
96 - metric_type: monotonic_count
120 description: Number of connections made to virtual servers with the FTP service
98 - unit: "{connection}"
121 + family: SLB/VirtualServer/FTP/Connection
122 + unit: "{connection}/s"
123 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.12
124 name: cslbxStatsHttpRedirectConns
101 - metric_type: monotonic_count
125 description: Number of connections made to HTTP redirect servers
103 - unit: "{connection}"
126 + family: SLB/HTTPRedirect/Connection
127 + unit: "{connection}/s"
128 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.13
129 name: cslbxStatsDroppedRedirectConns
106 - metric_type: monotonic_count
130 description: Number of connections dropped by HTTP redirect servers
108 - unit: "{connection}"
131 + family: SLB/HTTPRedirect/Dropped
132 + unit: "{connection}/s"
133 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.14
134 name: cslbxStatsNoMatchPolicyRejects
111 - metric_type: monotonic_count
135 description: Number of connections rejected because they failed to match any configured policy
113 - unit: "{connection}"
136 + family: SLB/Connection/Rejected/NoPolicy
137 + unit: "{connection}/s"
138 + - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.30
139 + name: cslbxStatsNoMatchPolicyHCRejects
140 + description: Number of connections rejected because they failed to match any configured policy (64-bit)
141 + family: SLB/Connection/Rejected/NoPolicy
142 + unit: "{connection}/s"
143 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.15
144 name: cslbxStatsNoCfgPolicyRejects
116 - metric_type: monotonic_count
145 description: Number of connections rejected because the matching virtual server was not configured with any policy
118 - unit: "{connection}"
146 + family: SLB/Connection/Rejected/NoConfig
147 + unit: "{connection}/s"
148 + - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.31
149 + name: cslbxStatsNoCfgPolicyHCRejects
150 + description: Number of connections rejected because the matching virtual server was not configured with any policy (64-bit)
151 + family: SLB/Connection/Rejected/NoConfig
152 + unit: "{connection}/s"
153 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.16
154 name: cslbxStatsNoActiveServerRejects
121 - metric_type: monotonic_count
155 description: Number of connections rejected because the chosen server farm did not have any active servers
123 - unit: "{connection}"
156 + family: SLB/Connection/Rejected/NoServer
157 + unit: "{connection}/s"
158 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.17
159 name: cslbxStatsAclDenyRejects
126 - metric_type: monotonic_count
160 description: Number of connections rejected because the the matching client access list was configured to deny access
128 - unit: "{connection}"
161 + family: SLB/Connection/Rejected/ACL
162 + unit: "{connection}/s"
163 + - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.32
164 + name: cslbxStatsAclDenyHCRejects
165 + description: Number of connections rejected because the the matching client access list was configured to deny access (64-bit)
166 + family: SLB/Connection/Rejected/ACL
167 + unit: "{connection}/s"
168 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.18
169 name: cslbxStatsMaxParseLenRejects
131 - metric_type: monotonic_count
170 description: Number of connections rejected because the length of an HTTP request or response header exceeded the maximum L7 parse length configured for the matching virtual server
133 - unit: "{connection}"
171 + family: SLB/Connection/Rejected/ParseLength
172 + unit: "{connection}/s"
173 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.19
174 name: cslbxStatsBadSslFormatRejects
136 - metric_type: monotonic_count
175 description: Number of connections rejected because some invalid or unrecognized SSL format was detected
138 - unit: "{connection}"
176 + family: SLB/Connection/Rejected/SSL
177 + unit: "{connection}/s"
178 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.20
179 name: cslbxStatsL7ParserErrorRejects
141 - metric_type: monotonic_count
180 description: Number of connections rejected because an error occurred while parsing the connection data at Layer 7
143 - unit: "{connection}"
181 + family: SLB/Connection/Rejected/ParseError
182 + unit: "{connection}/s"
183 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.21
184 name: cslbxStatsVerMismatchRejects
146 - metric_type: monotonic_count
185 description: Number of connections rejected because the Layer 7 configuration was changed while Layer 7 parsing was occurring on the connection
148 - unit: "{connection}"
186 + family: SLB/Connection/Rejected/VersionMismatch
187 + unit: "{connection}/s"
188 + - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.33
189 + name: cslbxStatsVerMismatchHCRejects
190 + description: Number of connections rejected because the Layer 7 configuration was changed while Layer 7 parsing was occurring on the connection (64-bit)
191 + family: SLB/Connection/Rejected/VersionMismatch
192 + unit: "{connection}/s"
193 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.22
194 name: cslbxStatsOutOfMemoryRejects
151 - metric_type: monotonic_count
195 description: Number of connections rejected because the SLB module could not allocate the required memory
153 - unit: "{connection}"
196 + family: SLB/Connection/Rejected/Memory
197 + unit: "{connection}/s"
198 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.23
199 name: cslbxStatsTimedOutConnections
156 - metric_type: monotonic_count
200 description: Number of connections that were terminated because they were idle longer than the configured idle timeout value
158 - unit: "{connection}"
201 + family: SLB/Connection/Timeout
202 + unit: "{connection}/s"
203 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.24
204 name: cslbxStatsTcpChecksumErrorPkts
161 - metric_type: monotonic_count
205 description: Accumulated number of TCP packets which have checksum error
163 - unit: "{packet}"
206 + family: Network/TCP/Error/Checksum
207 + unit: "{error}/s"
208 - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.25
209 name: cslbxStatsIpChecksumErrorPkts
166 - metric_type: monotonic_count
210 description: Accumulated number of IP packets which have checksum error
168 - unit: "{packet}"
169 - - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.26
170 - name: cslbxStatsL4PolicyHCConns
171 - metric_type: monotonic_count
172 - description: Number of connections made to the virtual servers with only layer 4 configuration
173 - unit: "{connection}"
174 - - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.27
175 - name: cslbxStatsL7PolicyHCConns
176 - metric_type: monotonic_count
177 - description: Number of connections made to the virtual servers with some layer 7 configuration
178 - unit: "{connection}"
179 - - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.28
180 - name: cslbxStatsDroppedL4PolicyHCConns
181 - metric_type: monotonic_count
182 - description: Number of connections dropped by virtual servers with only layer 4 configuration
183 - unit: "{connection}"
184 - - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.29
185 - name: cslbxStatsDroppedL7PolicyHCConns
186 - metric_type: monotonic_count
187 - description: Number of connections dropped by virtual servers with some layer 7 configuration
188 - unit: "{connection}"
189 - - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.30
190 - name: cslbxStatsNoMatchPolicyHCRejects
191 - metric_type: monotonic_count
192 - description: Number of connections rejected because they failed to match any configured policy
193 - unit: "{connection}"
194 - - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.31
195 - name: cslbxStatsNoCfgPolicyHCRejects
196 - metric_type: monotonic_count
197 - description: Number of connections rejected because the matching virtual server was not configured with any policy
198 - unit: "{connection}"
199 - - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.32
200 - name: cslbxStatsAclDenyHCRejects
201 - metric_type: monotonic_count
202 - description: Number of connections rejected because the the matching client access list was configured to deny access
203 - unit: "{connection}"
204 - - OID: 1.3.6.1.4.1.9.9.254.1.1.1.1.33
205 - name: cslbxStatsVerMismatchHCRejects
206 - metric_type: monotonic_count
207 - description: Number of connections rejected because the Layer 7 configuration was changed while Layer 7 parsing was occurring on the connection
208 - unit: "{connection}"
211 + family: Network/IP/Error/Checksum
212 + unit: "{packet}/s"
213 metric_tags:
210 - - index: 1 # index `slbEntity` of `slbStatsTable`
211 - tag: slb_entity
214 + - tag: slb_entity_index
215 + index: 1 # index `slbEntity` of `slbStatsTable`
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-nexus.yaml
+19 -17
@@ -4,14 +4,13 @@ extends:
4 - _base.yaml
5 - _cisco-generic.yaml
6
7 -device:
8 - vendor: "cisco"
9 -
7 metadata:
8 device:
9 fields:
10 type:
14 - value: "switch"
11 + value: "Switch"
12 + vendor:
13 + value: "Cisco"
14
15 sysobjectid:
16 - 1.3.6.1.4.1.9.1.1216 # ciscoN7KC7018IOS
@@ -28,16 +27,16 @@ metrics:
27 OID: 1.3.6.1.4.1.9.9.91.1.1.1
28 name: entSensorValueTable
29 symbols:
31 - - OID: 1.3.6.1.4.1.9.9.91.1.1.1.1.4
32 - name: entSensorValue
33 - description: Most recent measurement seen by the sensor
34 - unit: "TBD"
35 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
36 - metric_tags:
37 - - symbol:
38 - OID: 1.3.6.1.4.1.9.9.91.1.1.1.1.1
39 - name: entSensorType
40 - tag: sensor_type
30 + # - OID: 1.3.6.1.4.1.9.9.91.1.1.1.1.4
31 + # name: entSensorValue
32 + # description: Most recent measurement seen by the sensor
33 + # unit: "TBD"
34 + # TODO: totally wrong, need transformation
35 + - OID: 1.3.6.1.4.1.9.9.91.1.1.1.1.1
36 + name: entSensorType
37 + description: Sensor type
38 + family: Sensors/Type
39 + unit: "{status}"
40 mapping:
41 1: other
42 2: unknown
@@ -54,9 +53,10 @@ metrics:
53 13: special_enum
54 14: dbm
55 15: db
57 - - index: 1
58 - tag: sensor_id
59 - - MIB: CISCO-ENHANCED-MEMPOOL-MIB # Overrides generic cisco defaults from _cisco-cpu-memory.yaml
56 + metric_tags:
57 + - tag: sensor_index
58 + index: 1
59 + - MIB: CISCO-ENHANCED-MEMPOOL-MIB # Overrides generic cisco defaults from _cisco-cpu-memory.yaml
60 table:
61 OID: 1.3.6.1.4.1.9.9.221.1.1.1
62 name: cempMemPoolTable
@@ -65,11 +65,13 @@ metrics:
65 # core check only
66 name: memory.used
67 description: Number of bytes from the memory pool that are currently in use by applications on the physical entity
68 + family: Memory/Pool/Used
69 unit: "By"
70 - OID: 1.3.6.1.4.1.9.9.221.1.1.1.1.8
71 # core check only
72 name: memory.free
73 description: Number of bytes from the memory pool that are currently unused on the physical entity
74 + family: Memory/Pool/Free
75 unit: "By"
76 metric_tags:
77 - tag: mem
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-sb.yaml
+8 -5
@@ -3,17 +3,20 @@ extends:
3 - _generic-if.yaml
4 # This profile does not import cisco.yaml on purpose
5 sysobjectid:
6 - - 1.3.6.1.4.1.9.6.1.* # Cisco Small Business
7 - - 1.3.6.1.4.1.9.6.1.88.26.1 # Cisco SG200-26
6 + - 1.3.6.1.4.1.9.6.1.* # Cisco Small Business
7 + - 1.3.6.1.4.1.9.6.1.88.26.1 # Cisco SG200-26
8 metadata:
9 device:
10 fields:
11 + type:
12 + value: "SMB"
13 vendor:
12 - value: "cisco"
14 + value: "Cisco"
15 metrics:
16 - MIB: CISCOSB-rndMng
17 symbol:
18 name: cpu.usage
19 OID: 1.3.6.1.4.1.9.6.1.101.1.8
18 - description: Cpu usage percentage
19 - unit: "%"
20 + description: Cpu usage percentage
21 + family: CPU/Usage
22 + unit: "%"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-ucs.yaml
+513 -613
@@ -2,52 +2,32 @@ extends:
2 - _base.yaml
3 - _generic-if.yaml
4 # This profile does not import cisco.yaml on purpose
5 +
6 sysobjectid:
6 - - 1.3.6.1.4.1.9.1.1683 # UCS C240
7 - - 1.3.6.1.4.1.9.1.2178 # UCS C220 M4
8 - - 1.3.6.1.4.1.9.1.2492 # UCS C220 M5
9 - - 1.3.6.1.4.1.9.12.3.1.3.1062 # UCS 6248UP
7 + - 1.3.6.1.4.1.9.1.1683 # UCS C240
8 + - 1.3.6.1.4.1.9.1.2178 # UCS C220 M4
9 + - 1.3.6.1.4.1.9.1.2492 # UCS C220 M5
10 + - 1.3.6.1.4.1.9.12.3.1.3.1062 # UCS 6248UP
11 +
12 metadata:
13 device:
14 fields:
15 + type:
16 + value: "UCS"
17 vendor:
14 - value: "cisco"
18 + value: "Cisco"
19 +
20 metrics:
21 - MIB: CISCO-UNIFIED-COMPUTING-COMPUTE-MIB
22 table:
23 name: cucsComputeBoardTable
24 OID: 1.3.6.1.4.1.9.9.719.1.9.6
25 symbols:
21 - - name: cucsComputeBoard
22 - constant_value_one: true
23 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
24 - metric_tags:
25 - - symbol:
26 - name: cucsComputeBoardDn
27 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.2
28 - tag: cucs_compute_board_dn
29 - - symbol:
30 - name: cucsComputeBoardModel
31 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.6
32 - tag: cucs_compute_board_model
33 - description: "Cisco UCS compute:Board:model managed object property"
34 - unit: "TBD"
35 - - symbol:
36 - name: cucsComputeBoardSerial
37 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.14
38 - tag: cucs_compute_board_serial
39 - description: "Cisco UCS compute:Board:serial managed object property"
40 - unit: "TBD"
41 - - symbol:
42 - name: cucsComputeBoardVendor
43 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.16
44 - tag: cucs_compute_board_vendor
45 - description: "Cisco UCS compute:Board:vendor managed object property"
46 - unit: "TBD"
47 - - symbol:
48 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.7
49 - name: cucsComputeBoardOperPower
50 - tag: cucs_compute_board_oper_power
26 + - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.7
27 + name: cucsComputeBoardOperPower
28 + description: Operational power state of the board
29 + family: Board/Power/Operational/Status
30 + unit: "{status}"
31 mapping:
32 0: unknown
33 1: on
@@ -62,12 +42,11 @@ metrics:
42 10: ok
43 11: failed
44 100: not_supported
65 - description: "Oper power state of the board"
66 - unit: "TBD"
67 - - symbol:
68 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.8
69 - name: cucsComputeBoardOperState
70 - tag: cucs_compute_board_oper_state
45 + - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.8
46 + name: cucsComputeBoardOperState
47 + description: Operational state of the board
48 + family: Board/Operational/Status
49 + unit: "{status}"
50 mapping:
51 0: unknown
52 1: operable
@@ -101,12 +80,11 @@ metrics:
80 106: peer_comm_problem
81 107: auto_upgrade
82 108: link_activate_blocked
104 - description: "Operational state of the board"
105 - unit: "TBD"
106 - - symbol:
107 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.9
108 - name: cucsComputeBoardOperability
109 - tag: cucs_compute_board_operability
83 + - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.9
84 + name: cucsComputeBoardOperability
85 + description: "Operability state of the board"
86 + family: Board/Operability/Status
87 + unit: "{status}"
88 mapping:
89 0: unknown
90 1: operable
@@ -140,12 +118,11 @@ metrics:
118 106: peer_comm_problem
119 107: auto_upgrade
120 108: link_activate_blocked
143 - description: "Operability state of the board"
144 - unit: "TBD"
145 - - symbol:
146 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.10
147 - name: cucsComputeBoardPerf
148 - tag: cucs_compute_board_perf
121 + - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.10
122 + name: cucsComputeBoardPerf
123 + description: "Performance state of the board"
124 + family: Board/Performance/Status
125 + unit: "{status}"
126 mapping:
127 0: unknown
128 1: ok
@@ -156,12 +133,11 @@ metrics:
133 6: lower_critical
134 7: lower_non_recoverable
135 100: not_supported
159 - description: "Performance state of the board"
160 - unit: "TBD"
161 - - symbol:
162 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.11
163 - name: cucsComputeBoardPower
164 - tag: cucs_compute_board_power
136 + - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.11
137 + name: cucsComputeBoardPower
138 + description: "Power state of the board"
139 + family: Board/Power/Status
140 + unit: "{status}"
141 mapping:
142 0: unknown
143 1: on
@@ -176,12 +152,11 @@ metrics:
152 10: ok
153 11: failed
154 100: not_supported
179 - description: "Power state of the board"
180 - unit: "TBD"
181 - - symbol:
182 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.12
183 - name: cucsComputeBoardPresence
184 - tag: cucs_compute_board_presence
155 + - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.12
156 + name: cucsComputeBoardPresence
157 + description: "Presence state of the board"
158 + family: Board/Presence/Status
159 + unit: "{status}"
160 mapping:
161 0: unknown
162 1: empty
@@ -203,12 +178,11 @@ metrics:
178 103: equipped_disc_in_progress
179 104: equipped_disc_error
180 105: equipped_disc_unknown
206 - description: "Presence state of the board"
207 - unit: "TBD"
208 - - symbol:
209 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.15
210 - name: cucsComputeBoardThermal
211 - tag: cucs_compute_board_thermal
181 + - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.15
182 + name: cucsComputeBoardThermal
183 + description: "Thermal state of the board"
184 + family: Board/Thermal/Status
185 + unit: "{status}"
186 mapping:
187 0: unknown
188 1: ok
@@ -219,12 +193,11 @@ metrics:
193 6: lower_critical
194 7: lower_non_recoverable
195 100: not_supported
222 - description: "Thermal state of the board"
223 - unit: "TBD"
224 - - symbol:
225 - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.17
226 - name: cucsComputeBoardVoltage
227 - tag: cucs_compute_board_voltage
196 + - OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.17
197 + name: cucsComputeBoardVoltage
198 + description: "Voltage state of the board"
199 + family: Board/Voltage/Status
200 + unit: "{status}"
201 mapping:
202 0: unknown
203 1: ok
@@ -235,8 +208,24 @@ metrics:
208 6: lower_critical
209 7: lower_non_recoverable
210 100: not_supported
238 - description: "Voltage state of the board"
239 - unit: "TBD"
211 + metric_tags:
212 + - symbol:
213 + name: cucsComputeBoardDn
214 + OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.2
215 + tag: cucs_compute_board_dn
216 + - symbol:
217 + name: cucsComputeBoardModel
218 + OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.6
219 + tag: cucs_compute_board_model
220 + - symbol:
221 + name: cucsComputeBoardSerial
222 + OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.14
223 + tag: cucs_compute_board_serial
224 + - symbol:
225 + name: cucsComputeBoardVendor
226 + OID: 1.3.6.1.4.1.9.9.719.1.9.6.1.16
227 + tag: cucs_compute_board_vendor
228 +
229 - MIB: CISCO-UNIFIED-COMPUTING-COMPUTE-MIB
230 table:
231 name: cucsComputeMbPowerStatsTable
@@ -245,32 +234,24 @@ metrics:
234 - name: cucsComputeMbPowerStatsConsumedPower
235 OID: 1.3.6.1.4.1.9.9.719.1.9.14.1.4
236 description: "Consumed power"
237 + family: Board/Power/Consumption
238 unit: "W"
239 - name: cucsComputeMbPowerStatsInputCurrent
240 OID: 1.3.6.1.4.1.9.9.719.1.9.14.1.8
241 description: "Input current"
242 + family: Board/Power/Current
243 unit: "A"
244 - name: cucsComputeMbPowerStatsInputVoltage
245 OID: 1.3.6.1.4.1.9.9.719.1.9.14.1.12
246 description: "Input voltage"
247 + family: Board/Power/Voltage
248 unit: "V"
249 metric_tags:
250 - symbol:
259 - name: cucsComputeMbPowerStatsDn
251 + name: cucsComputeMbPowerStatFlex Flashn
252 OID: 1.3.6.1.4.1.9.9.719.1.9.14.1.2
253 tag: cucs_compute_mb_power_stats_dn
262 - - MIB: CISCO-UNIFIED-COMPUTING-COMPUTE-MIB
263 - table:
264 - name: cucsComputeRackUnitTable
265 - OID: 1.3.6.1.4.1.9.9.719.1.9.35
266 - symbols:
267 - - name: memory.free
268 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.9 # cucsComputeRackUnitAvailableMemory
269 - - name: memory.total
270 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.49 # cucsComputeRackUnitTotalMemory
271 - metric_tags:
272 - - index: 1
273 - tag: mem
254 +
255 - MIB: CISCO-UNIFIED-COMPUTING-COMPUTE-MIB
256 table:
257 name: cucsComputeRackUnitTable
@@ -278,70 +259,19 @@ metrics:
259 symbols:
260 - name: cucsComputeRackUnitAvailableMemory
261 OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.9
281 - description: "Available memory"
262 + description: "Rack unit available memory"
263 + family: RackUnit/Memory/Available
264 unit: "By"
265 - name: cucsComputeRackUnitTotalMemory
266 OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.49
285 - description: "Total memory"
267 + description: "Rack Unit total memory"
268 + family: RackUnit/Memory/Total
269 unit: "By"
287 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
288 - metric_tags:
289 - - symbol:
290 - name: cucsComputeRackUnitDn
291 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.2
292 - tag: cucs_compute_rack_unit_dn
293 - - symbol:
294 - name: cucsComputeRackUnitModel
295 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.32
296 - tag: cucs_compute_rack_unit_model
297 - description: "Cisco UCS compute:RackUnit:model managed object property"
298 - unit: "TBD"
299 - - symbol:
300 - name: cucsComputeRackUnitName
301 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.33
302 - tag: cucs_compute_rack_unit_name
303 - description: "Cisco UCS compute:RackUnit:name managed object property"
304 - unit: "TBD"
305 - - symbol:
306 - name: cucsComputeRackUnitNumOfCores
307 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.35
308 - tag: cucs_compute_rack_unit_num_of_cores
309 - description: "Number of cores"
310 - unit: "{core}"
311 - - symbol:
312 - name: cucsComputeRackUnitNumOfCpus
313 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.36
314 - tag: cucs_compute_rack_unit_num_of_cpus
315 - description: "Number of cpus"
316 - unit: "{cpu}"
317 - - symbol:
318 - name: cucsComputeRackUnitNumOfThreads
319 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.39
320 - tag: cucs_compute_rack_unit_num_of_threads
321 - description: "Number of threads"
322 - unit: "{thread}"
323 - - symbol:
324 - name: cucsComputeRackUnitSerial
325 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.47
326 - tag: cucs_compute_rack_unit_serial
327 - description: "Cisco UCS compute:RackUnit:serial managed object property"
328 - unit: "TBD"
329 - - symbol:
330 - name: cucsComputeRackUnitUuid
331 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.50
332 - tag: cucs_compute_rack_unit_uuid
333 - description: "Cisco UCS compute:RackUnit:uuid managed object property"
334 - unit: "TBD"
335 - - symbol:
336 - name: cucsComputeRackUnitVendor
337 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.51
338 - tag: cucs_compute_rack_unit_vendor
339 - description: "Cisco UCS compute:RackUnit:vendor managed object property"
340 - unit: "TBD"
341 - - symbol:
342 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.4
343 - name: cucsComputeRackUnitAdminPower
344 - tag: cucs_compute_rack_unit_admin_power
270 + - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.4
271 + name: cucsComputeRackUnitAdminPower
272 + description: "Admin power state of the rack unit"
273 + family: RackUnit/Admin/Power
274 + unit: "{status}"
275 mapping:
276 2: cycle_immediate
277 3: cycle_wait
@@ -356,22 +286,20 @@ metrics:
286 31: admin_up
287 32: admin_down
288 33: ipmi_reset
359 - description: "Admin power state of the rack unit"
360 - unit: "TBD"
361 - - symbol:
362 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.5
363 - name: cucsComputeRackUnitAdminState
364 - tag: cucs_compute_rack_unit_admin_state
289 + - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.5
290 + name: cucsComputeRackUnitAdminState
291 + description: "Admin state of the rack unit"
292 + family: RackUnit/Admin/State
293 + unit: "{status}"
294 mapping:
295 1: in_service
296 2: out_of_service
297 3: in_maintenance
369 - description: "Admin state of the rack unit"
370 - unit: "TBD"
371 - - symbol:
372 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.7
373 - name: cucsComputeRackUnitAssociation
374 - tag: cucs_compute_rack_unit_association
298 + - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.7
299 + name: cucsComputeRackUnitAssociation
300 + description: "Association state of the rack unit"
301 + family: RackUnit/Association/Status
302 + unit: "{status}"
303 mapping:
304 0: none
305 1: establishing
@@ -379,33 +307,30 @@ metrics:
307 3: removing
308 4: failed
309 5: throttled
382 - description: "Association state of the rack unit"
383 - unit: "TBD"
384 - - symbol:
385 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.8
386 - name: cucsComputeRackUnitAvailability
387 - tag: cucs_compute_rack_unit_availability
310 + - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.8
311 + name: cucsComputeRackUnitAvailability
312 + description: "Availability state of the rack unit"
313 + family: RackUnit/Availability/Status
314 + unit: "{status}"
315 mapping:
316 0: unavailable
317 1: available
391 - description: "Availability state of the rack unit"
392 - unit: "TBD"
393 - - symbol:
394 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.10
395 - name: cucsComputeRackUnitCheckPoint
396 - tag: cucs_compute_rack_unit_check_point
318 + - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.10
319 + name: cucsComputeRackUnitCheckPoint
320 + description: "Checkpoint state of the rack unit"
321 + family: RackUnit/Checkpoint/Status
322 + unit: "{status}"
323 mapping:
324 0: unknown
325 1: removing
326 2: shallow_checkpoint
327 3: deep_checkpoint
328 4: discovered
403 - description: "Checkpoint state of the rack unit"
404 - unit: "TBD"
405 - - symbol:
406 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.40
407 - name: cucsComputeRackUnitOperPower
408 - tag: cucs_compute_rack_unit_oper_power
329 + - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.40
330 + name: cucsComputeRackUnitOperPower
331 + description: "Operational power state of the rack unit"
332 + family: RackUnit/Power/Operational
333 + unit: "{status}"
334 mapping:
335 0: unknown
336 1: on
@@ -420,12 +345,11 @@ metrics:
345 10: ok
346 11: failed
347 100: not_supported
423 - description: "Operational power state of the rack unit"
424 - unit: "TBD"
425 - - symbol:
426 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.42
427 - name: cucsComputeRackUnitOperState
428 - tag: cucs_compute_rack_unit_oper_state
348 + - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.42
349 + name: cucsComputeRackUnitOperState
350 + description: "Operational state of the rack unit"
351 + family: RackUnit/Operational/Status
352 + unit: "{status}"
353 mapping:
354 0: indeterminate
355 1: unassociated
@@ -460,12 +384,11 @@ metrics:
384 210: pending_reboot
385 211: pending_reassociation
386 212: svnic_not_present
463 - description: "Operational state of the rack unit"
464 - unit: "TBD"
465 - - symbol:
466 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.43
467 - name: cucsComputeRackUnitOperability
468 - tag: cucs_compute_rack_unit_operability
387 + - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.43
388 + name: cucsComputeRackUnitOperability
389 + description: "Operability state of the rack unit"
390 + family: RackUnit/Operability/Status
391 + unit: "{status}"
392 mapping:
393 0: unknown
394 1: operable
@@ -499,12 +422,11 @@ metrics:
422 106: peer_comm_problem
423 107: auto_upgrade
424 108: link_activate_blocked
502 - description: "Operability state of the rack unit"
503 - unit: "TBD"
504 - - symbol:
505 - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.45
506 - name: cucsComputeRackUnitPresence
507 - tag: cucs_compute_rack_unit_presence
425 + - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.45
426 + name: cucsComputeRackUnitPresence
427 + description: "Presence state of the rack unit"
428 + family: RackUnit/Presence/Status
429 + unit: "{status}"
430 mapping:
431 0: unknown
432 1: empty
@@ -522,8 +444,48 @@ metrics:
444 40: unauthorized
445 101: equipped_unsupported
446 102: equipped_deprecated
525 - description: "Presence state of the rack unit"
526 - unit: "TBD"
447 + - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.35
448 + name: cucsComputeRackUnitNumOfCores
449 + description: "Number of cores"
450 + family: RackUnit/CPU/Cores
451 + unit: "{core}"
452 + - OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.36
453 + name: cucsComputeRackUnitNumOfCpus
454 + description: "Number of cpus"
455 + family: RackUnit/CPU/Count
456 + unit: "{cpu}"
457 + - symbol:
458 + name: cucsComputeRackUnitNumOfThreads
459 + OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.39
460 + description: "Number of threads"
461 + family: RackUnit/CPU/Threads
462 + unit: "{thread}"
463 + metric_tags:
464 + - symbol:
465 + name: cucsComputeRackUnitDn
466 + OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.2
467 + tag: cucs_compute_rack_unit_dn
468 + - symbol:
469 + name: cucsComputeRackUnitModel
470 + OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.32
471 + tag: cucs_compute_rack_unit_model
472 + - symbol:
473 + name: cucsComputeRackUnitName
474 + OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.33
475 + tag: cucs_compute_rack_unit_name
476 + - symbol:
477 + name: cucsComputeRackUnitSerial
478 + OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.47
479 + tag: cucs_compute_rack_unit_serial
480 + - symbol:
481 + name: cucsComputeRackUnitUuid
482 + OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.50
483 + tag: cucs_compute_rack_unit_uuid
484 + - symbol:
485 + name: cucsComputeRackUnitVendor
486 + OID: 1.3.6.1.4.1.9.9.719.1.9.35.1.51
487 + tag: cucs_compute_rack_unit_vendor
488 +
489 - MIB: CISCO-UNIFIED-COMPUTING-COMPUTE-MIB
490 table:
491 name: cucsComputeRackUnitMbTempStatsTable
@@ -532,22 +494,26 @@ metrics:
494 - name: cucsComputeRackUnitMbTempStatsAmbientTemp
495 OID: 1.3.6.1.4.1.9.9.719.1.9.44.1.4
496 description: "Ambient temperature"
497 + family: RackUnit/Temperature/Ambient
498 unit: "Cel"
499 - name: cucsComputeRackUnitMbTempStatsFrontTemp
500 OID: 1.3.6.1.4.1.9.9.719.1.9.44.1.8
501 description: "Front temperature"
502 + family: RackUnit/Temperature/Front
503 unit: "Cel"
504 - name: cucsComputeRackUnitMbTempStatsIoh1Temp
505 OID: 1.3.6.1.4.1.9.9.719.1.9.44.1.13
506 description: "Ioh1 temperature"
507 + family: RackUnit/Temperature/IOH1
508 unit: "Cel"
509 - name: cucsComputeRackUnitMbTempStatsRearTemp
510 OID: 1.3.6.1.4.1.9.9.719.1.9.44.1.21
511 description: "Rear temperature"
512 + family: RackUnit/Temperature/Rear
513 unit: "Cel"
514 metric_tags:
515 - symbol:
550 - name: cucsComputeRackUnitMbTempStatsDn
516 + name: cucsComputeRackUnitMbTempStatFlex Flashn
517 OID: 1.3.6.1.4.1.9.9.719.1.9.44.1.2
518 tag: cucs_compute_rack_unit_mb_temp_stats_dn
519 - MIB: CISCO-UNIFIED-COMPUTING-EQUIPMENT-MIB
@@ -555,28 +521,11 @@ metrics:
521 name: cucsEquipmentFanTable
522 OID: 1.3.6.1.4.1.9.9.719.1.15.12
523 symbols:
558 - - name: cucsEquipmentFan
559 - constant_value_one: true
560 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
561 - metric_tags:
562 - - symbol:
563 - name: cucsEquipmentFanDn
564 - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.2
565 - tag: cucs_equipment_fan_dn
566 - - symbol:
567 - name: cucsEquipmentFanIntType
568 - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.6
569 - tag: cucs_equipment_fan_int_type
570 - mapping:
571 - 0: chassis
572 - 1: switch
573 - 2: fex
574 - description: "Type of the fan"
575 - unit: "TBD"
576 - - symbol:
577 - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.9
578 - name: cucsEquipmentFanOperState
579 - tag: cucs_equipment_fan_oper_state
524 + - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.9
525 + name: cucsEquipmentFanOperState
526 + description: "Operational state of the fan"
527 + family: Fan/Operational/Status
528 + unit: "{status}"
529 mapping:
530 0: unknown
531 1: operable
@@ -610,12 +559,11 @@ metrics:
559 106: peer_comm_problem
560 107: auto_upgrade
561 108: link_activate_blocked
613 - description: "Operational state of the fan"
614 - unit: "TBD"
615 - - symbol:
616 - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.10
617 - name: cucsEquipmentFanOperability
618 - tag: cucs_equipment_fan_operability
562 + - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.10
563 + name: cucsEquipmentFanOperability
564 + description: "Operability state of the fan"
565 + family: Fan/Operability/Status
566 + unit: "{status}"
567 mapping:
568 0: unknown
569 1: operable
@@ -649,12 +597,11 @@ metrics:
597 106: peer_comm_problem
598 107: auto_upgrade
599 108: link_activate_blocked
652 - description: "Operability state of the fan"
653 - unit: "TBD"
654 - - symbol:
655 - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.11
656 - name: cucsEquipmentFanPerf
657 - tag: cucs_equipment_fan_perf
600 + - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.11
601 + name: cucsEquipmentFanPerf
602 + description: "Performance state of the fan"
603 + family: Fan/Performance/Status
604 + unit: "{status}"
605 mapping:
606 0: unknown
607 1: ok
@@ -665,12 +612,11 @@ metrics:
612 6: lower_critical
613 7: lower_non_recoverable
614 100: not_supported
668 - description: "Performance state of the fan"
669 - unit: "TBD"
670 - - symbol:
671 - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.12
672 - name: cucsEquipmentFanPower
673 - tag: cucs_equipment_fan_power
615 + - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.12
616 + name: cucsEquipmentFanPower
617 + description: "Power state of the fan"
618 + family: Fan/Power/Status
619 + unit: "{status}"
620 mapping:
621 0: unknown
622 1: on
@@ -685,12 +631,11 @@ metrics:
631 10: ok
632 11: failed
633 100: not_supported
688 - description: "Power state of the fan"
689 - unit: "TBD"
690 - - symbol:
691 - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.13
692 - name: cucsEquipmentFanPresence
693 - tag: cucs_equipment_fan_presence
634 + - OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.13
635 + name: cucsEquipmentFanPresence
636 + description: "Presence state of the fan"
637 + family: Fan/Presence/Status
638 + unit: "{status}"
639 mapping:
640 0: unknown
641 1: empty
@@ -712,43 +657,30 @@ metrics:
657 103: equipped_disc_in_progress
658 104: equipped_disc_error
659 105: equipped_disc_unknown
715 - description: "Presence state of the fan"
716 - unit: "TBD"
660 + metric_tags:
661 + - symbol:
662 + name: cucsEquipmentFanDn
663 + OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.2
664 + tag: cucs_equipment_fan_dn
665 + - symbol:
666 + name: cucsEquipmentFanIntType
667 + OID: 1.3.6.1.4.1.9.9.719.1.15.12.1.6
668 + tag: cucs_equipment_fan_int_type
669 + mapping:
670 + 0: chassis
671 + 1: switch
672 + 2: fex
673 +
674 - MIB: CISCO-UNIFIED-COMPUTING-EQUIPMENT-MIB
675 table:
676 name: cucsEquipmentPsuTable
677 OID: 1.3.6.1.4.1.9.9.719.1.15.56
678 symbols:
722 - - name: cucsEquipmentPsu
723 - constant_value_one: true
724 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
725 - metric_tags:
726 - - symbol:
727 - name: cucsEquipmentPsuDn
728 - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.2
729 - tag: cucs_equipment_psu_dn
730 - - symbol:
731 - name: cucsEquipmentPsuModel
732 - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.6
733 - tag: cucs_equipment_psu_model
734 - description: "Cisco UCS equipment:Psu:model managed object property"
735 - unit: "TBD"
736 - - symbol:
737 - name: cucsEquipmentPsuRevision
738 - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.12
739 - tag: cucs_equipment_psu_revision
740 - description: "Cisco UCS equipment:Psu:revision managed object property"
741 - unit: "TBD"
742 - - symbol:
743 - name: cucsEquipmentPsuSerial
744 - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.13
745 - tag: cucs_equipment_psu_serial
746 - description: "Cisco UCS equipment:Psu:serial managed object property"
747 - unit: "TBD"
748 - - symbol:
749 - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.7
750 - name: cucsEquipmentPsuOperState
751 - tag: cucs_equipment_psu_oper_state
679 + - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.7
680 + name: cucsEquipmentPsuOperState
681 + description: "Operational state of the psu"
682 + family: PowerSupply/Operational/Status
683 + unit: "{status}"
684 mapping:
685 0: unknown
686 1: operable
@@ -782,12 +714,11 @@ metrics:
714 106: peer_comm_problem
715 107: auto_upgrade
716 108: link_activate_blocked
785 - description: "Operational state of the psu"
786 - unit: "TBD"
787 - - symbol:
788 - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.8
789 - name: cucsEquipmentPsuOperability
790 - tag: cucs_equipment_psu_operability
717 + - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.8
718 + name: cucsEquipmentPsuOperability
719 + description: "Operability state of the psu"
720 + family: PowerSupply/Operability/Status
721 + unit: "{status}"
722 mapping:
723 0: unknown
724 1: operable
@@ -821,12 +752,11 @@ metrics:
752 106: peer_comm_problem
753 107: auto_upgrade
754 108: link_activate_blocked
824 - description: "Operability state of the psu"
825 - unit: "TBD"
826 - - symbol:
827 - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.9
828 - name: cucsEquipmentPsuPerf
829 - tag: cucs_equipment_psu_perf
755 + - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.9
756 + name: cucsEquipmentPsuPerf
757 + description: "Performance state of the psu"
758 + family: PowerSupply/Performance/Status
759 + unit: "{status}"
760 mapping:
761 0: unknown
762 1: ok
@@ -837,12 +767,11 @@ metrics:
767 6: lower_critical
768 7: lower_non_recoverable
769 100: not_supported
840 - description: "Performance state of the psu"
841 - unit: "TBD"
842 - - symbol:
843 - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.10
844 - name: cucsEquipmentPsuPower
845 - tag: cucs_equipment_psu_power
770 + - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.10
771 + name: cucsEquipmentPsuPower
772 + description: "Power state of the psu"
773 + family: PowerSupply/Power/Status
774 + unit: "{status}"
775 mapping:
776 0: unknown
777 1: on
@@ -857,12 +786,11 @@ metrics:
786 10: ok
787 11: failed
788 100: not_supported
860 - description: "Power state of the psu"
861 - unit: "TBD"
862 - - symbol:
863 - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.11
864 - name: cucsEquipmentPsuPresence
865 - tag: cucs_equipment_psu_presence
789 + - OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.11
790 + name: cucsEquipmentPsuPresence
791 + description: "Presence state of the psu"
792 + family: PowerSupply/Presence/Status
793 + unit: "{status}"
794 mapping:
795 0: unknown
796 1: empty
@@ -884,8 +812,24 @@ metrics:
812 103: equipped_disc_in_progress
813 104: equipped_disc_error
814 105: equipped_disc_unknown
887 - description: "Presence state of the psu"
888 - unit: "TBD"
815 + metric_tags:
816 + - symbol:
817 + name: cucsEquipmentPsuDn
818 + OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.2
819 + tag: cucs_equipment_psu_dn
820 + - symbol:
821 + name: cucsEquipmentPsuModel
822 + OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.6
823 + tag: cucs_equipment_psu_model
824 + - symbol:
825 + name: cucsEquipmentPsuRevision
826 + OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.12
827 + tag: cucs_equipment_psu_revision
828 + - symbol:
829 + name: cucsEquipmentPsuSerial
830 + OID: 1.3.6.1.4.1.9.9.719.1.15.56.1.13
831 + tag: cucs_equipment_psu_serial
832 +
833 - MIB: CISCO-UNIFIED-COMPUTING-MEMORY-MIB
834 table:
835 name: cucsMemoryUnitTable
@@ -894,54 +838,13 @@ metrics:
838 - name: cucsMemoryUnitCapacity
839 OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.6
840 description: "Capacity of the memory unit"
841 + family: Memory/Capacity
842 unit: "By"
898 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
899 - metric_tags:
900 - - symbol:
901 - name: cucsMemoryUnitDn
902 - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.2
903 - tag: cucs_memory_unit_dn
904 - - symbol:
905 - name: cucsMemoryUnitLocation
906 - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.11
907 - tag: cucs_memory_unit_location
908 - description: "Location of the memory unit"
909 - unit: "TBD"
910 - - symbol:
911 - name: cucsMemoryUnitType
912 - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.23
913 - tag: cucs_memory_unit_type
914 - mapping:
915 - 0: undiscovered
916 - 1: other
917 - 2: unknown
918 - 3: dram
919 - 4: edram
920 - 5: vram
921 - 6: sram
922 - 7: ram
923 - 8: rom
924 - 9: flash
925 - 10: eeprom
926 - 11: feprom
927 - 12: eprom
928 - 13: cdram
929 - 14: n3dram
930 - 15: sdram
931 - 16: sgram
932 - 17: rdram
933 - 18: ddr
934 - 19: ddr2
935 - 20: ddr2_fb_dimm
936 - 24: ddr3
937 - 25: fbd2
938 - 26: ddr4
939 - description: "Type of the memory unit"
940 - unit: "TBD"
941 - - symbol:
942 - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.13
943 - name: cucsMemoryUnitOperState
944 - tag: cucs_memory_unit_oper_state
843 + - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.13
844 + name: cucsMemoryUnitOperState
845 + description: "Operational state of the memory unit"
846 + family: Memory/Operational/Status
847 + unit: "{status}"
848 mapping:
849 0: unknown
850 1: operable
@@ -975,12 +878,11 @@ metrics:
878 106: peer_comm_problem
879 107: auto_upgrade
880 108: link_activate_blocked
978 - description: "Operational state of the memory unit"
979 - unit: "TBD"
980 - - symbol:
981 - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.14
982 - name: cucsMemoryUnitOperability
983 - tag: cucs_memory_unit_operability
881 + - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.14
882 + name: cucsMemoryUnitOperability
883 + description: "Operability state of the memory unit"
884 + family: Memory/Operability/Status
885 + unit: "{status}"
886 mapping:
887 0: unknown
888 1: operable
@@ -1014,12 +916,11 @@ metrics:
916 106: peer_comm_problem
917 107: auto_upgrade
918 108: link_activate_blocked
1017 - description: "Operability state of the memory unit"
1018 - unit: "TBD"
1019 - - symbol:
1020 - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.15
1021 - name: cucsMemoryUnitPerf
1022 - tag: cucs_memory_unit_perf
919 + - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.15
920 + name: cucsMemoryUnitPerf
921 + description: "Performance state of the memory unit"
922 + family: Memory/Performance/Status
923 + unit: "{status}"
924 mapping:
925 0: unknown
926 1: ok
@@ -1030,12 +931,11 @@ metrics:
931 6: lower_critical
932 7: lower_non_recoverable
933 100: not_supported
1033 - description: "Performance state of the memory unit"
1034 - unit: "TBD"
1035 - - symbol:
1036 - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.16
1037 - name: cucsMemoryUnitPower
1038 - tag: cucs_memory_unit_power
934 + - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.16
935 + name: cucsMemoryUnitPower
936 + description: "Power state of the memory unit"
937 + family: Memory/Power/Status
938 + unit: "{status}"
939 mapping:
940 0: unknown
941 1: on
@@ -1050,12 +950,11 @@ metrics:
950 10: ok
951 11: failed
952 100: not_supported
1053 - description: "Power state of the memory unit"
1054 - unit: "TBD"
1055 - - symbol:
1056 - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.17
1057 - name: cucsMemoryUnitPresence
1058 - tag: cucs_memory_unit_presence
953 + - OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.17
954 + name: cucsMemoryUnitPresence
955 + description: "Presence state of the memory unit"
956 + family: Memory/Presence/Status
957 + unit: "{status}"
958 mapping:
959 0: unknown
960 1: empty
@@ -1077,8 +976,45 @@ metrics:
976 103: equipped_disc_in_progress
977 104: equipped_disc_error
978 105: equipped_disc_unknown
1080 - description: "Presence state of the memory unit"
1081 - unit: "TBD"
979 + metric_tags:
980 + - symbol:
981 + name: cucsMemoryUnitDn
982 + OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.2
983 + tag: cucs_memory_unit_dn
984 + - symbol:
985 + name: cucsMemoryUnitLocation
986 + OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.11
987 + tag: cucs_memory_unit_location
988 + - symbol:
989 + name: cucsMemoryUnitType
990 + OID: 1.3.6.1.4.1.9.9.719.1.30.11.1.23
991 + tag: cucs_memory_unit_type
992 + mapping:
993 + 0: undiscovered
994 + 1: other
995 + 2: unknown
996 + 3: dram
997 + 4: edram
998 + 5: vram
999 + 6: sram
1000 + 7: ram
1001 + 8: rom
1002 + 9: flash
1003 + 10: eeprom
1004 + 11: feprom
1005 + 12: eprom
1006 + 13: cdram
1007 + 14: n3dram
1008 + 15: Flex Flashram
1009 + 16: sgram
1010 + 17: rdram
1011 + 18: ddr
1012 + 19: ddr2
1013 + 20: ddr2_fb_dimm
1014 + 24: ddr3
1015 + 25: fbd2
1016 + 26: ddr4
1017 +
1018 - MIB: CISCO-UNIFIED-COMPUTING-MEMORY-MIB
1019 table:
1020 name: cucsMemoryUnitEnvStatsTable
@@ -1087,12 +1023,14 @@ metrics:
1023 - name: cucsMemoryUnitEnvStatsTemperature
1024 OID: 1.3.6.1.4.1.9.9.719.1.30.12.1.6
1025 description: "Temperature"
1026 + family: Memory/Temperature
1027 unit: "Cel"
1028 metric_tags:
1029 - symbol:
1093 - name: cucsMemoryUnitEnvStatsDn
1030 + name: cucsMemoryUnitEnvStatFlex Flashn
1031 OID: 1.3.6.1.4.1.9.9.719.1.30.12.1.2
1032 tag: cucs_memory_unit_env_stats_dn
1033 +
1034 - MIB: CISCO-UNIFIED-COMPUTING-PROCESSOR-MIB
1035 table:
1036 name: cucsProcessorEnvStatsTable
@@ -1101,12 +1039,14 @@ metrics:
1039 - name: cucsProcessorEnvStatsTemperature
1040 OID: 1.3.6.1.4.1.9.9.719.1.41.2.1.10
1041 description: "Temperature"
1042 + family: Processor/Temperature
1043 unit: "Cel"
1044 metric_tags:
1045 - symbol:
1107 - name: cucsProcessorEnvStatsDn
1046 + name: cucsProcessorEnvStatFlex Flashn
1047 OID: 1.3.6.1.4.1.9.9.719.1.41.2.1.2
1048 tag: cucs_processor_env_stats_dn
1049 +
1050 - MIB: CISCO-UNIFIED-COMPUTING-PROCESSOR-MIB
1051 table:
1052 name: cucsProcessorUnitTable
@@ -1114,61 +1054,27 @@ metrics:
1054 symbols:
1055 - name: cucsProcessorUnit
1056 constant_value_one: true
1117 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
1118 - metric_tags:
1119 - - symbol:
1120 - name: cucsProcessorUnitDn
1121 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.2
1122 - tag: cucs_processor_unit_dn
1123 - - symbol:
1124 - name: cucsProcessorUnitArch
1125 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.4
1126 - tag: cucs_processor_unit_arch
1127 - mapping:
1128 - 0: any
1129 - 1: intel_p4c
1130 - 132: opteron
1131 - 134: turion64
1132 - 135: dual_core_opteron
1133 - 178: pentium4
1134 - 179: xeon
1135 - 181: xeon_mp
1136 - description: "Architecture of the processor unit"
1137 - unit: "TBD"
1138 - - symbol:
1139 - name: cucsProcessorUnitCores
1140 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.5
1141 - tag: cucs_processor_unit_cores
1057 + # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
1058 + - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.5
1059 + name: cucsProcessorUnitCores
1060 description: "Number of cores"
1143 - unit: "\"{core}\""
1144 - - symbol:
1145 - name: cucsProcessorUnitCoresEnabled
1146 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.6
1147 - tag: cucs_processor_unit_cores_enabled
1061 + family: Processor/Cores/Total
1062 + unit: "{core}"
1063 + - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.6
1064 + name: cucsProcessorUnitCoresEnabled
1065 description: "Number of cores enabled"
1149 - unit: "\"{core}\""
1150 - - symbol:
1151 - name: cucsProcessorUnitModel
1152 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.8
1153 - tag: cucs_processor_unit_model
1154 - description: "Model of the processor unit"
1155 - unit: "TBD"
1156 - - symbol:
1157 - name: cucsProcessorUnitThreads
1158 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.20
1159 - tag: cucs_processor_unit_threads
1066 + family: Processor/Cores/Enabled
1067 + unit: "{core}"
1068 + - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.20
1069 + name: cucsProcessorUnitThreads
1070 description: "Number of threads"
1071 + family: Processor/Threads
1072 unit: "{thread}"
1162 - - symbol:
1163 - name: cucsProcessorUnitVendor
1164 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.21
1165 - tag: cucs_processor_unit_vendor
1166 - description: "Vendor of the processor unit"
1167 - unit: "TBD"
1168 - - symbol:
1169 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.9
1170 - name: cucsProcessorUnitOperState
1171 - tag: cucs_processor_unit_oper_state
1073 + - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.9
1074 + name: cucsProcessorUnitOperState
1075 + description: "Operational state of the processor unit"
1076 + family: Processor/Operational/Status
1077 + unit: "{status}"
1078 mapping:
1079 0: unknown
1080 1: operable
@@ -1202,12 +1108,11 @@ metrics:
1108 106: peer_comm_problem
1109 107: auto_upgrade
1110 108: link_activate_blocked
1205 - description: "Operational state of the processor unit"
1206 - unit: "TBD"
1207 - - symbol:
1208 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.10
1209 - name: cucsProcessorUnitOperability
1210 - tag: cucs_processor_unit_operability
1111 + - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.10
1112 + name: cucsProcessorUnitOperability
1113 + description: "Operability state of the processor unit"
1114 + family: Processor/Operability/Status
1115 + unit: "{status}"
1116 mapping:
1117 0: unknown
1118 1: operable
@@ -1241,12 +1146,11 @@ metrics:
1146 106: peer_comm_problem
1147 107: auto_upgrade
1148 108: link_activate_blocked
1244 - description: "Operability state of the processor unit"
1245 - unit: "TBD"
1246 - - symbol:
1247 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.11
1248 - name: cucsProcessorUnitPerf
1249 - tag: cucs_processor_unit_perf
1149 + - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.11
1150 + name: cucsProcessorUnitPerf
1151 + description: "Performance state of the processor unit"
1152 + family: Processor/Performance/Status
1153 + unit: "{status}"
1154 mapping:
1155 0: unknown
1156 1: ok
@@ -1257,12 +1161,11 @@ metrics:
1161 6: lower_critical
1162 7: lower_non_recoverable
1163 100: not_supported
1260 - description: "Performance state of the processor unit"
1261 - unit: "TBD"
1262 - - symbol:
1263 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.12
1264 - name: cucsProcessorUnitPower
1265 - tag: cucs_processor_unit_power
1164 + - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.12
1165 + name: cucsProcessorUnitPower
1166 + description: "Power state of the processor unit"
1167 + family: Processor/Power/Status
1168 + unit: "{status}"
1169 mapping:
1170 0: unknown
1171 1: on
@@ -1277,12 +1180,11 @@ metrics:
1180 10: ok
1181 11: failed
1182 100: not_supported
1280 - description: "Power state of the processor unit"
1281 - unit: "TBD"
1282 - - symbol:
1283 - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.13
1284 - name: cucsProcessorUnitPresence
1285 - tag: cucs_processor_unit_presence
1183 + - OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.13
1184 + name: cucsProcessorUnitPresence
1185 + description: "Presence state of the processor unit"
1186 + family: Processor/Presence/Status
1187 + unit: "{status}"
1188 mapping:
1189 0: unknown
1190 1: empty
@@ -1304,8 +1206,33 @@ metrics:
1206 103: equipped_disc_in_progress
1207 104: equipped_disc_error
1208 105: equipped_disc_unknown
1307 - description: "Presence state of the processor unit"
1308 - unit: "TBD"
1209 + metric_tags:
1210 + - symbol:
1211 + name: cucsProcessorUnitDn
1212 + OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.2
1213 + tag: cucs_processor_unit_dn
1214 + - symbol:
1215 + name: cucsProcessorUnitArch
1216 + OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.4
1217 + tag: cucs_processor_unit_arch
1218 + mapping:
1219 + 0: any
1220 + 1: intel_p4c
1221 + 132: opteron
1222 + 134: turion64
1223 + 135: dual_core_opteron
1224 + 178: pentium4
1225 + 179: xeon
1226 + 181: xeon_mp
1227 + - symbol:
1228 + name: cucsProcessorUnitModel
1229 + OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.8
1230 + tag: cucs_processor_unit_model
1231 + - symbol:
1232 + name: cucsProcessorUnitVendor
1233 + OID: 1.3.6.1.4.1.9.9.719.1.41.9.1.21
1234 + tag: cucs_processor_unit_vendor
1235 +
1236 - MIB: CISCO-UNIFIED-COMPUTING-STORAGE-MIB
1237 table:
1238 name: cucsStorageFlexFlashCardTable
@@ -1314,71 +1241,48 @@ metrics:
1241 - name: cucsStorageFlexFlashCardReadIOErrorCount
1242 OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.19
1243 description: "Read io error count"
1244 + family: Storage/FlexFlash/Error/Read
1245 unit: "{error}"
1246 - name: cucsStorageFlexFlashCardSize
1247 OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.22
1248 description: "Size of the flex flash card"
1249 + family: Storage/FlexFlash/Capacity
1250 unit: "By"
1251 - name: cucsStorageFlexFlashCardWriteIOErrorCount
1252 OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.26
1253 description: "Write io error count"
1254 + family: Storage/FlexFlash/Error/Write
1255 unit: "{error}"
1326 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
1327 - metric_tags:
1328 - - symbol:
1329 - name: cucsStorageFlexFlashCardDn
1330 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.2
1331 - tag: cucs_storage_flex_flash_card_dn
1332 - - symbol:
1333 - name: cucsStorageFlexFlashCardCardMode
1334 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.6
1335 - tag: cucs_storage_flex_flash_card_mode
1256 + - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.6
1257 + name: cucsStorageFlexFlashCardCardMode
1258 + description: "Mode of the flex flash card"
1259 + family: Storage/FlexFlash/Mode/Status
1260 + unit: "{status}"
1261 mapping:
1262 0: ff_phy_drive_unpaired_primary
1263 1: ff_phy_drive_primary
1264 2: ff_phy_drive_secondary_act
1265 3: ff_phy_drive_secondary_unhealthy
1341 - description: "Mode of the flex flash card"
1342 - unit: "TBD"
1343 - - symbol:
1344 - name: cucsStorageFlexFlashCardCardType
1345 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.7
1346 - tag: cucs_storage_flex_flash_card_card_type
1347 - description: "Type of the flex flash card"
1348 - unit: "TBD"
1349 - - symbol:
1350 - name: cucsStorageFlexFlashCardConnectionProtocol
1351 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.8
1352 - tag: cucs_storage_flex_flash_card_connection_protocol
1266 + - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.8
1267 + name: cucsStorageFlexFlashCardConnectionProtocol
1268 + description: "Connection protocol of the flex flash card"
1269 + family: Storage/FlexFlash/Protocol/Type
1270 + unit: "{status}"
1271 mapping:
1272 0: unspecified
1273 1: sas
1274 2: sata
1275 3: nvme
1358 - description: "Connection protocol of the flex flash card"
1359 - unit: "TBD"
1360 - - symbol:
1361 - name: cucsStorageFlexFlashCardRevision
1362 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.20
1363 - tag: cucs_storage_flex_flash_card_revision
1364 - description: "Revision of the flex flash card"
1365 - unit: "TBD"
1366 - - symbol:
1367 - name: cucsStorageFlexFlashCardSerial
1368 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.21
1369 - tag: cucs_storage_flex_flash_card_serial
1370 - description: "Serial of the flex flash card"
1371 - unit: "TBD"
1372 - - symbol:
1373 - name: cucsStorageFlexFlashCardDrivesEnabled
1374 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.29
1375 - tag: cucs_storage_flex_flash_card_drives_enabled
1276 + - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.29
1277 + name: cucsStorageFlexFlashCardDrivesEnabled
1278 description: "Number of drives enabled"
1279 + family: Storage/FlexFlash/Drive/Enabled
1280 unit: "{drive}"
1378 - - symbol:
1379 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.5
1380 - name: cucsStorageFlexFlashCardCardHealth
1381 - tag: cucs_storage_flex_flash_card_card_health
1281 + - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.5
1282 + name: cucsStorageFlexFlashCardCardHealth
1283 + description: "Health state of the flex flash card"
1284 + family: Storage/FlexFlash/Health/Status
1285 + unit: "{status}"
1286 mapping:
1287 0: ff_phy_health_na
1288 1: ff_phy_health_ok
@@ -1386,12 +1290,11 @@ metrics:
1290 3: ff_phy_unhealthy_other
1291 4: ff_phy_raid_sync_in_progress
1292 5: ff_phy_raid_out_of_sync
1389 - description: "Health state of the flex flash card"
1390 - unit: "TBD"
1391 - - symbol:
1392 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.17
1393 - name: cucsStorageFlexFlashCardOperability
1394 - tag: cucs_storage_flex_flash_card_operability
1293 + - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.17
1294 + name: cucsStorageFlexFlashCardOperability
1295 + description: "Operability state of the flex flash card"
1296 + family: Storage/FlexFlash/Operability/Status
1297 + unit: "{status}"
1298 mapping:
1299 0: unknown
1300 1: operable
@@ -1425,12 +1328,11 @@ metrics:
1328 106: peer_comm_problem
1329 107: auto_upgrade
1330 108: link_activate_blocked
1428 - description: "Operability state of the flex flash card"
1429 - unit: "TBD"
1430 - - symbol:
1431 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.18
1432 - name: cucsStorageFlexFlashCardPresence
1433 - tag: cucs_storage_flex_flash_card_presence
1331 + - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.18
1332 + name: cucsStorageFlexFlashCardPresence
1333 + description: "Presence state of the flex flash card"
1334 + family: Storage/FlexFlash/Presence/Status
1335 + unit: "{status}"
1336 mapping:
1337 0: unknown
1338 1: empty
@@ -1452,12 +1354,11 @@ metrics:
1354 103: equipped_disc_in_progress
1355 104: equipped_disc_error
1356 105: equipped_disc_unknown
1455 - description: "Presence state of the flex flash card"
1456 - unit: "TBD"
1457 - - symbol:
1458 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.27
1459 - name: cucsStorageFlexFlashCardCardState
1460 - tag: cucs_storage_flex_flash_card_card_state
1357 + - name: cucsStorageFlexFlashCardCardState
1358 + OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.27
1359 + description: "State of the flex flash card"
1360 + family: Storage/FlexFlash/Status
1361 + unit: "{status}"
1362 mapping:
1363 0: undefined
1364 1: configured
@@ -1466,19 +1367,35 @@ metrics:
1367 4: ignored
1368 5: failed
1369 6: unknown
1469 - description: "State of the flex flash card"
1470 - unit: "TBD"
1370 - symbol:
1472 - OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.28
1473 - name: cucsStorageFlexFlashCardCardSync
1474 - tag: cucs_storage_flex_flash_card_card_sync
1371 + OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.28
1372 + name: cucsStorageFlexFlashCardCardSync
1373 + description: "Sync state of the flex flash card"
1374 + family: Storage/FlexFlash/Sync/Status
1375 + unit: "{status}"
1376 mapping:
1377 0: na
1378 1: manual
1379 2: auto
1380 3: unknown
1480 - description: "Sync state of the flex flash card"
1481 - unit: "TBD"
1381 + metric_tags:
1382 + - symbol:
1383 + name: cucsStorageFlexFlashCardDn
1384 + OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.2
1385 + tag: cucs_storage_flex_flash_card_dn
1386 + - symbol:
1387 + name: cucsStorageFlexFlashCardCardType
1388 + OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.7
1389 + tag: cucs_storage_flex_flash_card_card_type
1390 + - symbol:
1391 + name: cucsStorageFlexFlashCardRevision
1392 + OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.20
1393 + tag: cucs_storage_flex_flash_card_revision
1394 + - symbol:
1395 + name: cucsStorageFlexFlashCardSerial
1396 + OID: 1.3.6.1.4.1.9.9.719.1.45.34.1.21
1397 + tag: cucs_storage_flex_flash_card_serial
1398 +
1399 - MIB: CISCO-UNIFIED-COMPUTING-STORAGE-MIB
1400 table:
1401 name: cucsStorageFlexFlashDriveTable
@@ -1487,89 +1404,34 @@ metrics:
1404 - name: cucsStorageFlexFlashDriveSize
1405 OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.18
1406 description: "Size of the flex flash drive"
1407 + family: Storage/FlexFlash/Drive/Capacity
1408 unit: "By"
1491 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
1492 - metric_tags:
1493 - - symbol:
1494 - name: cucsStorageFlexFlashDriveDn
1495 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.2
1496 - tag: cucs_storage_flex_flash_drive_dn
1497 - - symbol:
1498 - name: cucsStorageFlexFlashDriveConnectionProtocol
1499 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.5
1500 - tag: cucs_storage_flex_flash_drive_connection_protocol
1409 + - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.5
1410 + name: cucsStorageFlexFlashDriveConnectionProtocol
1411 + description: "Connection protocol of the flex flash drive"
1412 + family: Storage/FlexFlash/Drive/Protocol
1413 + unit: "{status}"
1414 mapping:
1415 0: unspecified
1416 1: sas
1417 2: sata
1418 3: nvme
1506 - description: "Connection protocol of the flex flash drive"
1507 - unit: "TBD"
1508 - - symbol:
1509 - name: cucsStorageFlexFlashDriveDriveType
1510 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.8
1511 - tag: cucs_storage_flex_flash_drive_drive_type
1419 + - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.8
1420 + name: cucsStorageFlexFlashDriveDriveType
1421 + description: "Type of the flex flash drive"
1422 + family: Storage/FlexFlash/Drive/Type
1423 + unit: "{status}"
1424 mapping:
1425 0: unknown
1426 1: scu
1427 2: huu
1428 3: hv
1429 4: drivers
1518 - description: "Type of the flex flash drive"
1519 - unit: "TBD"
1520 - - symbol:
1521 - name: cucsStorageFlexFlashDriveModel
1522 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.10
1523 - tag: cucs_storage_flex_flash_drive_model
1524 - description: "Model of the flex flash drive"
1525 - unit: "TBD"
1526 - - symbol:
1527 - name: cucsStorageFlexFlashDriveName
1528 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.11
1529 - tag: cucs_storage_flex_flash_drive_name
1530 - description: "Name of the flex flash drive"
1531 - unit: "TBD"
1532 - - symbol:
1533 - name: cucsStorageFlexFlashDriveVisible
1534 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.21
1535 - tag: cucs_storage_flex_flash_drive_visible
1536 - mapping:
1537 - 0: no
1538 - 1: yes
1539 - description: "Visibility state of the flex flash drive"
1540 - unit: "TBD"
1541 - - symbol:
1542 - name: cucsStorageFlexFlashDriveRemovable
1543 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.22
1544 - tag: cucs_storage_flex_flash_drive_removable
1545 - mapping:
1546 - 0: na
1547 - 1: yes
1548 - 2: no
1549 - description: "Removable state of the flex flash drive"
1550 - unit: "TBD"
1551 - - symbol:
1552 - name: cucsStorageFlexFlashDriveRWType
1553 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.23
1554 - tag: cucs_storage_flex_flash_drive_rw_type
1555 - mapping:
1556 - 0: read_write
1557 - 1: read_only
1558 - description: "Read/write type of the flex flash drive"
1559 - unit: "TBD"
1560 - - symbol:
1561 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.7
1562 - name: cucsStorageFlexFlashDriveDriveState
1563 - tag: cucs_storage_flex_flash_drive_state
1564 - mapping:
1565 - 0: nonraid
1566 - 1: raid
1567 - description: "Drive state of the flex flash drive"
1568 - unit: "TBD"
1569 - - symbol:
1570 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.14
1571 - name: cucsStorageFlexFlashDriveOperability
1572 - tag: cucs_storage_flex_flash_drive_operability
1430 + - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.14
1431 + name: cucsStorageFlexFlashDriveOperability
1432 + description: "Operability state of the flex flash drive"
1433 + family: Storage/FlexFlash/Drive/Operability
1434 + unit: "{status}"
1435 mapping:
1436 0: unknown
1437 1: operable
@@ -1603,12 +1465,11 @@ metrics:
1465 106: peer_comm_problem
1466 107: auto_upgrade
1467 108: link_activate_blocked
1606 - description: "Operability state of the flex flash drive"
1607 - unit: "TBD"
1608 - - symbol:
1609 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.15
1610 - name: cucsStorageFlexFlashDrivePresence
1611 - tag: cucs_storage_flex_flash_drive_presence
1468 + - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.15
1469 + name: cucsStorageFlexFlashDrivePresence
1470 + description: "Presence state of the flex flash drive"
1471 + family: Storage/FlexFlash/Drive/Presence
1472 + unit: "{status}"
1473 mapping:
1474 0: unknown
1475 1: empty
@@ -1630,12 +1491,11 @@ metrics:
1491 103: equipped_disc_in_progress
1492 104: equipped_disc_error
1493 105: equipped_disc_unknown
1633 - description: "Presence state of the flex flash drive"
1634 - unit: "TBD"
1635 - - symbol:
1636 - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.25
1637 - name: cucsStorageFlexFlashDriveOperationState
1638 - tag: cucs_storage_flex_flash_drive_operation_state
1494 + - OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.25
1495 + name: cucsStorageFlexFlashDriveOperationState
1496 + description: "Operation state of the flex flash drive"
1497 + family: Storage/FlexFlash/Drive/Operation
1498 + unit: "{status}"
1499 mapping:
1500 0: partition_non_mirrored
1501 1: partition_mirrored
@@ -1655,5 +1515,45 @@ metrics:
1515 15: partition_non_mirrored_updating_success
1516 16: partition_non_mirrored_erasing_success
1517 17: unknown
1658 - description: "Operation state of the flex flash drive"
1659 - unit: "TBD"
1518 + metric_tags:
1519 + - symbol:
1520 + name: cucsStorageFlexFlashDriveDn
1521 + OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.2
1522 + tag: cucs_storage_flex_flash_drive_dn
1523 + - symbol:
1524 + name: cucsStorageFlexFlashDriveModel
1525 + OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.10
1526 + tag: cucs_storage_flex_flash_drive_model
1527 + - symbol:
1528 + name: cucsStorageFlexFlashDriveName
1529 + OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.11
1530 + tag: cucs_storage_flex_flash_drive_name
1531 + - symbol:
1532 + name: cucsStorageFlexFlashDriveVisible
1533 + OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.21
1534 + tag: cucs_storage_flex_flash_drive_visible
1535 + mapping:
1536 + 0: no
1537 + 1: yes
1538 + - symbol:
1539 + name: cucsStorageFlexFlashDriveRemovable
1540 + OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.22
1541 + tag: cucs_storage_flex_flash_drive_removable
1542 + mapping:
1543 + 0: na
1544 + 1: yes
1545 + 2: no
1546 + - symbol:
1547 + name: cucsStorageFlexFlashDriveRWType
1548 + OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.23
1549 + tag: cucs_storage_flex_flash_drive_rw_type
1550 + mapping:
1551 + 0: read_write
1552 + 1: read_only
1553 + - symbol:
1554 + OID: 1.3.6.1.4.1.9.9.719.1.45.36.1.7
1555 + name: cucsStorageFlexFlashDriveDriveState
1556 + tag: cucs_storage_flex_flash_drive_state
1557 + mapping:
1558 + 0: nonraid
1559 + 1: raid
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco-wan-optimizer.yaml
+64 -41
@@ -1,108 +1,131 @@
1 extends:
2 - _generic-host-resources-base.yaml
3 - cisco.yaml
4 +
5 +metadata:
6 + device:
7 + fields:
8 + type:
9 + value: "WAVE"
10 + vendor:
11 + value: "Cisco"
12 +
13 sysobjectid:
5 - - 1.3.6.1.4.1.9.1.957 # Cisco WAVE 674
6 - - 1.3.6.1.4.1.9.1.985 # Cisco WAVE 574
7 - - 1.3.6.1.4.1.9.1.986 # Cisco WAVE 474
8 - - 1.3.6.1.4.1.9.1.987 # Cisco WAVE 274
14 + - 1.3.6.1.4.1.9.1.957 # Cisco WAVE 674
15 + - 1.3.6.1.4.1.9.1.985 # Cisco WAVE 574
16 + - 1.3.6.1.4.1.9.1.986 # Cisco WAVE 474
17 + - 1.3.6.1.4.1.9.1.987 # Cisco WAVE 274
18 - 1.3.6.1.4.1.9.1.1349 # Cisco WAVE 8541
19 - 1.3.6.1.4.1.9.1.1350 # Cisco WAVE 7571
20 - 1.3.6.1.4.1.9.1.1351 # Cisco WAVE 7541
21 - 1.3.6.1.4.1.9.1.1352 # Cisco WAVE 694
22 - 1.3.6.1.4.1.9.1.1353 # Cisco WAVE 594
23 - 1.3.6.1.4.1.9.1.1354 # Cisco WAVE 294
24 +
25 metrics:
26 - MIB: CISCO-CONTENT-ENGINE-MIB
27 symbol:
28 OID: 1.3.6.1.4.1.9.9.178.1.6.2.1.0
29 name: cceAlarmCriticalCount
20 - description: Number of alarms currently raised with a severity of 'critical'.
21 - unit: "{alarm}"
30 + description: Number of alarms currently raised with a severity of 'critical'
31 + family: Alarm/Critical/Raised
32 + unit: "{alarm}"
33 - MIB: CISCO-CONTENT-ENGINE-MIB
34 symbol:
35 OID: 1.3.6.1.4.1.9.9.178.1.6.2.2.0
36 name: cceAlarmMajorCount
26 - description: Number of alarms currently raised with a severity of 'major'.
27 - unit: "{alarm}"
37 + description: Number of alarms currently raised with a severity of 'major'
38 + family: Alarm/Major/Raised
39 + unit: "{alarm}"
40 - MIB: CISCO-CONTENT-ENGINE-MIB
41 symbol:
42 OID: 1.3.6.1.4.1.9.9.178.1.6.2.3.0
43 name: cceAlarmMinorCount
32 - description: Number of alarms currently raised with a severity of 'minor'.
33 - unit: "{alarm}"
44 + description: Number of alarms currently raised with a severity of 'minor'
45 + family: Alarm/Minor/Raised
46 + unit: "{alarm}"
47 - MIB: CISCO-WAN-OPTIMIZATION-MIB
48 symbol:
49 OID: 1.3.6.1.4.1.9.9.762.1.2.1.1.0
50 name: cwoTfoStatsTotalOptConn
38 - metric_type: monotonic_count
39 - description: This object contains total number of TCP connections optimized since TFO was started or its statistics were last reset.
40 - unit: "{connection}"
51 + description: This object contains total number of TCP connections optimized since TFO was started or its statistics were last reset
52 + family: TFO/Connection/Optimized/Total
53 + unit: "{connection}/s"
54 - MIB: CISCO-WAN-OPTIMIZATION-MIB
55 symbol:
56 OID: 1.3.6.1.4.1.9.9.762.1.2.1.2.0
57 name: cwoTfoStatsActiveOptConn
45 - description: This object contains number of currently active TCP connections getting optimized.
46 - unit: "{connection}"
58 + description: This object contains number of currently active TCP connections getting optimized
59 + family: TFO/Connection/Optimized/Active
60 + unit: "{connection}"
61 - MIB: CISCO-WAN-OPTIMIZATION-MIB
62 symbol:
63 OID: 1.3.6.1.4.1.9.9.762.1.2.1.4.0
64 name: cwoTfoStatsActiveOptTCPPlusConn
51 - description: This object contains number of active TCP connections going through TCP plus other optimization.
52 - unit: "{connection}"
65 + description: This object contains number of active TCP connections going through TCP plus other optimization
66 + family: TFO/Connection/Optimized/TCPPlus
67 + unit: "{connection}"
68 - MIB: CISCO-WAN-OPTIMIZATION-MIB
69 symbol:
70 OID: 1.3.6.1.4.1.9.9.762.1.2.1.5.0
71 name: cwoTfoStatsActiveOptTCPOnlyConn
57 - description: This object contains number of active connections going through only TCP optimization.
58 - unit: "{connection}"
72 + description: This object contains number of active connections going through only TCP optimization
73 + family: TFO/Connection/Optimized/TCPOnly
74 + unit: "{connection}"
75 - MIB: CISCO-WAN-OPTIMIZATION-MIB
76 symbol:
77 OID: 1.3.6.1.4.1.9.9.762.1.2.1.6.0
78 name: cwoTfoStatsActiveOptTCPPrepConn
63 - description: This object contains number of current active TCP connections that were originated by an accelerator to acquire data in anticipation of its future use.
64 - unit: "{connection}"
79 + description: This object contains number of current active TCP connections that were originated by an accelerator to acquire data in anticipation of its future use
80 + family: TFO/Connection/Preposition/Active
81 + unit: "{connection}"
82 - MIB: CISCO-WAN-OPTIMIZATION-MIB
83 symbol:
84 OID: 1.3.6.1.4.1.9.9.762.1.2.1.7.0
85 name: cwoTfoStatsActiveADConn
69 - description: This object contains number of current active TCP connections in the auto-discovery state.
70 - unit: "{connection}"
86 + description: This object contains number of current active TCP connections in the auto-discovery state
87 + family: TFO/Connection/AutoDiscovery/Active
88 + unit: "{connection}"
89 - MIB: CISCO-WAN-OPTIMIZATION-MIB
90 symbol:
91 OID: 1.3.6.1.4.1.9.9.762.1.2.1.8.0
92 name: cwoTfoStatsReservedConn
75 - description: This object contains number of TCP connections reserved for the MAPI accelerator.
76 - unit: "{connection}"
93 + description: This object contains number of TCP connections reserved for the MAPI accelerator
94 + family: TFO/Connection/Reserved/MAPI
95 + unit: "{connection}"
96 - MIB: CISCO-WAN-OPTIMIZATION-MIB
97 symbol:
98 OID: 1.3.6.1.4.1.9.9.762.1.2.1.9.0
99 name: cwoTfoStatsPendingConn
81 - description: This object contains number of TCP connections, which are pending in queue of connections to be optimized.
82 - unit: "{connection}"
100 + description: This object contains number of TCP connections, which are pending in queue of connections to be optimized
101 + family: TFO/Connection/Queue/Pending
102 + unit: "{connection}"
103 - MIB: CISCO-WAN-OPTIMIZATION-MIB
104 symbol:
105 OID: 1.3.6.1.4.1.9.9.762.1.2.1.10.0
106 name: cwoTfoStatsActivePTConn
87 - description: This object contains number of active Pass Through TCP connections. Connections which are not selected for optimization are called Pass Through.
88 - unit: "{connection}"
107 + description: This object contains number of active Pass Through TCP connections. Connections which are not selected for optimization are called Pass Through.
108 + family: TFO/Connection/PassThrough/Active
109 + unit: "{connection}"
110 - MIB: CISCO-WAN-OPTIMIZATION-MIB
111 symbol:
112 OID: 1.3.6.1.4.1.9.9.762.1.2.1.11.0
113 name: cwoTfoStatsTotalNormalClosedConn
93 - metric_type: monotonic_count
94 - description: This object contains total number of optimized TCP connections which were closed normally since TFO was started or its statistics were last reset.
95 - unit: "{connection}"
114 + description: This object contains total number of optimized TCP connections which were closed normally since TFO was started or its statistics were last reset.
115 + family: TFO/Connection/Closed/Normal
116 + unit: "{connection}/s"
117 - MIB: CISCO-WAN-OPTIMIZATION-MIB
118 symbol:
119 OID: 1.3.6.1.4.1.9.9.762.1.2.1.12.0
120 name: cwoTfoStatsResetConn
100 - metric_type: monotonic_count
101 - description: This object contains total number of optimized TCP connections, which are reset since TFO was started or its statistics were last reset.
102 - unit: "{connection}"
103 - - MIB: CISCO-WAN-OPTIMIZATION-MIB
104 - symbol:
105 - OID: 1.3.6.1.4.1.9.9.762.1.2.1.13.0
106 - name: cwoTfoStatsLoadStatus
107 - description: This object indicates the load status of Traffic Flow Optimizer (TFO).
108 - unit: "TBD"
121 + description: This object contains total number of optimized TCP connections, which are reset since TFO was started or its statistics were last reset.
122 + family: TFO/Connection/Closed/Reset
123 + unit: "{connection}/s"
124 + # - MIB: CISCO-WAN-OPTIMIZATION-MIB
125 + # symbol:
126 + # OID: 1.3.6.1.4.1.9.9.762.1.2.1.13.0
127 + # name: cwoTfoStatsLoadStatus
128 + # description: This object indicates the load status of Traffic Flow Optimizer (TFO).
129 + # family: TFO/Load/Status
130 + # unit: "{status}"
131 + # TODO, no mapping for this metric found
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco_icm.yaml
+7 -2
@@ -5,5 +5,10 @@ extends:
5
6 sysobjectid: 1.3.6.1.4.1.9.1.693
7
8 -device:
9 - vendor: "cisco"
8 +metadata:
9 + device:
10 + fields:
11 + type:
12 + value: "ICM"
13 + vendor:
14 + value: "Cisco"
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco_isr_4431.yaml
+3 -4
@@ -3,13 +3,12 @@ extends:
3 - _cisco-generic.yaml
4 - _cisco-voice.yaml
5
6 -device:
7 - vendor: "cisco"
8 -
6 metadata:
7 device:
8 fields:
9 type:
13 - value: "router"
10 + value: Router
11 + vendor:
12 + value: Cisco
13
14 sysobjectid: 1.3.6.1.4.1.9.1.1935
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cisco_uc_virtual_machine.yaml
+3 -4
@@ -3,13 +3,12 @@ extends:
3 - _cisco-generic.yaml
4 - _cisco-voice.yaml
5
6 -device:
7 - vendor: "cisco"
8 -
6 metadata:
7 device:
8 fields:
9 type:
13 - value: "server"
10 + value: Server
11 + vendor:
12 + value: Cisco
13
14 sysobjectid: 1.3.6.1.4.1.9.1.1348