|
def | __init__ (self, hostname, diag_hostname) |
|
def | check_clock_speed (self, interval=1) |
| Checks clock speed from reading from CPU info. More...
|
|
def | check_core_temps (self, interval=1) |
| Check CPU core temps. More...
|
|
def | check_core_throttling (self, interval=1) |
|
def | check_cpu_util (self, interval=1) |
|
def | check_free_memory (self, interval=1) |
| Uses 'free -m' to check free memory. More...
|
|
def | check_idlejitter (self, interval=1) |
|
def | check_info (self, event) |
|
def | check_load (self, interval=1) |
| Uses 'system.load' to see load average. More...
|
|
def | check_memory (self, event) |
|
def | check_uptime (self, interval=1) |
| Uses 'uptime' to see system uptime. More...
|
|
def | check_usage (self, event) |
|
def | publish_stats (self, event) |
|
Definition at line 35 of file cpu_monitor.py.
◆ __init__()
def cpu_monitor.CPUMonitor.__init__ |
( |
|
self, |
|
|
|
hostname, |
|
|
|
diag_hostname |
|
) |
| |
◆ check_clock_speed()
def cpu_monitor.CPUMonitor.check_clock_speed |
( |
|
self, |
|
|
|
interval = 1 |
|
) |
| |
Checks clock speed from reading from CPU info.
Definition at line 154 of file cpu_monitor.py.
◆ check_core_temps()
def cpu_monitor.CPUMonitor.check_core_temps |
( |
|
self, |
|
|
|
interval = 1 |
|
) |
| |
◆ check_core_throttling()
def cpu_monitor.CPUMonitor.check_core_throttling |
( |
|
self, |
|
|
|
interval = 1 |
|
) |
| |
◆ check_cpu_util()
def cpu_monitor.CPUMonitor.check_cpu_util |
( |
|
self, |
|
|
|
interval = 1 |
|
) |
| |
◆ check_free_memory()
def cpu_monitor.CPUMonitor.check_free_memory |
( |
|
self, |
|
|
|
interval = 1 |
|
) |
| |
◆ check_idlejitter()
def cpu_monitor.CPUMonitor.check_idlejitter |
( |
|
self, |
|
|
|
interval = 1 |
|
) |
| |
◆ check_info()
def cpu_monitor.CPUMonitor.check_info |
( |
|
self, |
|
|
|
event |
|
) |
| |
◆ check_load()
def cpu_monitor.CPUMonitor.check_load |
( |
|
self, |
|
|
|
interval = 1 |
|
) |
| |
Uses 'system.load' to see load average.
Definition at line 231 of file cpu_monitor.py.
◆ check_memory()
def cpu_monitor.CPUMonitor.check_memory |
( |
|
self, |
|
|
|
event |
|
) |
| |
◆ check_uptime()
def cpu_monitor.CPUMonitor.check_uptime |
( |
|
self, |
|
|
|
interval = 1 |
|
) |
| |
◆ check_usage()
def cpu_monitor.CPUMonitor.check_usage |
( |
|
self, |
|
|
|
event |
|
) |
| |
◆ publish_stats()
def cpu_monitor.CPUMonitor.publish_stats |
( |
|
self, |
|
|
|
event |
|
) |
| |
◆ _check_core_temps
cpu_monitor.CPUMonitor._check_core_temps |
|
private |
◆ _check_idlejitter
cpu_monitor.CPUMonitor._check_idlejitter |
|
private |
◆ _check_thermal_throttling_events
cpu_monitor.CPUMonitor._check_thermal_throttling_events |
|
private |
◆ _core_load_error
cpu_monitor.CPUMonitor._core_load_error |
|
private |
◆ _core_load_warn
cpu_monitor.CPUMonitor._core_load_warn |
|
private |
◆ _core_temp_error
cpu_monitor.CPUMonitor._core_temp_error |
|
private |
◆ _core_temp_warn
cpu_monitor.CPUMonitor._core_temp_warn |
|
private |
◆ _diag_pub
cpu_monitor.CPUMonitor._diag_pub |
|
private |
◆ _idlejitter_average_threshold
cpu_monitor.CPUMonitor._idlejitter_average_threshold |
|
private |
◆ _idlejitter_max_threshold
cpu_monitor.CPUMonitor._idlejitter_max_threshold |
|
private |
◆ _idlejitter_min_threshold
cpu_monitor.CPUMonitor._idlejitter_min_threshold |
|
private |
◆ _info_stat
cpu_monitor.CPUMonitor._info_stat |
|
private |
◆ _info_timer
cpu_monitor.CPUMonitor._info_timer |
|
private |
◆ _load1_threshold
cpu_monitor.CPUMonitor._load1_threshold |
|
private |
◆ _load5_threshold
cpu_monitor.CPUMonitor._load5_threshold |
|
private |
◆ _mem_error
cpu_monitor.CPUMonitor._mem_error |
|
private |
◆ _mem_warn
cpu_monitor.CPUMonitor._mem_warn |
|
private |
◆ _memory_stat
cpu_monitor.CPUMonitor._memory_stat |
|
private |
◆ _memory_timer
cpu_monitor.CPUMonitor._memory_timer |
|
private |
◆ _netdata_interface
cpu_monitor.CPUMonitor._netdata_interface |
|
private |
◆ _netdata_version
cpu_monitor.CPUMonitor._netdata_version |
|
private |
◆ _num_cores
cpu_monitor.CPUMonitor._num_cores |
|
private |
◆ _publish_timer
cpu_monitor.CPUMonitor._publish_timer |
|
private |
◆ _thermal_throttling_threshold
cpu_monitor.CPUMonitor._thermal_throttling_threshold |
|
private |
◆ _usage_stat
cpu_monitor.CPUMonitor._usage_stat |
|
private |
◆ _usage_timer
cpu_monitor.CPUMonitor._usage_timer |
|
private |
The documentation for this class was generated from the following file: