Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_http_nrpe
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Designed to circumvent the MS NLB. The plugin is called via nrpe and will execute on the host in the nlb cluster. Designed to check a vip on the actual host it is executed from, rather then thru the nlb, so you know which server the alert came from.
COMMAND DEFINITION:
define command{
command_name check_http_nrpe
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -p 5666 -t 30 -c check_http_nrpe -a $ARG1$ $ARG2$ $ARG3$
}
SERVICE DEFINITION:
check_command check_http_nrpe!www.yourwebsite.com!index.html!0
or
check_command check_http_nrpe!www.yourwebsite.com!/subfolder/index.html!0
or
check_command check_http_nrpe!www.yourwebsite.com!redirect.html!1
NRPE CONFIGURATION:
commandcheck_http_nrpe=C:\Progra~1\nrpe_nt\plugins\check_http_nrpe.exe $ARG1$ $ARG2$ $ARG3$
Please let me know how it goes.
COMMAND DEFINITION:
define command{
command_name check_http_nrpe
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -p 5666 -t 30 -c check_http_nrpe -a $ARG1$ $ARG2$ $ARG3$
}
SERVICE DEFINITION:
check_command check_http_nrpe!www.yourwebsite.com!index.html!0
or
check_command check_http_nrpe!www.yourwebsite.com!/subfolder/index.html!0
or
check_command check_http_nrpe!www.yourwebsite.com!redirect.html!1
NRPE CONFIGURATION:
commandcheck_http_nrpe=C:\Progra~1\nrpe_nt\plugins\check_http_nrpe.exe $ARG1$ $ARG2$ $ARG3$
Please let me know how it goes.
Reviews (2)
Thanks for the plugin. have a quick question on usage.
How do I use it for HTTPS and a different port than 80?
Thanks
Ashish
How do I use it for HTTPS and a different port than 80?
Thanks
Ashish
byshawnbrito, August 19, 2010
This is a nice tool if you need only the "200 OK HTTP/1.0" displayed as the output.. I Was trying to get the remaining output from my custom php file with no success.. Maybe in the next version, we might see the php/jsp/serlet/etc output displayed as well :)