monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monit JAVA API


From: James A R Brown
Subject: Re: Monit JAVA API
Date: Tue, 04 Jan 2011 18:12:03 +0000

Hi,

I think you need the java service wrapper, which as it says is a wrapper
for the JVM. It looks for stalled JVMs etc and restarts them.

As it generates PID for the wrapper and also for the JVM you can then
use monit to monitor the service wrapper, incase it stalls.

I have a custom swing app that runs in this fashion wrapped with the
java service wrapper and then double monitored by monit.

James



On Tue, 2011-01-04 at 01:10 +0530, sandeep srivastava wrote:
> Hi,
> 
> I have requirement where i need to use Monit to monitor and manage
> services. But my enterprise application is in java, and we have our
> own UI where we want to show service status using Monit, Obviously we
> need to call Monit in our java code ( We can't use Monit UI
> provided) .  Monit is in C, Does Monit provides java API ? or you guys
> have some suggestion , So I can use Monit in my application(Basically
> i need to call Monit in my java code). Any help will be appreciated.
> 
> Thanks
> sasrivas
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general





reply via email to

[Prev in Thread] Current Thread [Next in Thread]