Redirecting check_http through another

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sth_bytelab
Posts: 25
Joined: Thu Aug 25, 2016 1:58 am

Redirecting check_http through another

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Redirecting check_http through another

Post 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
Former Nagios Employee
Locked