Hello,
I have created a custom python probe to monitor java processes without JMX. JMX is interesting for certain services like JBoss / Tomcat but can be painful to deploy for other programs.
It is actually running fine in production for services like logstash / SOLR / Elasticsearch where I didn't want to explicitly enable JMX.
This proble can :
* Return number of java process running based on the name returned by jps (default behavior). This more convenient than using proc.num which is based on java command line
* Optionally return Heap and PermGen Used/Max (you can easily add new values)
Code, template and Howto are available at :
Example :
There is 1 Elasticsearch process running
Memory stats can also be monitored :

Hope that helps !
Greg
I have created a custom python probe to monitor java processes without JMX. JMX is interesting for certain services like JBoss / Tomcat but can be painful to deploy for other programs.
It is actually running fine in production for services like logstash / SOLR / Elasticsearch where I didn't want to explicitly enable JMX.
This proble can :
* Return number of java process running based on the name returned by jps (default behavior). This more convenient than using proc.num which is based on java command line
* Optionally return Heap and PermGen Used/Max (you can easily add new values)
Code, template and Howto are available at :
Example :
Code:
$ zabbix_get -s ev-woot01 -k custom.proc.num.java[Elasticsearch,alive] 1
Memory stats can also be monitored :

Hope that helps !
Greg
)
Comment