Using nagios to check user login on web page
Hi,
I am integrating our application with few web sites. The requirement i have is to check for few services before i invoke my service. For example, if i have to invoke a service in 1800flowers website, nagios has to make use of http://ww11.1800flowers.com/signin.do and then supply the credentials for email and password. Then the authentication has to happen. here the catch is that the HTTP method is get. How do i do this in nagios ? Or at least is that possible to check for a form based POST authentication in nagios ? I am stuck to a stall.. Please help. Thanks Venu |
For anyone else: apparently the solution was posted here already...
|
Hi Unspawn,
FYI, it was me :) who asked the question in nagios mailing lists. The mail chain continues without any solution in my hand. Perhaps the reason is that i am new to such complicated configuration and Perl like syntax.. Could you please help me out ? Thanks Venu |
Help out with what exactly? Please be specific and verbose.
|
Can I do a check on a particular website by supplying the username and password to nagios check_http commandline ?
To be clear : Assume that I want to check whether login action happens properly on my website which is www.venu.com. And the login page name is www.venu.com/signup.do and it would post the form data to singnupaction.do. How will i check this in nagios ? this action would also involve few redirects and then would give out the landing page. If it had been GET method, I would have done that. But in my case, it is POST method. Hope this is clear. |
I understand you would like to solve your problem, but what good does it if you already received help in news://network.nagios.user, read all the way down to http://article.gmane.org/gmane.netwo...ios.user/59186, then abandon all the help provided there and just ask your question here again? While I have not tried that particular solution it seems plausible enough to work. Did you actually try it? From the commandline? What did it return? And in verbose mode?
|
All times are GMT -5. The time now is 07:41 PM. |