ilovepancakes95 / idrac_snmp-grafana

SNMP Based Dashboard to Monitor Dell Hosts via iDRAC
https://grafana.com/grafana/dashboards/12106
Other
146 stars 39 forks source link
dell grafana grafana-dashboard idrac monitoring

Ultimate iDRAC Grafana Dashboard (Telegraf SNMP Based)

:computer: :bar_chart: :clipboard: :pancakes:
SNMP Based Dashboard to Monitor Dell Hosts via iDRAC
Grafana Dashboard ID: 12106
Screenshot 1

Features

How To Use

Enable SNMPv1 in the iDRACs you wish to monitor. Install and setup Telegraf, InfluxDB, and Grafana to work with eachother. Use the provided idrac-input.conf file (place in /etc/telegraf/telegraf.d folder or paste into your main telegraf config) and replace the values for "idracURLx" under "agent" with your own iDRAC IPs or hostnames. Restart Telegraf. Then, import the dashboard json file (or use Grafana Dashboard ID) to add the dashboard and panels to Grafana, selecting your own InfluxDB database after clicking "Import". Data may take up to 2 minutes to fully populate the first time. Enjoy!

Pre-requirements

Telegram:

net-snmp or snmp installed (snmptable and snmptranslate)

Grafana:

install the following plugins:

Full Screenshot

This screenshot shows the full dashboard with 3 systems being monitored and displayed. Screenshot 2

Build Environment

Adding More Data and Panels

iDRAC has the capability to display a TON of data through SNMP and it's easy to expand this dashboard to add more of it, per your collection and monitoring needs. I used the Dell MIB Files with an MIB Browser and the Dell EMC OpenManage SNMP Reference Guide to figure out the OIDs.

Known Issues / Needs Work

One of the only major data related problems I could not figure out was the proper display of Date & Time for system log entries. Dell outputs a date & time stamp for each log entry in the format: 20200420173454.000000-300. This is what is displayed in the system log table panel as Grafana can't understand and re-format dates and times in this provided format it seems, to make it looks pretty, such as YYYY-MM-DD HH:MM:SS I have heard that Telegraf/InfluxDB may have a way for this data to be transformed into a better structure before it makes it to Grafana, although I have come up empty with easy or even semi-easy ways to do this. Hoping somebody else knows a fix that isn't extremely involved.
Fix implemented per @krystiancharubin regex processor in idrac-input.conf