Skip to content

jeremymaya/raspberry-pi-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi OS

Author: Kyungrae Kim

This is a repository created from Raspberry Pi OS. I will be using this repository to become more familiar with Linux.


Monitoring Raspberry Pi OS

Proactive monitoring of the system is crucial for ensuring uptime. Critial system components will be monitored using the following scripts with cron which is scheduled to run system_health_check.py every hour.

  • emails.py
  • system_health_check.py

Core Temperature

Core temperature is monitored using check_temperature method. If the core temperature rises above 80.0'C, the method sends an alert email.

CPU Usage

CPU usage is monitored using check_cpu_usage method. If the CPU usage is over 80%, the method sends an alert email.

Memory Usage

Memory usage is monitored using check_memoery_usage method. If the available memory is less than 500MB, the method sends an alert email.

Disk Usage

Disk usage is monitored using check_disk_usage method. If the available memory is less than 20%, the method sends an alert email.


Credits