MetricsHub
MetricsHub Community Connectors 1.0.06
-
Home
- Connector Design Guide Detection 11
SNMP Get (Detection)
The goal of this part is to see how to define SNMP Get criteria.
connector:
# ...
detection: # <object>
# ...
criteria: # <object-array>
- type: snmpGet
oid: # <string>
expectedResult: # <string>
Input Properties
Input Property | Description |
---|---|
oid |
Object Identifier (OID) used to perform the SNMP request. The request must be successful |
expectedResult |
Regular expression that is expected to match the result of the SNMP request. If not specified, a successful SNMP request will be sufficient for the criteria to be met |
Example
connector:
detection:
criteria:
- type: snmpGet
oid: 1.3.6.1.4.1.318.1.1.26.2.1.3.1
expectedResult: PDU
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.