Skip to content

kkrawczyk/HttpChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#HttpChecker

##Introduction

Java application to checking website response status. It can format output in various ways (provided by OutputFormatters) so it can be used for example as Nagios plugin.

##Compiling and building jar package To compile sources you'll need installed java jdk 1.7 and maven2 on your system. Build package command:

mvn clean install assembly:single

Above command produces target directory with two jars:

  • HttpChecker-[version].jar jar without dependencies
  • HttpChecker-[version]-jar-with-dependencies.jar jar with dependencies

To generate javadoc in target/javadoc use command:

mvn javadoc:aggregate

##Basic usage HttpChecker in version 1.0 is compiled with NagiosOutputFormatter and acts as a nagios plugin. It can be executed with one url provided in command line or with url filelist (each url has to be in separate line).

Run command:

java -jar HttpChecker-<version>-jar-with-dependencies.jar [options]
Option Function
-h prints help
-u [url] checks one url
-f [filename] checks all urls from the file

About

Java application for checking website response status. It can format output in a various ways (provided by strategy pattern) so it can be used in example as Nagios plugin.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages