HTTP-Response through ntlm proxy

  • 5 December 2023
  • 4 replies

Badge +1



I would like to configure the apps::protocols::http::plugin plugin to check websites through a proxy.
however after various tests I was unable to get through the proxy.
For with the following command I go through the proxy:
curl --proxy-ntlm -v -x '' -U 'domain\user01:azerty$$'

My last test:

/usr/lib/centreon/plugins/ --plugin=apps::protocols::http::plugin  

Centreon 23.04.06 uptodate.

best regards

4 replies

Badge +1

Hi Govy,

Did you find a solution to make a HTTP check throught a proxy that need ntlm authentication ?

I have the same problem and I don’t find any way to authenticate to an Olfeo Proxy.

In the plugins help, I just see the proxyurl parameter but nothing about proxy authentication. "--credentials" and "--username" seem to be related to the website authentication, not the proxy authentication.

Best regards


Badge +1


Yes, this options solved the problem :

/usr/lib/centreon/plugins/ --plugin=apps::protocols::http::plugin   \  
--mode=response \ \
--proto='http'   \
--port='80'   \
--urlpath='/'  \
--warning=''   \
--critical=''  \
--proxyurl='' \
--http-backend=curl \
--curl-opt="CURLOPT_PROXYAUTH => CURLAUTH_NTLM" --curl-opt='CURLOPT_PROXYUSERPWD => domain\login:password'
or  --curl-opt='CURLOPT_PROXYUSERPWD => login@domain:password'


best regards

Badge +1

Thank you so much for your answer.

Indeed I already finded also this kind of possibilities with the CURL backend, but do you know a similary configuration with LWP backend ?

Badge +1

sorry, no idea.