[Nagiosplug-devel] plugins in java

Andreas Ericsson ae at op5.se
Fri Apr 4 16:57:50 CEST 2008


jimmy.mathew1 at wipro.com wrote:
> Hi
> 
> Is it possible to write nagios pugin in java
> 

It is, but it sucks. The reason being that java processes requires a
virtual machine to run, which means the plugins require astonishing
amounts of system resources to even say "Hello, world!". If it was a
one-shot program, that would be just fine, but plugins are meant to
be run over and over again, with quite short intervals, and they aren't
meant to live very long. The start-up overhead of the virtual machine
just doesn't make java plugins a very attractive option.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231




More information about the Devel mailing list