Hi,
I need help in TomCat monitoring. I have referred the Zabbix Manual for JMX thing. But i have a basic question as I am very new to Java and tomacat andd stuff. My questions are
1) Can anyone tell me where exactly we need to type these commands given below? What is meant by the so called TomCat environment?? Forgive me for this basic questions!!
Also can any port number be used?
2) The next question is where can I type the following command?
The Zabbix Manual/Post on this topic was very extensive. But for a novice like me, if the above 2 questions can be answered it will be great.
I am also working on a detailed documentation on Zabbix installation. Hope to share with you all once I try all features. My manual is aimed for novice users like me to appreciate this wonderful tool.
Please help me with the above 2 doubts
I need help in TomCat monitoring. I have referred the Zabbix Manual for JMX thing. But i have a basic question as I am very new to Java and tomacat andd stuff. My questions are
1) Can anyone tell me where exactly we need to type these commands given below? What is meant by the so called TomCat environment?? Forgive me for this basic questions!!
Also can any port number be used?
In my tomcat environment, I enable it by setting the following options for the jvm:
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=xxxxx \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=true \
-Dcom.sun.management.jmxremote.password.file=/path/java/jre/lib/management/jmxremote. password"
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=xxxxx \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=true \
-Dcom.sun.management.jmxremote.password.file=/path/java/jre/lib/management/jmxremote. password"
With tomcat, I can do the following:
curl -s -u<jmxusername>:<jmxpassword> 'http://<tomcat_hostname>/manager/jmxproxy/?qry=java.lang:type=Threading'
curl -s -u<jmxusername>:<jmxpassword> 'http://<tomcat_hostname>/manager/jmxproxy/?qry=java.lang:type=Threading'
The Zabbix Manual/Post on this topic was very extensive. But for a novice like me, if the above 2 questions can be answered it will be great.
I am also working on a detailed documentation on Zabbix installation. Hope to share with you all once I try all features. My manual is aimed for novice users like me to appreciate this wonderful tool.
Please help me with the above 2 doubts
Comment