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

check_http_nrpe

Rating
2 votes
Favoured:
0
Hits
254080
Files:
FileDescription
check_http_nrpe.execheck_http_nrpe.exe

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

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 :)