The JMX collector uses Jolokia to collect data on your MBeans. Jolokia is an agent that provides access to JMX MBeans without having to write any Java code. Netuitive can be used to process and graph the data collected by Jolokia. This can be useful if you'd like to collect a small set of metrics via JMX e.g., garbage collection metrics on your Cassandra cluster.
If you haven't installed the Linux agent already, see the instructions on this page
for how to install it. If you need to disable the Linux integration or view the unique API key assigned to your account, navigate to the Integrations
page under the user account drop-down menu and click the integration designated as Infrastructure
under the Integration
- Navigate to the collectors folder.
Note The default location is /opt/netuitive-agent/conf/collectors.
- Open the JolokiaCollector.conf file.
Note This configuration file will only be available in agent versions 0.3.1 or later. Otherwise, you will have to create a configuration file with the same name.
- Change the enabled setting to True.
- Save the configuration file, and restart the Linux Agent.
Additional Configuration Options
||Enable collecting Jolokia metrics.
||Hostname to collect from.
||Port to collect from.
||Path to your Jolokia agent. Typically jmx or jolokia.
||Default numeric output(s).
||Pipe ( | ) delimited list of MBeans for which to collect stats. If no list is provided, all MBeans stats will be collected.
||Measure the collector's run time in milliseconds.
||Regex list to match metrics to block. Mutually exclusive with metrics_whitelist option.
||Regex list to match metrics to transmit. Mutually exclusive with metrics_blacklist option.
||Password used for authentication.
||Enables the mbeans option to match with regex.
Config sub-section that contains pairs of from-to regex rewrites.
The rewrite subsection should exist directly underneath the mbeans option like so:
mbeans = "..."
java = coffee
"-v\d+\.\d+\.\d+" = "-AllVersions"
".*Gets2Activities.*" = ""
||Username used for authentication.