# </Value>
</MBean>
+ ######################################
+ # Define the "jmx_memory" type as: #
+ # jmx_memory value:GAUGE:0:U #
+ # See types.db(5) for details. #
+ ######################################
+
# Generic heap/nonheap memory usage.
<MBean "memory">
ObjectName "java.lang:type=Memory"
# Creates four values: committed, init, max, used
<Value>
- Type "memory"
+ Type "jmx_memory"
#InstancePrefix ""
#InstanceFrom ""
Table true
# Creates four values: committed, init, max, used
<Value>
- Type "memory"
+ Type "jmx_memory"
#InstancePrefix ""
#InstanceFrom ""
Table true
Attribute "NonHeapMemoryUsage"
+ InstancePrefix "nonheap-"
</Value>
</MBean>
InstanceFrom "name"
<Value>
- Type "memory"
+ Type "jmx_memory"
#InstancePrefix ""
#InstanceFrom ""
Table true
<Value>
Type "io_octets"
- #InstancePrefix ""
+ InstancePrefix "global"
#InstanceFrom ""
Table false
Attribute "bytesReceived"
<Value>
Type "total_requests"
- #InstancePrefix ""
+ InstancePrefix "global"
#InstanceFrom ""
Table false
Attribute "requestCount"
<Value>
Type "total_time_in_ms"
- InstancePrefix "processing"
+ InstancePrefix "global-processing"
#InstanceFrom ""
Table false
Attribute "processingTime"
<MBean "catalina/detailed_request_processor">
ObjectName "Catalina:type=RequestProcessor,*"
InstancePrefix "request_processor-"
- InstanceFrom "name"
+ InstanceFrom "worker"
<Value>
Type "io_octets"
#InstancePrefix ""
- InstanceFrom "worker"
+ InstanceFrom "name"
Table false
Attribute "bytesReceived"
Attribute "bytesSent"
<Value>
Type "total_requests"
#InstancePrefix ""
- InstanceFrom "worker"
+ InstanceFrom "name"
Table false
Attribute "requestCount"
</Value>
<Value>
Type "total_time_in_ms"
InstancePrefix "processing-"
- InstanceFrom "worker"
+ InstanceFrom "name"
Table false
Attribute "processingTime"
</Value>
# Connection blocks #
#####################
<Connection>
- Host "localhost"
ServiceURL "service:jmx:rmi:///jndi/rmi://localhost:17264/jmxrmi"
+ User "monitorRole"
+ Password "queeZie1"
+ Host "localhost"
Collect "classes"
Collect "compilation"
Collect "garbage_collector"