Add SNMP test tool

This commit is contained in:
Thomas Roehl
2023-12-08 16:58:49 +01:00
parent 668da6ab1b
commit c396a1254f
4 changed files with 210 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ This allows to specify
- [`http`](./httpReceiver.md): Listen for HTTP Post requests transporting metrics in InfluxDB line protocol
- [`ipmi`](./ipmiReceiver.md): Read IPMI sensor readings
- [`redfish`](redfishReceiver.md) Use the Redfish (specification) to query thermal and power metrics
- [`snmp`](./snmpReceiver.md) Query SNMP endpoints in the network
## Contributing own receivers

View File

@@ -53,4 +53,8 @@ Each network-attached device that should be queried. A target consits of
- `value` has to be an OID
- `unit` can be empty, an OID or a user-given string
If a OID is used for `name` or `unit`, the receiver will use the returned values to create the output metric. If there are any issues with the returned values, it uses the `OID`.
If a OID is used for `name` or `unit`, the receiver will use the returned values to create the output metric. If there are any issues with the returned values, it uses the `OID`.
## Testing
For testing an SNMP endpoint and OIDs, you can use [`scripts/snmpReceiverTest`](../scripts/snmpReceiverTest)