upServer | simple server monitoring
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
src
.gitignore
README.md
pom.xml
run.sh
upserver.iml

README.md

Introduction

This application can be used to establish if certain web page (or web service) is up. In case of page is down the email is being sent to the user. The page address and the email to be used for notification is configured in properties file.

Usage

Building the app:

mvn package

Setting the app:

Copy upserver.properties.tempalte to upserver.properties and update with your details Copy log4j.properties.template to log4j.properties and update with your details (especially property log4j.appender.file.File)

Running the app from command line:

./run.sh

Running the app from crontab:

To run app from crontab edit run.sh and set all the path to full paths including the path to java binary