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,
Proxy sites not working in Nagios XI
-
- Posts: 31
- Joined: Thu Sep 13, 2012 12:48 pm
-
- Posts: 31
- Joined: Thu Sep 13, 2012 12:48 pm
Re: Proxy sites not working in Nagios XI
Hi All/ Scott,
Is this expected behavior or have i missed any setting configuration here.
thanks for your help.
Manish
Is this expected behavior or have i missed any setting configuration here.
thanks for your help.
Manish
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Proxy sites not working in Nagios XI
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.
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.
-
- Posts: 31
- Joined: Thu Sep 13, 2012 12:48 pm
Re: Proxy sites not working in Nagios XI
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
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
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Proxy sites not working in Nagios XI
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
http://curl.haxx.se/docs/manpage.html