If the witango process fault results in an EventLog entry, you can
use my witango_watch daemon. Search the archive, as I've posted it
before.
On Nov 12, 2005, at 7:46 AM, Robert Garcia wrote:
Because many times, with some types of problems, most of the time,
when witango stops working, the process still exists.
I have sentrys that check 2 things, one, just a connect check to
port 18155, the other, a tickle of a taf that returns a small piece
of data from a database.
If you just check if the process is running, your site could be
down, but you get NO alarms.
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On Nov 12, 2005, at 4:31 AM, Michael Dittbrenner wrote:
Why don't you write a shell script checking if the process exists.
Ps -aux | grep witangod
And if its there write to the system process exists..
If not have it start witango..
Then have a cron job run it every so often. I have my checking the
process
every minute to make sure its up.
Ill email you a copy just to your email address.
Mike D
****************************************
Educational Directories Unlimited, Inc.
Michael Dittbrenner
Systems Administrator
http://www.StudyAbroad.com
http://www.GradSchools.com
A service of EDU, Inc... http://www.EDUdirectories.com
A partner of EDU Internet Strategies: http://
www.EDUInternetStrategies.com/
[Phone] 610-499-9200
[Fax] 610-499-9205
[E-mail] [EMAIL PROTECTED] or [EMAIL PROTECTED]
-----Original Message-----
From: Andrew Derry [mailto:[EMAIL PROTECTED]
Sent: Friday, November 11, 2005 9:45 PM
To: [email protected]
Subject: Witango-Talk: OS X witangod dies, way to auto-restart?
Hello,
Lately our WiTango 5.0 (for OS X) witangod has been dying on us.
I'm not
really sure how to even start trying to track down why... So I'm
looking
around for info on how to do that.
In the mean time, it would be nice if there was some way to have it
automatically restarted if it dies. Is there a way to set it up to
do that,
or is there some other tool for OS X that would do it for me?
As it stands - we start it manually from the command line. I seem
to recall
trying to get it to start automatically before and having trouble
with it,
but that was probably a year and half or two years ago and I
haven't really
touched it since.
The server has pretty much been sitting unused for that time until
about 2
months ago when our old Tango 3.x server became too problematic to
continue
using. ;) So.. It's not like it's been running along fine and now is
dying.. It's only really dying now since we started acutally using
it. ;)
Any thoughts or suggestions, or whatever would be very much
appreciated.
Thanks!
- Andrew
--
Andrew Derry - [EMAIL PROTECTED]
Simon Fraser University
Application Integration Support - MBC1415
Burnaby, BC
Canada V5A 1S6
604-291-5962
_____________________________________________________________________
___
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
_____________________________________________________________________
___
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
Bill
William M. Conlon, P.E., Ph.D.
To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306
vox: 650.327.2175 (direct)
fax: 650.329.8335
mobile: 650.906.9929
e-mail: mailto:[EMAIL PROTECTED]
web: http://www.tothept.com
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf