Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Web App monitoring

Thread Tools
 
Search this Thread
 
Old 19 February 2007, 10:40 AM
  #1  
J4CKO
Scooby Regular
Thread Starter
iTrader: (1)
 
J4CKO's Avatar
 
Join Date: Jan 2003
Posts: 19,384
Likes: 0
Received 1 Like on 1 Post
Default Web App monitoring

I am looking after a Jboss server, I am not really a web admin (DBA usually) but am learning and DBA's have to do a bit of web stuff nowadays.

We had a failure the other day, one of the developers had been having a mooch around the directory structure on the server and had a bit of finger trouble and managed to delete a selection of files, these were recovered from tape and slotted back into the structure and I restarted the service, bingo our web application was back.

The developer has been humanely destroyed, well he cant log on that server any ore.
I want to put some monitoring in place that will check whether the page is available, now it is simple to monitor the windows service but during our failure the service was up all the time even though the web page was no available.

So, I am after a method of monitoring the page by issuing a request against it and then seeing what comes back, perhaps using the page source for the login page and checking some specifics in that, I was thinking of doing this via a Perl script run periodically via Tivoli.

Any Suggestions ?
Old 19 February 2007, 10:56 AM
  #2  
stevem2k
Scooby Regular
 
stevem2k's Avatar
 
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes on 0 Posts
Default

Hobbit .

The Hobbit Monitor


Works a treat, we use it for 100's of page scrapes.
Old 19 February 2007, 05:01 PM
  #3  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

Do you need to check functionality, performance or anything fancy?
Old 20 February 2007, 12:46 PM
  #4  
J4CKO
Scooby Regular
Thread Starter
iTrader: (1)
 
J4CKO's Avatar
 
Join Date: Jan 2003
Posts: 19,384
Likes: 0
Received 1 Like on 1 Post
Default

David, have managed to get something working now, I have installed an up to date Perl install and added in a module called http::webtest from Cpan.

All working now, it simply tries the URL and checks the return code and then checks the page text to see whether the login message has appeared, have fiddled about and it all seems to work, just need to wrap it up and integrate and schedule.

Any other suggestions gratefully received, had a look at Hobbit (cheers steve), looks good but I need something lightweight that doesnt cause any problems with regards to introducing new software, a Perl package won't rattle many cages.
Old 20 February 2007, 01:49 PM
  #5  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

No probs.. thats interesting to know..

We have an SSL enabled site and we put a search through every 15seconds and time how long it takes to get a response..

We also do the same with SOAP and API calls to our online infastructure..

We use client vantage..
Compuware Vantage
Old 20 February 2007, 09:16 PM
  #6  
J4CKO
Scooby Regular
Thread Starter
iTrader: (1)
 
J4CKO's Avatar
 
Join Date: Jan 2003
Posts: 19,384
Likes: 0
Received 1 Like on 1 Post
Default

We are just looking at monitoring a rather ropey internal web based system, as I said, one of the devs deleted some files, obviously it was ok during the day they went but went titsup the following morning when the app restarted, took ages to get the call that it was company wide as it has loads of problems that cause http 500 errors so the call centre thought it was that, basically half a day before it was spotted !

The normal http 500 come from really poor Java code with bad coding practice (so I am told), Java Script all over the place and a seemingly random method of transaction isolation, I have done all the possible DBA tweaks but its a wonky app.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Sam Witwicky
Engine Management and ECU Remapping
17
13 November 2015 10:49 AM
XRS
Computer & Technology Related
18
16 October 2015 01:38 PM
south_scoob
ScoobyNet General
22
03 October 2015 01:05 PM
T.K
General Technical
10
02 October 2015 11:35 AM
Wurzel
Computer & Technology Related
10
28 September 2015 12:28 PM



Quick Reply: Web App monitoring



All times are GMT +1. The time now is 03:55 AM.