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

Andrew Janian ajanian at scottrade.com
Wed Sep 8 14:53:16 CEST 2004


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.
> 


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list