Skip to content

Send email alerts when the Server's process goes over a specified threshold.

Notifications You must be signed in to change notification settings

vrmohanbabu/server-utilization-report-python-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Send an alert email if Server's usage is continuously higher than a certain amount.


Setup the Enviroment

  • Environment used is centos7.
  • Python-3.7.4

Script to install Python for centos 7:

  • sh python37-install.sh

Install Python for others:

Mail information:

Edit send_mail.py for Email information.

  • In email['from'] - Write sender's name
  • In email['to'] - Receiver email
  • In smtp.login - Add sender's mail and password

Setup Gmail:

To Run

  • sh server-activity.sh

About

Send email alerts when the Server's process goes over a specified threshold.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published