I also would like to vote for this feature. I have used command-line probe to spawn and java program to connect to devices as well, but I don't think java is good for short-lived programs (please correct me if I am wrong). This is because java has this JIT compiler which convert the byte code to native code during runtime.
I had a command-line java probe which is taking half a second to run, let I convert it to a TCP probe and the performance increase 10x to about 50ms. I order for a java/groovy probe perform nicely, InterMapper will have to keep a JVM process alive to keep the native code in-memory such that the JIT compiler does not need to run every time a probe is triggered. Can something like this be achieved? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of vjanelle Sent: May-13-11 2:46 AM To: [email protected]; [email protected] Subject: [IM-Talk] Support for writing probes in groovy or other JSR223 langs? Would it be possible to add groovy(or JSR223) support to intermapper to support writing probes? I had to write some semi-complex probes in python utilizing a proxy agent for JMX(the check_jmx script spawns a jvm with every request and that'd pretty rapidly kill our monitoring infrastructure), and it would've been easier if we could utilize groovy or javascript to write the probes in. Thanks! -------------------- m2f -------------------- Read this topic online here: http://forums.dartware.com/viewtopic.php?p=3422#3422 ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [email protected] ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [email protected]
