| 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: 3688
|
|
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: 7921
|
|
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: 12513
|
|
|
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.
|
One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
|
 |
 |
|
|
subject: Any pre-existing Java based scripts to monitor the status of a soap server on a unix box?
|
|
|