Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Nagios check_http_redirect retrieve an http/s url and checks its header for a given redirects if the redirect exists and equal to the redirect you entered then exits with OK, otherwise exits with WARNING (if not equal) or CRITICAL ( if doesn't exist)
Current Version
1.0
Last Release Date
2009-09-18
Owner
Eugene L Kovalenja
Website
http://www.purple.org.ua/nagios-plagin-proverka-http-redirekta-http_check_redirect/
Download URL
http://www.purple.org.ua/wp-content/uploads/2009/09/check_http_redirect.pl
Compatible With
Nagios check_http_redirect
retrieve an http/s url and checks its header for a given redirects
if the redirect exists and equal to the redirect you entered then exits with OK, otherwise exits with WARNING (if not equal) or CRITICAL ( if doesn't exist)
Syntax:
Command:
define command{ command_name check_redirect command_line $USER1$/check_http_redirect -U $ARG1$ -R $ARG2$ }
Service:
define service{ ********************* check_command check_redirect!»http://url-from/»!»http://url-to/» ********************* }
I get error when I hit url for the plugin download
The modified version with virtual host support is available at https://github.com/kabalin/check_http_redirect With optional -H parameter it is possible to specify 'Host' request header attribute. This is particulary useful when webserver is behind loadbalancer and hosting several virtual hosts at the same address. If particular virtual host on the webserver redirection check is required, specify the hostname or IP in the -U parameter and the virtual host using -H parameter: check_http_redirect.pl -U http://webserver1.com -H somesite.com -R https://somesite.com
I've updated and revised this script to support multiple redirects. Please see https://github.com/bbuchalter/check_http_redirect
Hi, It is not working properly on me. When I run the script with perl, I got below error : Can't locate LWP/UserAgent.pm in @INC ... I do to install libwww-perl, and I don't find that error anymore when I run the script with perl. But, when I follow this manuals, the 'Status Information' is shown as 'null' on my Nagios browser. How did you do that actually ? If possible, please help with a good manuals.. Thanks in advance.
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!