anchor.diff:  # By: Josh Behrends - Webtrends 2012                                         #
   #                                                                            #
   # Revisions: 06/11/2012 - Initial script creation                            #
  +#            06/21/2012 - Added JVM stats, and logreplay metrics             #
   #                                                                            #
   ##############################################################################
   LoadPlugin java
  
positive.code:         ################
          # MBean blocks #
          ################
          <MBean "kafka">
                  ObjectName "kafka:type=kafka.KafkaProducerStats"
                  InstancePrefix "KafkaProducerStats"
  
negative.code:         #####################
          #Connection Block
          <Connection>
  			Host "<%= @node[:hostname] %>"
  			ServiceURL "service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi"
  			Collect "classes"
  			Collect "garbage_collector"
  			Collect "java_threads"
  			Collect "memory-heap"
  			Collect "memory_nonheap"
  			Collect "kafka"
  			Collect "async"
  			Collect "hits-accepted"
  			Collect "hits-per-log-file"
  			Collect "log-files-replayed"
          </Connection>
          </Plugin>
  </Plugin>
  