[SPAM: Type H] - Re: Running java plugins in nagios - Email found in subject

Thomas Schimpke schimpke at lenze.de
Wed Sep 8 15:20:49 CEST 2004


Hi Andrew,

I'm really not sure. I'll make some tests, as soon as I've finished the
"plugin". Perhaps I'll be able to do some measurements also. Then we'll
see...

Thomas

 On Wed, 2004-09-08 at 14:53, Andrew Janian wrote:
> I have been watching this thread for a while.  I use JAVA checks often in nagios and have no problem.  The machine that it is running on has 8GB of RAM though.  I see no load on the machine and the checks run fine.  I think I have less than 10 running though.
> 
> You really think more than 10 would be bad for you?
> 
> Andrew
> 
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Thomas
> Schimpke
> Sent: Wednesday, September 08, 2004 2:01 AM
> To: Sean Dilda
> Cc: Nagios List
> Subject: [SPAM: Type H] - Re: [Nagios-users] Running java plugins in
> nagios - Email found in subject
> 
> 
> Hi Sean,
> 
> someone else had written a nagios plugin and experienced the expected
> performance problems. There are some tuning parameters, though. But I
> think, that as soon as I use some 10 Java based checks, I'll be out of
> luck and the monitoring will break.
> 
> I also thought, that I should turn the plugin into a server, create some
> threads for the individual SAP checks and then use passive checks from
> nagios. The problem with this approach is, that there's another
> component, that can fail -- but your suggestion, to check the server is
> fine. I like the idea...
> 
> Thanks,
> 
> Thomas
> 
> On Tue, 2004-09-07 at 19:45, Sean Dilda wrote:
> > On Mon, 2004-09-06 at 03:03, Thomas Schimpke wrote:
> > > Hello,
> > > 
> > > is somebody on the list, who has some experience with running java
> > > plugins in nagios ? The technical integration is not the problem, but
> > > I'm having concerns about the java overhead (loading the VM,...). My
> > > fear is, that my monitoring server will simply be overloaded as soon, as
> > > there are some 10 java based checks running.  
> > 
> > Have you considered turning your java plugin into a daemon that runs on
> > the nagios server, does its own polling of SAP, then writes the results
> > as passive checks.  This way you'd only ever have on java VM running,
> > and you'd rarely have to launch it.
> > 
> > You could even expand that by turning on freshness checking and have the
> > check script for that be something that actually starts the java daemon
> > back up if it exited for any reason.  Although you'd want to use a
> > lockfile if you did that so you'd never get multiple copies of the
> > daemon running at once.
> > 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040908/e820a117/attachment.sig>


More information about the Users mailing list