WMI2MQTT, a Coreflux Flux Asset

Hugo Felgueiras
Coreflux Blog
Published in
2 min readJan 24, 2022

It was never so easy to get your Windows monitoring tools into MQTT topics and access them any where you need them.

Glossary of Parameters (Configuration)

The parameters can be configured like this:

MQTT Broker Server IP/Address

Here we can configure the target IP address of the Broker machine that we want to monitor. By default it will point to the localhost.

MQTT Broker Server TCP Port

The target Broker TCP Port that we want to connect. Usually the target port is 1883.

Publish to MQTT Topic

The topic where you can gather the transmitted Data.

Cycle Time (seconds)

The time frame period to publish the Data.

Instance ID

The Name for the instance you want to create. If left empty it will generate a random ID.

Quick Example

Fill in all the described fields or leave them as default and start the asset.

The following list of topics will be published:

ITanalytics/Win32_Processor

ITanalytics/Win32_Battery

ITanalytics/Win32_DiskDrive

ITanalytics/Win32_LogicalDisk

ITanalytics/Win32_PhysicalMemory

ITanalytics/Win32_PerfFormattedData_PerfDisk_PhysicalDisk

ITanalytics/Win32_PerfFormattedData_PerfOS_Memory

ITanalytics/Win32_PerfFormattedData_Tcpip_NetworkInterface

ITanalytics/Win32_PerfFormattedData_Tcpip_TCPv4

ITanalytics/Win32_PerfRawData_PerfOS_Processor

You can get more information about WMI here https://docs.microsoft.com/en-us/windows/win32/wmisdk/about-wmi

--

--