Definition at line 34 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.__init__ | ( | self, | |
hostname, | |||
diag_hostname | |||
) |
Definition at line 35 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_clock_speed | ( | self | ) |
Checks clock speed from reading from CPU info.
Definition at line 256 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_core_temps | ( | self | ) |
Check CPU core temps.
Read from every core, divide by 1000
Definition at line 208 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_core_throttling | ( | self, | |
interval = 1 |
|||
) |
Definition at line 558 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_free_memory | ( | self | ) |
Uses 'free -m' to check free memory.
Definition at line 376 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_idlejitter | ( | self, | |
interval = 1 |
|||
) |
Definition at line 591 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_info | ( | self, | |
event | |||
) |
Definition at line 678 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_ipmi | ( | self | ) |
Output entire IPMI data set.
Definition at line 93 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_memory | ( | self, | |
event | |||
) |
Definition at line 756 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_mpstat | ( | self | ) |
Use mpstat to find CPU usage.
Definition at line 442 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_uptime | ( | self | ) |
Uses 'uptime' to see load average.
Definition at line 328 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.check_usage | ( | self, | |
event | |||
) |
Definition at line 710 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.get_core_temp_names | ( | self | ) |
Returns names for core temperature files.
Definition at line 628 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.publish_stats | ( | self, | |
event | |||
) |
Definition at line 777 of file cpu_monitor.py.
def cpu_monitor.CPUMonitor.query_netdata | ( | self, | |
chart, | |||
after | |||
) |
Definition at line 529 of file cpu_monitor.py.
Definition at line 35 of file cpu_monitor.py.
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_check_ipmi [private] |
Definition at line 35 of file cpu_monitor.py.
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_core_load_error [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_core_load_warn [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_core_temp_error [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_core_temp_warn [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_diag_pub [private] |
Definition at line 35 of file cpu_monitor.py.
Definition at line 35 of file cpu_monitor.py.
Definition at line 35 of file cpu_monitor.py.
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_info_stat [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_info_timer [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_load1_threshold [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_load5_threshold [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_mem_error [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_mem_warn [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_memory_stat [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_memory_timer [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_num_cores [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_publish_timer [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_temp_vals [private] |
Definition at line 35 of file cpu_monitor.py.
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_usage_stat [private] |
Definition at line 35 of file cpu_monitor.py.
cpu_monitor.CPUMonitor::_usage_timer [private] |
Definition at line 35 of file cpu_monitor.py.