PyMonitorMQTT | Python computer monitor that sends real time information via MQTT

PyMonitorMQTT

Cpu Sensor

This sensor reports information about CPU.

Compatibility

Data and Topics

.../cpu/cpu_used_percentage basic

Send the current system-wide CPU utilization (0-100) [%]

.../cpu/cpu_count basic

Send the number of logical CPUs in the system

.../cpu/cpu_times/user advanced

Send time spent by normal processes executing in user mode; on Linux this also includes guest time

.../cpu/cpu_times/system advanced

Send time spent by processes executing in kernel mode

.../cpu/cpu_times/idle advanced

Send time spent doing nothing

.../cpu/cpu_stats/ctx_switches advanced

Send number of context switches (voluntary + involuntary) since boot

.../cpu/cpu_stats/interrupts advanced

Send number of interrupts since boo

.../cpu/cpu_freq/min advanced

Send minimum CPU frequency

.../cpu/cpu_freq/max advanced

Send maximum CPU frequency

.../cpu/cpu_freq/current advanced

Send current CPU frequency

.../cpu/cpu_avg_load/1minute advanced

Send the average system load over the last minute (not available on macOS)

.../cpu/cpu_avg_load/5minutes advanced

Send the average system load over the last 5 minutes (not available on macOS)

.../cpu/cpu_avg_load/15minutes advanced

Send the average system load over the last 15 minutes (not available on macOS)

Configuration

custom_topics optional
List of String List of topics to which the sensor will send the data.
If the sensor sends to a single topic, you will have to put one topic in the list.
If the sensor sends to more than one topic, you can register more topics; each topic in the list will be assigned in the same order as topics are added from the single sensor (order that you can check in the each individual sensor file).
formatted_values optional default: False
Boolean If set to True, data will be sent in a more readable way, with the unit of measure and with K, M, G and T sizes. Topics with the unit of measure in square brackets are those involved with this option
advanced_information optional default: False
Boolean If set to True, extra information will be sent. You can check in the upper paragaraph if this sensor has 'advanced' topics.