This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Any pre-existing Java based scripts to monitor the status of a soap server on a unix box? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Any pre-existing Java based scripts to monitor the status of a soap server on a unix box?" Watch "Any pre-existing Java based scripts to monitor the status of a soap server on a unix box?" New topic
Author

Any pre-existing Java based scripts to monitor the status of a soap server on a unix box?

Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
I'm in the process of re-writing some scripts that are used to periodically ping an existing Soap Server on a unix box and send out email notification of the status of the server if the server happens to be down or unreachable.

The existing scripts are written in perl and I was specifically instructed to create these scripts using a stand alone java app. Are there any pre-existing apps, maybe open source apps which already does something similar to what I'm trying to do?

I'm trying to avoid re-inventing the wheel.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

I don't know of any, but that doesn't mean that they don't exist.

If you use the standard java.mail code to talk to your SMTP daemon, and the Apache HTTP client to talk to the Soap Server, you won't have to write much code, maybe 100 lines. But what is driving this request? If its working in perl, why fix it?

If you are looking for an educational effort, I'd rewrite it in python, rather than Java.

edited: must -> much
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

We use Nagios for monitoring, but it may be overkill for what you are trying to do.
Pat asked some good questions. If it's working, why mess with it? That's called "reinventing the wheel"!


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

I use Nagios extensively. It's a lot easier to adapt Perl scripts to server as outage detectors in Nagios than it is to use Java.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Any pre-existing Java based scripts to monitor the status of a soap server on a unix box?
 
Similar Threads
Need help to install Eclipse on AIX-Unix
Usage of Regular expressions
Multiple programs/processes
Client Side Graph/Charting Recommendation?
Suggestions for an IDE