Page 1 of 1

How can use check_http with authentication

Posted: Mon Nov 14, 2022 2:07 am
by baber
I am checking URL with follow command and this is working

check_nrpe!check_http!'-H services.srv.com -w 5 -c 10 -u /ESB//services/guarantee_v1_0?wsdl'

Now i want to check other link that need authentication to login

check_nrpe!check_http!'-H services.pbs.com' -w 5 -c 10 -p 443 -u '/pst/services.svc?wsdl

but this link need to authentication with user=service pass= srservice

How can use user name and password in that check_http ?

Re: How can use check_http with authentication

Posted: Tue Nov 15, 2022 12:31 am
by baber
Would you please help me to solve this issue ?