Dlink DGS Switch
Plugin: go.d.plugin Module: snmp
Overview
Monitor Dlink DGS Switch (switch) with Netdata over SNMP. Netdata recognizes the device automatically by its sysObjectID (recognized across 2 device identifiers) and collects the metrics this profile declares — on top of the generic SNMP baseline — with no manual OID configuration.
Netdata's SNMP collector matches the device to the dlink-dgs-switch.yaml profile via sysObjectID/sysDescr, then polls the OIDs it declares.
This integration is supported on all platforms.
This integration supports multiple instances configured side-by-side.
Default Behavior
Auto-Detection
Auto-detected as Dlink DGS Switch via sysObjectID/sysDescr.
Limits
The default configuration for this integration does not impose any limits.
Performance Impact
The default configuration for this integration is not expected to impose a significant performance impact on the system.
Setup
You can configure the snmp collector in two ways:
| Method | Best for | How to |
|---|---|---|
| UI | Fast setup without editing files | Go to Nodes → Configure this node → Collectors → Jobs, search for snmp, then click + to add a job. |
| File | If you prefer configuring via file, or need to automate deployments (e.g., with Ansible) | Edit go.d/snmp.conf and add a job. |
UI configuration requires paid Netdata Cloud plan.
Prerequisites
SNMP access
SNMP must be enabled on the device and reachable from the Netdata Agent acting as the site's SNMP hub.
Configuration
Options
Configure the SNMP collector with the device hostname and SNMP credentials. See the SNMP collector reference for all options.
via UI
Configure the snmp collector from the Netdata web interface:
- Go to Nodes.
- Select the node where you want the snmp data-collection job to run and click the ⚙ (Configure this node). That node will run the data collection.
- The Collectors → Jobs view opens by default.
- In the Search box, type snmp (or scroll the list) to locate the snmp collector.
- Click the + next to the snmp collector to add a new job.
- Fill in the job fields, then click Test to verify the configuration and Submit to save.
- Test runs the job with the provided settings and shows whether data can be collected.
- If it fails, an error message appears with details (for example, connection refused, timeout, or command execution errors), so you can adjust and retest.
via File
The configuration file name for this integration is go.d/snmp.conf.
The file format is YAML. Generally, the structure is:
update_every: 1
autodetection_retry: 0
jobs:
- name: some_name1
- name: some_name2
You can edit the configuration file using the edit-config script from the
Netdata config directory.
cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config go.d/snmp.conf
Examples
There are no configuration examples.
Alerts
There are no alerts configured by default for this integration.
Metrics
On top of the generic SNMP baseline (the Generic SNMP Device integration — interfaces, system, IP/TCP/UDP, host resources), this Dlink DGS Switch profile adds the metrics below. Each is collected only where the device exposes the matching OID — inclusion means the profile requests it; availability depends on the device model and software.
28 metrics in 9 groups; each row is a chart context usable in alerts.
| Group | Metrics |
|---|---|
| Hardware / Fan | 1 |
| Hardware / Power | 3 |
| Hardware / Sensor | 3 |
| Hardware / Unit | 1 |
| Network / Interface | 4 |
| System / CPU | 1 |
| System / Memory | 2 |
| System / Uptime | 1 |
| Uncategorized | 12 |
Hardware / Fan
| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
snmp.device_prof_dEntityExtEnvFanStatus | {status} | per d_entity_ext_env_fan_unit_id, d_entity_ext_env_fan_index, d_entity_ext_env_fan_descr | Current status of the fan |
Hardware / Power
| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
snmp.device_prof_dEntityExtEnvPowerStatus | {status} | per d_entity_ext_env_power_unit_id, d_entity_ext_env_power_index, d_entity_ext_env_power_descr | Current status of the power |
snmp.device_prof_dlink_dEntityExtEnvPowerMaxPower | W | per d_entity_ext_env_power_unit_id, d_entity_ext_env_power_index, d_entity_ext_env_power_descr | Maximum power which the power module can supply |
snmp.device_prof_dlink_dEntityExtEnvPowerUsedPower | W | per d_entity_ext_env_power_unit_id, d_entity_ext_env_power_index, d_entity_ext_env_power_descr | Amount of the power that has been allocated |
Hardware / Sensor
| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
snmp.device_prof_dEntityExtEnvAirFlowStatus | {status} | per d_entity_ext_env_air_flow_unit_id | Current status of the air flow |
snmp.device_prof_dEntityExtEnvTempStatus | {status} | per d_entity_ext_env_temp_unit_id, d_entity_ext_env_temp_index, d_entity_ext_env_temp_descr | Current status of the testpoint |
snmp.device_prof_dlink_dEntityExtEnvTempCurrent | Cel | per d_entity_ext_env_temp_unit_id, d_entity_ext_env_temp_index, d_entity_ext_env_temp_descr | Current measurement of the testpoint |
Hardware / Unit
| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
snmp.device_prof_dEntityExtUnitStatus | {status} | per d_entity_ext_unit_index | Current status of the unit |
Network / Interface
| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
snmp.device_prof_ifAdminStatus | {status} | per interface, interface | Current administrative state of the interface |
snmp.device_prof_ifHighSpeed | bit/s | per interface, interface | Estimate of the interface's current bandwidth |
snmp.device_prof_ifNumber | {interface} | device | Number of network interfaces regardless of their current state present on this system |
snmp.device_prof_ifOperStatus | {status} | per interface, interface | Current operational state of the interface |
System / CPU
| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
snmp.device_prof_cpu_usage | % | per dlink_entity_ext_cpu_util_unit_id, dlink_entity_ext_cpu_util_cpu_id | The current CPU utilization |
System / Memory
| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
snmp.device_prof_memory_total | By | per mem, d_entity_ext_mem_util_type | Total memory size of the entry |
snmp.device_prof_memory_used | By | per mem, d_entity_ext_mem_util_type | Used memory size of the entry |
System / Uptime
| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
snmp.device_prof_systemUptime | s | device | Time since the system was last rebooted or powered on. |
Uncategorized
| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
snmp.device_prof_lldpStatsRemTablesAgeouts | — | device | |
snmp.device_prof_lldpStatsRemTablesDeletes | — | device | |
snmp.device_prof_lldpStatsRemTablesDrops | — | device | |
snmp.device_prof_lldpStatsRemTablesInserts | — | device | |
snmp.device_prof_lldpStatsRemTablesLastChangeTime | — | device | |
snmp.device_prof_lldpStatsRxPortAgeoutsTotal | — | per lldp_loc_port_num | |
snmp.device_prof_lldpStatsRxPortFramesDiscardedTotal | — | per lldp_loc_port_num | |
snmp.device_prof_lldpStatsRxPortFramesErrors | — | per lldp_loc_port_num | |
snmp.device_prof_lldpStatsRxPortFramesTotal | — | per lldp_loc_port_num | |
snmp.device_prof_lldpStatsRxPortTLVsDiscardedTotal | — | per lldp_loc_port_num | |
snmp.device_prof_lldpStatsRxPortTLVsUnrecognizedTotal | — | per lldp_loc_port_num | |
snmp.device_prof_lldpStatsTxPortFramesTotal | — | per lldp_loc_port_num |
Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.