Proxy sites not working in Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
manish2tiwari
Posts: 31
Joined: Thu Sep 13, 2012 12:48 pm

Re: Proxy sites not working in Nagios XI

Post by manish2tiwari »

Hi
I am able to track a proxy website host status by giving the below command
check_http!-H <host address> !-I <proxy ip>!-p <proxy port>!!!!!

But when i am trying to monitor the status of a url in the above site it is not able to track that particular url, the command for that check is:

check_http!-H <host address> !-I <proxy ip>!-p <proxy port>!-u <url>!!!!!

but above check is working fine even if i am giving the wrong url information, can you tell me if i am doing something wrong here, or is there any other way to track that url in Host H.

Thanks,
manish2tiwari
Posts: 31
Joined: Thu Sep 13, 2012 12:48 pm

Re: Proxy sites not working in Nagios XI

Post by manish2tiwari »

Hi All/ Scott,

Is this expected behavior or have i missed any setting configuration here.

thanks for your help.
Manish
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Proxy sites not working in Nagios XI

Post by scottwilkerson »

This is expected behavior for check_http it doesn't have any way to use a proxy server to access another server.

This is why I suggested a different plugin that would need to be installed in the XI server and a command created to use it's settings.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
manish2tiwari
Posts: 31
Joined: Thu Sep 13, 2012 12:48 pm

Re: Proxy sites not working in Nagios XI

Post by manish2tiwari »

Hi Scott,

Actually my question was for the above posts which i have posted earlier, it was regarding check_curl_http command that i am using.

thanks
Manish
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Proxy sites not working in Nagios XI

Post by slansing »

If you are attempting to use check_curl_http, have a look at their manpages for a solution to passing the check through a proxy:

http://curl.haxx.se/docs/manpage.html
Locked