Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_http_nrpe

Rating
2 votes
Favoured:
0
Hits
260045
Files:
FileDescription
check_http_nrpe.execheck_http_nrpe.exe
Nagios CSP

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!
A plugin written in C# that tries to mimick the check_http plugin that is called via NRPE on a host in an MS NLB Cluster.
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.
Reviews (2)
byMitchell, March 4, 2013
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
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 :)