MetricsHub
MetricsHub Community Connectors 1.0.22
-
Home
- Connector Developer Guide Sources 19
snmpTable (Source)
When To Use
Use snmpTable for indexed SNMP data. It is usually more efficient than issuing many snmpGet calls.
Syntax
sources:
batteryInfo:
type: snmpTable
oid: 1.3.6.1.2.1.33.1.2.3
selectColumns: ID,1,2,3,4
Properties
| Property | Required | Default | Description |
|---|---|---|---|
type |
Yes | None | snmpTable. |
oid |
Yes | None | Base table OID to walk. |
selectColumns |
Yes | None | Columns/indexes to keep (ID commonly preserves table index). |
executeForEachEntryOf |
No | None | Fan-out execution context. |
computes |
No | [] |
Post-processing pipeline. |
forceSerialization |
No | false |
Serialize execution via a per-connector, per-host lock (see the Sources overview). Default false. |
Recommended Pattern
- Start with one
snmpTableand shape downstream with computes. - Preserve stable join keys (
IDor explicit index columns). - Use
tableJointo enrich with complementary tables.
Common Mistakes
- Dropping index columns too early.
- Joining on translated labels instead of stable IDs.
- Overusing scalar
snmpGetwhere one table walk is enough.
Community Examples
- GenericUPS[1]
- GenericSwitchEnclosure[2]
- MIB2-header[3]
snmpTable source
snmp index table
selectColumns
metricshub
community
connector
hardware
system
Links:
- [1] https://github.com/metricshub/community-connectors/blob/main/src/main/connector/hardware/GenericUPS/GenericUPS.yaml
- [2] https://github.com/metricshub/community-connectors/blob/main/src/main/connector/hardware/GenericSwitchEnclosure/GenericSwitchEnclosure.yaml
- [3] https://github.com/metricshub/community-connectors/blob/main/src/main/connector/hardware/MIB2-header/MIB2-header.yaml
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
Searching...
No results.
