Thank you for your review!

Your review has been submitted and is pending approval.

Description

This plugin is used to monitor website up time and response time.

Error codes will be returned if the website is not responding, the URL does not contain data, does not resolve, or responds slower than specified with the warning and critical input options.

Usage: check_website_response.sh -w (warning milliseconds) -c (critical milliseconds) -u (url) [ -nocert ]

This script has the following dependencies – netcat, date, wget, echo, awk, tr and cksum.

commands.cfg needs to contain something like the following:

# ‘check_website_response’ command definition
define command{
command_name check_website_response
command_line $USER1$/check_website_response.sh -u $ARG1$ -w $ARG2$ -c $ARG3$
}

Called with the following command:

check_command check_website_response!”http://www.domain.com/index.html”!1000!2000

This script will work on POSIX systems has been tested with the Dash shell in Linux Debian and Nagios core 3.2.1

To use the –no-check-certificate option configure as follows:

command_line $USER1$/check_website_response.sh -u $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$

check_command check_website_response!”http://www.domain.com/index.html”!3000!4000!-nocert


Project Details

Current Version

1.1

Last Release Date

2012-05-24

License

GPL

Compatible With

  • Nagios 2.x
  • Nagios 3.x

Recommend

To:


From: