Displaying WMI Text

Not sure if I can do this or not but I’d like a text or table panel with text from a WMI query displaying basic server information ie OS version, SP level, Make/Model etc.

I’m using check_wmi_plus and manually running the query, I get the information I want to display, but I cannot add this info into perfdata.

check_wmi_plus.ini

query=Select Caption,Version From Win32_OperatingSystem
dataregex=1,2
display=_DisplayMsg||~|~| - ||
display=Caption
display=Version
perf=Caption    
perf=Version

Manually running:

./check_wmi_plus.pl -H x.x.x.x -u USER -p PASS -m info -s os
OK - Caption=Microsoft Windows Server 2008 R2 Standard , Version=6.1.7601

Am I going about this all wrong and/or is there a better way to do this? No other WMI issues when returning just data.

Hi,

What datasource are you using or planning to use in Grafana?

As long as you can extract your information and put it in a datasource supported by Grafana you should be able to visualize that in a table panel in Grafana.

Marcus