Public Member Functions | Private Attributes
cpu_monitor.CPUMonitor Class Reference

List of all members.

Public Member Functions

def __init__
def check_clock_speed
 Checks clock speed from reading from CPU info.
def check_core_temps
 Check CPU core temps.
def check_core_throttling
def check_free_memory
 Uses 'free -m' to check free memory.
def check_idlejitter
def check_info
def check_ipmi
 Output entire IPMI data set.
def check_memory
def check_mpstat
 Use mpstat to find CPU usage.
def check_uptime
 Uses 'uptime' to see load average.
def check_usage
def get_core_temp_names
 Returns names for core temperature files.
def publish_stats
def query_netdata

Private Attributes

 _check_core_temps
 _check_idlejitter
 _check_ipmi
 _check_thermal_throttling_events
 _core_load_error
 _core_load_warn
 _core_temp_error
 _core_temp_warn
 _diag_pub
 _idlejitter_average_threshold
 _idlejitter_max_threshold
 _idlejitter_min_threshold
 _info_stat
 _info_timer
 _load1_threshold
 _load5_threshold
 _mem_error
 _mem_warn
 _memory_stat
 _memory_timer
 _num_cores
 _publish_timer
 _temp_vals
 _thermal_throttling_threshold
 _usage_stat
 _usage_timer

Detailed Description

Definition at line 34 of file cpu_monitor.py.


Constructor & Destructor Documentation

def cpu_monitor.CPUMonitor.__init__ (   self,
  hostname,
  diag_hostname 
)

Definition at line 35 of file cpu_monitor.py.


Member Function Documentation

Checks clock speed from reading from CPU info.

Definition at line 256 of file cpu_monitor.py.

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.

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.

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.

Use mpstat to find CPU usage.

Definition at line 442 of file cpu_monitor.py.

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.

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.


Member Data Documentation

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.

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.

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.

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.

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.

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.

Definition at line 35 of file cpu_monitor.py.

Definition at line 35 of file cpu_monitor.py.


The documentation for this class was generated from the following file:


cob_monitoring
Author(s): Florian Weisshardt , Felix Messmer
autogenerated on Sun Jun 9 2019 20:20:19