OS Manuals

/usr/bin/nri-redis

New Relic Infrastructure Redis Integration

From nri-redis 1.16.2-r0 (os), captured 2026-11-05 by running nri-redis --help (exit 0). permalink

Also provided by 1 other package version
Usage of /usr/bin/nri-redis:
  -cache_ttl duration
    	Optional. The time the integration considers a temporal stored value as valid (defaults to 6 minutes left empty). (default 6m0s)
  -config_inventory
    	Provides CONFIG inventory information. Set it to 'false' in environments where the Redis CONFIG command is prohibited (e.g. AWS ElastiCache) (default true)
  -events
    	Publish events data.
  -hostname string
    	Hostname or IP where Redis server is running. (default "localhost")
  -inventory
    	Publish inventory data.
  -keys value
    	List of the keys for retrieving their lengths
  -keys_limit int
    	Max number of the keys to retrieve their lengths (default 30)
  -metadata
    	Add customer defined key-value attributes to the samples.
  -metrics
    	Publish metrics data.
  -nri_add_hostname
    	Add hostname attribute to the samples.
  -nri_cluster string
    	Optional. Cluster name
  -nri_service string
    	Optional. Service name
  -password string
    	Password to use when connecting to the Redis server.
  -port int
    	Port on which Redis server is listening. (default 6379)
  -pretty
    	Print pretty formatted JSON.
  -remote_monitoring
    	Allows to monitor multiple instances as 'remote' entity. Set to 'FALSE' value for backwards compatibility otherwise set to 'TRUE'
  -renamed_commands value
    	Map of default redis commands to their renamed form, if rename-command config has been used in the redis server.
  -show_version
    	Print build information and exit
  -temp_dir string
    	Optional. Integrations path to store temporal data (defaults to os.tempDir if left empty).
  -tls_insecure_skip_verify
    	Disable server name verification when connecting over TLS
  -unix_socket_path string
    	Unix socket path on which Redis server is listening.
  -use_tls
    	Use TLS when communicating with the Redis server.
  -use_unix_socket
    	Adds the UnixSocketPath value to the entity. If you are monitoring more than one Redis instance on the same host using Unix sockets, then you should set it to true.
  -username string
    	Username to use when connecting to the Redis server.
  -verbose
    	Print more information to logs.
Options (25)
OptionDescriptionSource
-cache_ttl durationOptional.help
-config_inventoryProvides CONFIG inventory information.help
-eventsPublish events data.help
-hostname stringHostname or IP where Redis server is running.help
-inventoryPublish inventory data.help
-keys valueList of the keys for retrieving their lengthshelp
-keys_limit intMax number of the keys to retrieve their lengths (default 30)help
-metadataAdd customer defined key-value attributes to the samples.help
-metricsPublish metrics data.help
-nri_add_hostnameAdd hostname attribute to the samples.help
-nri_cluster stringOptional.help
-nri_service stringOptional.help
-password stringPassword to use when connecting to the Redis server.help
-port intPort on which Redis server is listening.help
-prettyPrint pretty formatted JSON.help
-remote_monitoringAllows to monitor multiple instances as 'remote' entity.help
-renamed_commands valueMap of default redis commands to their renamed form, if rename-command config has been used in the redis server.help
-show_versionPrint build information and exithelp
-temp_dir stringOptional.help
-tls_insecure_skip_verifyDisable server name verification when connecting over TLShelp
-unix_socket_path stringUnix socket path on which Redis server is listening.help
-use_tlsUse TLS when communicating with the Redis server.help
-use_unix_socketAdds the UnixSocketPath value to the entity.help
-username stringUsername to use when connecting to the Redis server.help
-verbosePrint more information to logs.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.