Skip to content

Commit 4cec2a4

Browse files
Merge pull request #307512 from DeCohen/WI503226-add-query-snmp-config-sensor
new section: ## Query SNMP configuration on the sensor
2 parents 1ae885a + d91084b commit 4cec2a4

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

articles/defender-for-iot/organizations/how-to-set-up-snmp-mib-monitoring.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,22 @@ Defender for IoT in the Azure portal provides a downloadable MIB file for you to
6363

6464
**To download the SNMP MIB file** from [Defender for IoT](https://portal.azure.com/#view/Microsoft_Azure_IoT_Defender/IoTDefenderDashboard/~/Getting_started) on the Azure portal, select **Sites and sensors** > **More actions** > **Download SNMP MIB file**.
6565

66+
ce these instructions above the header ## OT sensor OIDs for manual SNMP configurations
67+
68+
## Query SNMP configuration on the sensor
69+
70+
> [!NOTE]
71+
> - You can query the SNMP configuration on the sensor in version **25.2.1 or later.**
72+
73+
**Validate and query the SNMP MIB Monitoring configuration in the OT sensor:**
74+
75+
1. In the OT sensor, go to **System settings > Sensor management**
76+
1. To [access the Defender for IoT CLI](references-work-with-defender-for-iot-cli-commands.md#defender-for-iot-cli-access), sign in to your OT or Enterprise IoT sensor as the *cyberx* user, using a terminal emulator and SSH.
77+
1. Run the following query depending on what SNMP version was configured and update the variables accordingly:
78+
- For version 2 type: `snmpwalk -v 2c -c<community-string> <sensor-ip> isa`
79+
- For version 3 type: `snmpwalk -v 3 -aMD5|SHA -xDES|AES -A<password> -X<secret-key> -u<username> -|autoPriv <sensor-ip> isa`
80+
81+
6682

6783
## OT sensor OIDs for manual SNMP configurations
6884

0 commit comments

Comments
 (0)