Page 1 of 1
Java check
Posted: Wed Nov 25, 2015 4:53 am
by ariarlet
Good Morning
How could monitor the process of a java web application. I am not able to find a check that works.
Thank you
Re: Java check
Posted: Wed Nov 25, 2015 10:23 am
by rkennedy
Can you provide a bit more information about this java check? There are multiple scenarios that could work.
check_http for example, has a -r flag that can match HTML strings.
Alternatively, you could check if the java process is running from the host.
Re: Java check
Posted: Thu Nov 26, 2015 3:56 am
by ariarlet
Hello
I would like to monitor a corresponding java websharpe
Thanks
Re: Java check
Posted: Thu Nov 26, 2015 7:51 pm
by Box293
JMX is probably the answer. While this guide is for Nagios XI, the concepts are the same and it will work the same in Core.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Re: Java check
Posted: Mon Nov 30, 2015 4:06 am
by ariarlet
Inside there is a java command line where you specify which service is one that owns that java, but not how to draw that line and if there is a check that already monitor this. It is a very long line with a lot of data.
Re: Java check
Posted: Mon Nov 30, 2015 11:28 am
by rkennedy
ariarlet wrote:Inside there is a java command line where you specify which service is one that owns that java, but not how to draw that line and if there is a check that already monitor this. It is a very long line with a lot of data.
Can you provide clarification on this and where you're talking about?