How can use check_http with authentication
Posted: Mon Nov 14, 2022 2:07 am
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 ?
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 ?