Skip to content

Java process running continuously in order to check particular file (logs files) in a folder to generate alert.

Notifications You must be signed in to change notification settings

shaileshpandey11/Server-Alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server-Alert

This process will be run continuously in order to check file in a folder. In order to close process, press ctrl + c. To make build, Please run following command "mvn clean install" Path and max_limit configurable. You can find in property file name "config.properties".

Assumptions

File will always contain one record and in order of given in document.

For example: date_time, server_id, cpu_usage, total_disk_space, used_disk_space, total_memory, used_memory, temperature

On this above assumption, getting value on this basis from file.

Property file path is hard coded. It is placed in constant file. File Name is "MonitorConstant".

Dependency

You can find property file in zip file and placed it on F: folder if you have and run this build. If not please placed in

your local folder and change path in "MonitorConstant" file.

About

Java process running continuously in order to check particular file (logs files) in a folder to generate alert.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages