Monitoring HTTP Metrics with JMX

JFrog Support
2017-05-23 06:30

You cannot monitor HTTP Status Code metrics from Artifactory out-of-the-box. However, there is very little modification necessary to accomplish this. You will need to add the JAMon library to Tomcat. 


You can do this in three easy steps:

1.Add jamon-2.8.jar to your $ARTIFACTORY_HOME/tomcat/lib directory

2.Add jamon.war to your $ARTIFACTORY_HOME/tomcat/webapps directory

3.Add the following line to your server.xml under $ARTIFACTORY_HOME/tomcat/conf like so:

<Engine name="Catalina" defaultHost="localhost">

 <Host name="localhost" appBase="webapps"/>

 <Valve className="com.jamonapi.http.JAMonTomcatValve"/>


You will now be able to monitor these values with JConsole!