TOP LEVEL CATEGORIES
EXPLORE
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
Current Version
1.1
Last Release Date
2012-05-24
Compatible With
Owner
cfree6223@gmail.com
License
GPL
Current Release: v1.1
Previous Release: v1.0
You must be logged in to submit a review.
Your review has been submitted and is pending approval.
To:
From:
Your recommendation has been sent.