I have the URL, after we open the URL in the browser, it asks user name & password to login to the website, then administer it.
Ex url: https://www.chase.com/
after opening the chase url, i need to give user name & password, to login to my account,
So here we have one our internal website, plugin should able to check whether user can able to login to the url?
Check URL post authentication from Nagios
Re: Check URL post authentication from Nagios
What sort of authentication is it? If it is HTTP Basic, you can just pass that into the plugin with the -a flag:
Otherwise if you have something like a PHP-based login form, you will want to use the Web Transaction wizard: https://assets.nagios.com/downloads/nag ... ios-XI.pdf (page 6)
Code: Select all
[root@localhost libexec]# ./check_http --help | grep auth
[-w <warn time>] [-c <critical time>] [-t <timeout>] [-L] [-E] [-a auth]
[-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>]
-a, --authorization=AUTH_PAIR
Username:password on sites with basic authentication
-b, --proxy-authorization=AUTH_PAIR
Username:password on proxy-servers with basic authentication
Former Nagios employee
Re: Check URL post authentication from Nagios
This is not basic authentication, this is like post authentication as mentioned in my previous question.
Re: Check URL post authentication from Nagios
Did you look into this documentation from my last post?tmcdonald wrote:Otherwise if you have something like a PHP-based login form, you will want to use the Web Transaction wizard: https://assets.nagios.com/downloads/nag ... ios-XI.pdf (page 6)
Former Nagios employee