You could use check_proc via NRPE or al custom SNMP base check SNMP agent (HR MIB or an agent specific MIB). A number of SnMP agents can be configured to send SnMP trpas when monitored processes exit.
The Sun JVM also has a built in SNMP agent that exposes thread count, heap size and some other base JVM metrics. This agent can easily be proxied through an agent like Net-SNMP so you don't have multiple agent ports to work with. If you are using weblogic, it's built in SNMP agent can be configured to send a variety of SNMP traps, including starting up and shutting down traps. Max On 3/2/10, Jatin Davey <jasho...@cisco.com> wrote: > Hi > > I want to know how i can monitor the java process running on remote box > , basically i want to keep monitoring it and raise an email alert if it > has re-started or stopped functioning. Please let me know how this can > be achieved using nagios. > > Thanks > Jatin > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list Nagios-users@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