Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Currently we are using Nagios to do systems monitoring. One of the monitor scripts we have uses the Lynx text browser to do a dump of a web site. We check the output of the dump to verify the web site is up and running properly. We don't actually wish to view the site - we are just doing this so that we can alert if it doesn't give expected results.
Additionally what I really need to test is whether the login at the web site is working. That is to say I not only want to access the site but also do an automatic login with password to verify that works. It is the login that failed in the recent incidents.
I've done some searching for this but didn't really find anything.
Does anyone know if Links or any other open source browser allows for doing such command line dump and/or automatic login?
Thanks but one might suppose that the fact that I mentioned I had discovered "Links" would indicate I knew how to browse the internet. Or perhaps my comment that "I've searched but haven't found anything". My question was not where to find Links.
Of course one might say "RTFM" but since it only one of dozens of browsers that might or might not do what I want it seemed it was a perfect candidate for this list.
Sorry for the tone but it does annoy me when people don't actually read the detail that the FAQ here clearly indicates one should provide.
I'll admit I don't know much about web stuff so maybe I'm misunderstanding something. However all the suggestions I've found in my googling etc... don't seem to help. As a matter of fact most of the threads I've found show what people were trying to do to solve similar problems but never show an actual resolution.
Specifically I'm attempting to actually do the login because it is this login that lets the users know the application isn't working. The usual reason is because the DB on aother host was restarted AFTER the JBOSS on the host that has the web page. The fix is simply to stop/start JBOSS so it reconnects to the DB. The monitor I'm trying to write is one that would let me attempt the login. If it fails I would notify the folks who own JBOSS app (web page) to do their stop/start. Without this monitor the first indication we have of a problem is when the CIO himself attempts to use the app.
I'm working on another monitor instead that will simply let me know if JBOSS has started BEFORE the DB and alert but would really like to be able to test the login itself.
It shouldn't really matter how the form is made up. If it is using the http protocol then it will either send a GET or more likely a POST request to the server. You can then use lynx to make an identical request.
If you run ethereal and try to login you'll be able to see what type of request and in what format it is sent.