Page 1 of 1

Redirecting check_http through another

Posted: Wed Oct 26, 2016 6:19 am
by sth_bytelab
I would like to check a proxywebservice running on another server. I can only reach the url through the server so I was wondering if I could redirecting the check_http through the server in order to reach the service?

Thanks

Re: Redirecting check_http through another

Posted: Wed Oct 26, 2016 1:56 pm
by rkennedy
You should be able to use check_http to do this, specifically with these parameters -

Code: Select all

/usr/local/nagios/libexec/check_http -H <proxy> -p <proxyport> -b user:pass -u http://google.com