LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-22-2009, 12:22 AM   #1
venuwin
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
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
 
Old 01-22-2009, 01:19 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,543
Blog Entries: 51

Rep: Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606
For anyone else: apparently the solution was posted here already...
 
Old 01-22-2009, 11:42 PM   #3
venuwin
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
Old 01-23-2009, 11:25 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,543
Blog Entries: 51

Rep: Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606
Help out with what exactly? Please be specific and verbose.
 
Old 01-25-2009, 06:38 AM   #5
venuwin
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 01-25-2009, 07:11 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,543
Blog Entries: 51

Rep: Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create another user for Nagios web interface bartsimpson Linux - Newbie 11 03-26-2014 08:49 AM
Nagios web login error..... dwarf007 Linux - Software 33 01-27-2009 05:50 PM
web login page using /etc/passwd database terryyip Linux - Server 1 03-18-2007 07:30 AM
ftp web page login paul_mat Linux - Software 9 11-16-2005 02:13 AM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration