Hello everyone,
I’ve been using Zabbix since 1.8 version to monitor our systems.
Currently I will need to monitor LDAP, Websphere 8, Jboss, REST. In addition to that I’ve started searching for Zabbix Templates and that’s how I’ve discovered Zorka and Zico.
There is a big enthusiast about this because we believe it will help to improve a lot the performance issues we’ve been having.
Lets put the hands on in the issues I would like to raise.
So, we’ve been following the installation guide but for some reason we don’t see any plot.
######
1
######
- Agent zip file was transferred and unzip to the WAS home: /opt/WebSphere/AppServer/profiles/l075v20/zorka
- We did a vim to the file: /opt/WebSphere/AppServer/profiles/l075v20/config/cells/SOL/nodes/l075v20/servers/server1/server.xml
o The we did the change mentioned:
o <jvmEntries xmi:id="JavaVirtualMachine_1183122130078" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" maximumHeapSize="6144" runHProf="false" hprofArguments="" debugMode="false" debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" genericJvmArguments="-javaagent:/opt/WebSphere/AppServer/profiles/l075v20/zorka/zorka.jar=/opt/WebSphere/AppServer/profiles/l075v20/zorka -Xjit:disableInterpreterProfiling -Dfile.encoding=UTF-8 -Dcom.ibm.ws.pm.pmcache.ignoreDeletedEntry=true -Xoptionsfile=/opt/WebSphere/AppServer/profiles/l075v20/properties/jksProps.txt -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl -Dsun.reflect.inflationThreshold=0 -Xgc:preferredHeapBase=0x100000000">
- Once again we did the change mentioned for the server policy. We added the line:
o
//
Allow ZORKA agent
grant codeBase "file: =/opt/WebSphere/AppServer/profiles/l075v20/zorka/-" {
permission java.security.AllPermission; };
We did stopServer.sh server1
And we did startServer.sh server1
We activated the traces and we have a zabbix agent installed in this machine. The scripts are inside the jar, so I believe we don’t need to unzip the jar and have the scripts folder correct? The server starts without errors …..
However we don’t see any logs in the zorka folder, or any info in zabbix. Server starts with success.
Any ideas what we are doing wrong?
We also have some exceptions with Zico.
We have JDK1.7 in the system.
Any kind soul would be able to give me a 10min help over here, skype or gmail? J Appreciated!
Can you please help me to setup zorka agent for my java application deployed in tomcat7 app server in linux machine?
As I'm new to zorka,I was following zorka web page but unfortunately there is no luck.
I was following below steps after that also i could not able to see any log file under zorka\log directory.
Steps which i'm following:
1. install the tomcat in Linux machine
2. copy the zorka agent under tomcat home directory
3. edit the zorka.property file with below details:
# Example: Apache Tomcat configuration with CAS server
scripts = jvm.bsh, zabbix.bsh, /home/ec2-user/bin/tomcat8/zorka/scripts/apache/tomcat.bsh, apps/cas.bsh
zorka.spy.compute.frames = yes
tracer = yes
4.copy the tomcat.bsh (bsh file copied from zorka github link) file into zorka/script/apache folder
5. added CATALINA_OPTS="$CATALINA_OPTS -javaagent:/home/ec2-user/bin/tomcat8/zorka/zorka.jar=/home/ec2-user/bin/tomcat8/zorka" into tomcat\bin\catalina.sh file(in the end of file).
on zorka site, its showing to add this line into <server-home>/bin/Catalina.conf but unfortunately catalina.conf is not available anywhere in tomcat directory.
7. deployed existing web project into tomcat webapps folder
6. started the tomcat with startup.sh command
7. tomcat started
not able to see any activity logged in zorka\log directory.
Please help me to implement zorka in our applications.
Thanks a ton tin advance.