You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/network_monitoring/devices/troubleshooting.md
+48-20Lines changed: 48 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,26 +59,54 @@ The output should look similar to the following:
59
59
60
60
- Run an `snmp walk` on the device's admin IP to determine why the Agent cannot connect to your device.
61
61
62
-
**Note**: Provide your credentials directly in the CLI. If credentials aren't provided, the Agent attempts to locate them in your running Agent configuration files.
63
-
64
-
**Linux**: <br />
65
-
SNMP v2:
66
-
```
67
-
sudo -u dd-agent datadog-agent snmp walk <IP Address> -C <COMMUNITY_STRING>
68
-
```
69
-
SNMP v3:
70
-
```
71
-
sudo -u dd-agent datadog-agent snmp walk <IP Address> -A <AUTH_KEY> -a <AUTH_PROTOCOL> -X <PRIV_KEY> -x <PRIV_PROTOCOL>
72
-
```
73
-
**Windows**:
74
-
```
75
-
agent snmp walk <IP Address>[:Port]
62
+
**Note**: Provide your credentials directly in the CLI. If credentials aren't provided, the Agent attempts to locate them in your running Agent configuration files.
63
+
64
+
Refer to your vendor specific documentation for additional information on running these commands.
76
65
77
-
Example:
78
-
agent.exe snmp walk 10.143.50.30 1.3.6
79
-
```
66
+
{{< tabs >}}
67
+
{{% tab "Linux" %}}
68
+
69
+
SNMP v2:
70
+
71
+
```shell
72
+
sudo -u dd-agent datadog-agent snmp walk <IP Address> -C <COMMUNITY_STRING>
73
+
```
80
74
81
-
Refer to your vendor specific documentation for additional information on running these commands.
75
+
SNMP v3:
76
+
77
+
```shell
78
+
sudo -u dd-agent datadog-agent snmp walk <IP Address> -A <AUTH_KEY> -a <AUTH_PROTOCOL> -X <PRIV_KEY> -x <PRIV_PROTOCOL>
79
+
```
80
+
81
+
{{% /tab %}}
82
+
{{% tab "Windows" %}}
83
+
84
+
Navigate to the Agent installation directory:
85
+
86
+
```shell
87
+
cd"c:\Program Files\Datadog\Datadog Agent\bin"
88
+
```
89
+
90
+
Run the SNMP walk command:
91
+
92
+
```shell
93
+
agent snmp walk <IP Address>[:Port]
94
+
```
95
+
96
+
Example:
97
+
98
+
```shell
99
+
agent.exe snmp walk 10.143.50.30 1.3.6
100
+
```
101
+
102
+
**Note**: Run this command as administrator from the Agent installation directory to avoid the following error:
103
+
104
+
```shell
105
+
Error: unable to read artifact: open C:\ProgramData\Datadog\auth_token: Access is denied.
106
+
```
107
+
108
+
{{% /tab %}}
109
+
{{< /tabs >}}
82
110
83
111
## Troubleshooting SNMP errors
84
112
@@ -104,7 +132,7 @@ If you see a permission denied error while port binding in agent logs, the port
104
132
105
133
Run `iptables -L OUTPUT` and ensure there is no deny rule:
0 commit comments