-
Notifications
You must be signed in to change notification settings - Fork 4
Diagnostics
This page covers the switch-level hardware diagnostics and Power over Ethernet (PoE) metrics collected by SNMP Switch Manager, explaining how they are exposed in Home Assistant and visualised in your dashboard.
Environmental diagnostics report the physical operating state and health of your switch chassis.
Depending on your switch model and vendor-specific SNMP support, available metrics may include:
- Temperature (°C): Core or chassis ambient temperature readings.
-
Temperature Status: Standard states (e.g.
OK,Warning,Critical) mapped from vendor tables. - CPU Utilization (%): Overall processor load.
- Memory Utilization: Memory Used, Memory Available, or Percentage Used, dynamically calculated based on MIB storage definitions.
- Fan Speeds (RPM): Live rotation speeds of internal cooling fans.
-
PSU Status: Operational states of redundant or primary Power Supply Units (e.g.
Normal,Failed,Disconnected). -
PSU Label: Identifiers for multiple power supplies (e.g.
PSU 1,PSU 2). - Total Power Draw (W): Real-time active power draw of the switch chassis itself.
Note
Chassis Capabilities vary
Because different manufacturers expose hardware data via different MIB tables, the integration will only generate entities or attributes for metrics that your switch physically reports. If a metric is missing, it means your switch does not expose it via SNMP.
-
Attributes Mode (Environment Entity):
- A single entity is created representing your switch environment (e.g.
sensor.switch_environment). - All metrics (such as
temperature,cpu_utilization,fan_rpm,psu_status) appear as attributes on this single parent entity. - Highly performant, extremely clean, and ideal for the Lovelace diagnostics panel.
- A single entity is created representing your switch environment (e.g.
-
Sensors Mode:
- Home Assistant generates standalone sensor entities for every supported metric (e.g.
sensor.switch_cpu_utilization,sensor.switch_temperature). - Ideal if you want to record long-term history graphs, set up database records, or trigger automations when a value exceeds a threshold.
- Home Assistant generates standalone sensor entities for every supported metric (e.g.
PoE diagnostics provide detailed metrics about the switch's power delivery capabilities.
- Total Budget (W): The absolute maximum power the switch’s power supply can deliver to connected PoE devices.
- Used Budget (W): The cumulative wattage currently drawn by active PoE devices.
- Remaining Budget (W): The remaining capacity (Total - Used) available for additional PoE loads.
-
Port PoE Draw (W): The individual wattage consumed by a device connected to a specific physical port (e.g. an IP camera drawing
6.4Won port 5). - Note: Generated as individual port sensors when running in Sensors Mode with per-port PoE enabled.
-
Attributes Mode (PoE Entity):
- A single entity represents switch-level PoE status (e.g.,
sensor.switch_poe). - Metrics appear as attributes on this entity (
used_budget_w,remaining_budget_w,total_budget_w).
- A single entity represents switch-level PoE status (e.g.,
-
Sensors Mode:
- Generates standalone sensors for each budget metric.
- If Create per-port PoE Power sensors is active in options, the integration will scan your switch and automatically generate a dedicated wattage sensor for each PoE-capable port (e.g.
sensor.switch_port_gi1_0_5_poe_power). Non-PoE ports will not generate empty entities.
To prevent users from having to deal with complex OID tables and MIB compilation, SNMP Switch Manager utilizes a dynamic community-driven OID database consisting of 12 distinct JSON files:
-
cpu.json,memory.json,fans.json,psu.json,temperature.json,poe.json,power.json,device_info.json,vendors.json,interface_filters.json,interface_classification.json, andrename_rules.json.
- Every 6 hours (or 10 seconds after Home Assistant starts), a background service connects to the official GitHub repository and checks if any updated database files are available.
- If changes are detected, the integration automatically downloads the updated JSON files and saves them locally.
- It then silently reloads all active switch config entries in Home Assistant to apply the new OID templates instantly.
- No Home Assistant restarts are required! If a new template is added for your switch vendor, it will activate automatically.
The SNMP Switch Manager Lovelace Card includes a dedicated collapsible Diagnostics Panel that mirrors these health metrics on your dashboard:
- It is designed to display high-signal, real-time status without cluttering your main grid.
- It automatically adapts to show only the diagnostics that your switch reports (e.g. if your switch does not support fan RPM, that row will not be shown).
- By default, it displays ambient Temperature, Temperature Status, Used PoE Budget, and Remaining PoE Budget.
- In Attributes Mode, you can customize exactly which attributes from the Environment and PoE parent entities appear on the card by selecting them in the card editor.
Check the compatibility matrix to see verified hardware models, or proceed to the troubleshooting guide to resolve connection issues:
-
🖧 GitHub Repository
https://github.com/OtisPresley/snmp-switch-manager -
🐞 Report an Issue
https://github.com/OtisPresley/snmp-switch-manager/issues -
📦 Releases & Changelog
https://github.com/OtisPresley/snmp-switch-manager/releases -
📘 User Documentation (Wiki)
https://github.com/OtisPresley/snmp-switch-manager/wiki
SNMP Switch Manager is a Home Assistant integration for monitoring managed network switches using SNMP.