Usage of /usr/bin/nri-jmx:
-collection_config string
JSON format metrics collection configuration
-collection_files string
A comma separated list of full paths to metrics collections configuration files
-config_file string
For troubleshooting only: Specify JMX config file. If you don't want to load the config from the file set this empty (default "/etc/newrelic-infra/integrations.d/jmx-config.yml")
-connection_url string
full connection URL
-enable_internal_stats
Print nrjmx internal query stats for troubleshooting
-events
Publish events data.
-heartbeat_interval int
BETA: Interval in seconds for submitting the heartbeat while in long-running mode (default 5)
-hide_secrets
Set this to false if you want to see the secrets in the verbose logs. (default true)
-instance_name string
For troubleshooting only: Specify which block from the jmx config file will be used. You can find the value in the jmx config file. Is the name field of the instance / integration. If left empty, first configuration block will be used.
-interval int
BETA: Interval in seconds for collecting data while while in long-running mode (default 30)
-inventory
Publish inventory data.
-jmx_host string
The host running JMX (default "localhost")
-jmx_pass string
The password for the JMX connection
-jmx_port string
The port JMX is running on (default "9999")
-jmx_remote
When activated uses the JMX remote url connection format (by default on JBoss Domain-mode)
-jmx_remote_jboss_standalone
When activated uses the JMX remote url connection format on JBoss Standalone-mode
-jmx_remote_jboss_standlone
Deprecated, use -jmx-remote-jboss-standalone instead
-jmx_ssl
Use https
-jmx_uri_path string
The path portion of the JMX Service URI. This is useful for nonstandard service uris
-jmx_user string
The username for the JMX connection
-key_store string
The location for the keystore containing JMX Client's SSL certificate
-key_store_password string
Password for the SSL Key Store
-local_entity
Collect all metrics on the local entity. Use only when monitoring localhost.
-long_running
BETA: In long-running mode integration process will be kept alive
-metadata
Add customer defined key-value attributes to the samples.
-metric_limit int
Number of metrics that can be collected per entity. If this limit is exceeded the entity will not be reported. A limit of 0 implies no limit. (default 200)
-metrics
Publish metrics data.
-nr_jmx string
nrjmx tool executable path (default "/usr/bin/nrjmx")
-nri_add_hostname
Add hostname attribute to the samples.
-nri_cluster string
Optional. Cluster name
-nri_service string
Optional. Service name
-pretty
Print pretty formatted JSON.
-query string
For troubleshooting only: Connect to the JMX endpoint and execute the query. Query format DOMAIN:BEAN
-remote_monitoring
Allows to monitor multiple instances as 'remote' entity. Set to 'FALSE' value for backwards compatibility otherwise set to 'TRUE'
-show_version
Print build information and exit
-temp_dir string
Optional. Integrations path to store temporal data (defaults to os.tempDir if left empty).
-timeout int
Timeout for JMX queries (default 10000)
-trust_store string
The location for the keystore containing JMX Server's SSL certificate
-trust_store_password string
Password for the SSL Trust Store
-verbose
Print more information to logs.
Options (40)
| Option | Description | Source |
|---|---|---|
-collection_config string | JSON format metrics collection configuration | help |
-collection_files string | A comma separated list of full paths to metrics collections configuration files | help |
-config_file string | For troubleshooting only: Specify JMX config file. | help |
-connection_url string | full connection URL | help |
-enable_internal_stats | Print nrjmx internal query stats for troubleshooting | help |
-events | Publish events data. | help |
-heartbeat_interval int | BETA: Interval in seconds for submitting the heartbeat while in long-running mode (default 5) | help |
-hide_secrets | Set this to false if you want to see the secrets in the verbose logs. | help |
-instance_name string | For troubleshooting only: Specify which block from the jmx config file will be used. | help |
-interval int | BETA: Interval in seconds for collecting data while while in long-running mode (default 30) | help |
-inventory | Publish inventory data. | help |
-jmx_host string | The host running JMX (default "localhost") | help |
-jmx_pass string | The password for the JMX connection | help |
-jmx_port string | The port JMX is running on (default "9999") | help |
-jmx_remote | When activated uses the JMX remote url connection format (by default on JBoss Domain-mode) | help |
-jmx_remote_jboss_standalone | When activated uses the JMX remote url connection format on JBoss Standalone-mode | help |
-jmx_remote_jboss_standlone | Deprecated, use -jmx-remote-jboss-standalone instead | help |
-jmx_ssl | Use https | help |
-jmx_uri_path string | The path portion of the JMX Service URI. | help |
-jmx_user string | The username for the JMX connection | help |
-key_store string | The location for the keystore containing JMX Client's SSL certificate | help |
-key_store_password string | Password for the SSL Key Store | help |
-local_entity | Collect all metrics on the local entity. | help |
-long_running | BETA: In long-running mode integration process will be kept alive | help |
-metadata | Add customer defined key-value attributes to the samples. | help |
-metric_limit int | Number of metrics that can be collected per entity. | help |
-metrics | Publish metrics data. | help |
-nr_jmx string | nrjmx tool executable path (default "/usr/bin/nrjmx") | help |
-nri_add_hostname | Add hostname attribute to the samples. | help |
-nri_cluster string | Optional. | help |
-nri_service string | Optional. | help |
-pretty | Print pretty formatted JSON. | help |
-query string | For troubleshooting only: Connect to the JMX endpoint and execute the query. | help |
-remote_monitoring | Allows to monitor multiple instances as 'remote' entity. | help |
-show_version | Print build information and exit | help |
-temp_dir string | Optional. | help |
-timeout int | Timeout for JMX queries (default 10000) | help |
-trust_store string | The location for the keystore containing JMX Server's SSL certificate | help |
-trust_store_password string | Password for the SSL Trust Store | help |
-verbose | Print more information to logs. | help |