# This configuration should be taken as an example what the python scrip generates.
LoadPlugin "curl_jolokia"
Interval 1
# Adjust the location of the jolokia plugin according to your setup
# specify a username/password which has access to the values you want to aggregate
Host "_APPPERF_JMX"
User "webloginname"
Password "passvoid"
Post "[{\"config\":{},\"type\":\"read\",\"mbean\":\"java.lang:name=PS Scavenge,type=GarbageCollector\",\"attribute\":[\"CollectionTime\",\"CollectionCount\"]},{\"config\":{},\"type\":\"read\",\"mbean\":\"java.lang:type=Threading\",\"attribute\":[\"CurrentThreadUserTime\",\"CurrentThreadCpuTime\"]},{\"config\":{},\"type\":\"read\",\"mbean\":\"java.lang:type=Runtime\",\"attribute\":[\"Uptime\"]},{\"config\":{},\"type\":\"read\",\"mbean\":\"java.lang:type=ClassLoading\",\"attribute\":[\"LoadedClassCount\",\"TotalLoadedClassCount\"]}]"
MBean "java.lang:name=PS Scavenge,type=GarbageCollector"
BeanNameSpace "java_lang"
Attribute "CollectionTime"
type "gauge"
Attribute "CollectionCount"
type "gauge"
MBean "java.lang:type=Runtime"
BeanNameSpace "java_lang"
Attribute "Uptime"
type "gauge"
MBean "java.lang:type=ClassLoading"
BeanNameSpace "java_lang"
Attribute "LoadedClassCount"
type "gauge"
Attribute "TotalLoadedClassCount"
type "gauge"
MBean "java.lang:type=OperatingSystem"
BeanNameSpace "java_lang"
Attribute "SystemLoadAverage"
type "gauge"
Attribute "OpenFileDescriptorCount"
type "gauge"
Attribute "ProcessCpuTime"
type "gauge"
Attribute "FreePhysicalMemorySize"
type "gauge"
Attribute "FreeSwapSpaceSize"
type "gauge"
Attribute "ProcessCpuLoad"
type "gauge"
Attribute "SystemCpuLoad"
type "gauge"