Skip to content

sankalp-srivastava/Health-check-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SYSTEM HEALTH CHECK AUTOMATION

This python script is supposed to check for basic system errors like if the disk is nearly full or if the C.P.U usage is too high etc. This was accomplished using given python modules and functions

  1. psutil.cpu_percent(interval=None, percpu=False)

  2. psutil.virtual_memory()

  3. shutil.disk_usage()  

  4. smtplib

Figure 4.1   The basic working of the program is shown in the flowchart. The format of the error report in shown in figure

Figure 4.2

Figure 4.5

In the figure , the sender_email_id and password should be entered. Sender’s account means the mail id through which the report is to be sent. Receiver_email_id should have the mail id of person to whom the report generated is to be sent.

Updated

Added an feature that will maintain a log file of all actions when the program is executed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages