How to implement nagios monitoring for JVM in Windows 2008

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ganeshanrs1983
Posts: 55
Joined: Wed Jun 18, 2014 10:16 am

How to implement nagios monitoring for JVM in Windows 2008

Post by ganeshanrs1983 »

Team,

Could you please help me how to implement nagios monitoring for JVM (java virtual machine) in windows 2008 server.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: How to implement nagios monitoring for JVM in Windows 20

Post by jdalrymple »

That's a pretty abstract question. Are you trying to make sure that a JVM is being used by some java process? You could just monitor for the java.exe process (nsclient can handle this easily) if so. Can you be a little more clear on your use-case then maybe we can offer a more clear answer?
meveno
Posts: 1
Joined: Wed Jun 03, 2015 4:36 am

Re: How to implement nagios monitoring for JVM in Windows 20

Post by meveno »

How could you monitor a jvm, launched through a service (which use a exe-wrapper to finally launch the jvm) ?
I want to monitor the heap usage and gc activity.

I've tried to use check_jvm but It seems to be made for linux and my tries on Windows were not successfull ;)

Any hint or advice ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How to implement nagios monitoring for JVM in Windows 20

Post by abrist »

Is checking through JMX remote a possibility? If so, you may want to look at:
https://exchange.nagios.org/index.php?o ... =check_jmx
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked