anchor.diff:  |===
   | Class Name          | `org.opennms.netmgt.collectd.Jsr160Collector`
   | Package             | core
  -| Supported on Minion | `Yes`
   |===
   
   ===== Collector Parameters
  
positive.code: </jmx-collection>
  ----
  
  Once added to `etc/jmx-datacollection-config.xml` you can test it using the `collect` command available in the _Karaf Shell_:
  
  [source]
  ----
  collection:collect org.opennms.netmgt.collectd.Jsr160Collector 127.0.0.1 collection=opennms-poller port=18980
  ----
  
negative.code: | Parameter              | Description                                                                     | Required | Default value
  | `collection`           | The name of the _JMX Collection_ to use                                         | required | (none)
  | `thresholding-enabled` | Whether collected performance data shall be tested against thresholds           | optional | `true`
  | `retry`                | Number of retries                                                               | optional | `3`
  | `friendlyName`         | Name of the path in which the metrics should be stored                          | optional | Value of the port, or 'jsr160' if no port is set.
  | `factory`              | The password strategy to use.
                             Supported values are: `STANDARD` (for authentication),
                             `PASSWORD_CLEAR` (same as `STANDARD`) and `SASL` (if secure connection is required)
                                                                                                             | optional | `STANDARD`
  | `url`                  | The connection url, e.g. `service:jmx:rmi:localhost:18980`.
                             The ip address can be substituted. Use `${ipaddr}` in that case, e.g.:
                              `service:jmx:rmi:${ipaddr}:18980`                                              | optional | (none)
  | `username`             | The username if authentication is required.                                     | optional | (none)
  | `password`             | The password if authentication is required.                                     | optional | (none)
  | `port`                 | *Deprecated*. JMX port.                                                          | optional | `1099`
  | `protocol`             | *Deprecated*. Protocol used in the `JMX` connection string.                      | optional | `rmi`
  | `urlPath`              | *Deprecated*. Path used in `JMX` connection string.                              | optional | `/jmxrmi`
  | `rmiServerPort`        | *Deprecated*. RMI port.                                                          | optional | `45444`
  | `remoteJMX`            | *Deprecated*. Use an alternative `JMX` URL scheme.                               | optional | `false`
  |===
  
  NOTE: The parameters `port`, `protocol`, `urlPath`, `rmiServerPort` and `remoteJMX` are deprecated and should be replaced with the `url` parameter.
  If `url` is not defined the collector falls back to _Legacy Mode_ and the deprecated parameters are used instead to build the connection url.
  
  NOTE: If a service requires different configuration it can be overwritten with an entry in `$OPENNMS_HOME/etc/jmx-config.xml`.
  
  ===== JMX Collection Configuration
  
  _JMX Collections_ are defined in the `etc/jmx-datacollection-config.xml` and `etc/jmx-datacollection-config.d/`.
  
  