ERP Associates, Inc.

Solutions for People and their Software

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: Webserver monitoring
2 Years ago #397
Webserver monitoring _GEN_PRINT
Hello,

One of our peoplesoft production webservers went down last week, we found that even though HTTP,HTTPS ports were up (listening) yet web page did not come up . We have single server domain.

Our monitoring script did not send any alerts since it was monitoring the ports status , which were up .

Is there any way we can get alerts in a scenario where ports were up but yet webserver is not functional?
Our environments are on PeopleTolols 8.49 and 8.47 Weblogic 9.1 and 8.1.

Thanks in advance.
User Offline
The administrator has disabled public write access. _GOTOTOP
sohail
 
Fresh Boarder
Posts: 3
graphgraph
2 Years ago #398
Re:Webserver monitoring _GEN_PRINT
My first thought is that you could use wget to get the signon page from the web server and save it to a file. Then you could grep the file to make sure the file is a real signon page. The syntax in your script would look something like this:

#get the Signon page from the server
wget demo1.erpassociates.com:9080/HR91DMO/signon.html
#Make sure it's real:
grep response=grep "login" signon.html
#Do something if $response is empty
if ${response} ...

I believe there's a wget version for Windows as well.

I'm sure there are other ways to do this, that's just the first one that comes to mind.

-Brent
User Offline
The administrator has disabled public write access. _GOTOTOP
brent
 
Moderator
Posts: 117
graph
2 Years ago #400
Re:Webserver monitoring _GEN_PRINT
Thanks .

Unfortunately we do not have wget utility installed on our servers.

Any other option?
User Offline
The administrator has disabled public write access. _GOTOTOP
sohail
 
Fresh Boarder
Posts: 3
graphgraph
2 Years ago #401
Re:Webserver monitoring _GEN_PRINT
There are always options! BMC used to have a product that crawled web sites looking for valid responses that I used at one time. I think it was part of their Patrol product but I can't remember for sure.

If you want to do it yourself, PeopleCode has Request and Response objects. I'll bet you could use the Request object in PCode to try to hit the web server's URL, and review the output to make sure it's valid HTML. If not, it could e-mail somebody.

Put that PeopleCode in an app engine, and run it every 5 minutes or so. (You might want to set it up as a daemon so it doesn't junk up process monitor.) And then you would have a job to monitor the web server. I'd give you bonus points if you make it log on and sign out to verify the log in works.
User Offline
The administrator has disabled public write access. _GOTOTOP
brent
 
Moderator
Posts: 117
graph
2 Years ago #402
Re:Webserver monitoring _GEN_PRINT
Hi,

wget utility is available to us and we are currently testing with your first suggestion.

Thanks for your help , Will keep you posted.
User Offline
The administrator has disabled public write access. _GOTOTOP
sohail
 
Fresh Boarder
Posts: 3
graphgraph
Go to topPage: 1
Back to Top