From 3e9da773eebe477fd38f6777a96e5da6d4fd7d47 Mon Sep 17 00:00:00 2001 From: mirzanurkic-dd <119829905+mirzanurkic-dd@users.noreply.github.com> Date: Thu, 5 Sep 2024 23:23:08 +1000 Subject: [PATCH] Added 'case sensitive' to interface_configs in SNMP (#18504) * added case sensitive * same change to spec.yaml --- snmp/assets/configuration/spec.yaml | 2 +- snmp/datadog_checks/snmp/data/conf.yaml.example | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/snmp/assets/configuration/spec.yaml b/snmp/assets/configuration/spec.yaml index 1781d680e4be5..8db05bda96233 100644 --- a/snmp/assets/configuration/spec.yaml +++ b/snmp/assets/configuration/spec.yaml @@ -474,7 +474,7 @@ files: Example: interface_configs: - match_field: "name" # (required) the field to match, can be `name` (interface name) or `index` (ifIndex) - match_value: "eth0" # (required) the value to match + match_value: "eth0" # (required, case sensitive) the value to match in_speed: 50 # (optional) inbound speed value in bits per sec, no value or 0 means no override out_speed: 25 # (optional) outbound speed value in bits per sec, no value or 0 means no override tags: # (optional) interface level tags diff --git a/snmp/datadog_checks/snmp/data/conf.yaml.example b/snmp/datadog_checks/snmp/data/conf.yaml.example index 8aa8b4fec19ab..b3a2bedec9abd 100644 --- a/snmp/datadog_checks/snmp/data/conf.yaml.example +++ b/snmp/datadog_checks/snmp/data/conf.yaml.example @@ -374,7 +374,7 @@ instances: ## Example: ## interface_configs: ## - match_field: "name" # (required) the field to match, can be `name` (interface name) or `index` (ifIndex) - ## match_value: "eth0" # (required) the value to match + ## match_value: "eth0" # (required, case sensitive) the value to match ## in_speed: 50 # (optional) inbound speed value in bits per sec, no value or 0 means no override ## out_speed: 25 # (optional) outbound speed value in bits per sec, no value or 0 means no override ## tags: # (optional) interface level tags