OS Manuals

/usr/bin/nri-memcached

New Relic Infrastructure memcached Integration

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

Usage of /usr/bin/nri-memcached:
  -cache_ttl duration
    	Optional. The time the integration considers a temporal stored value as valid (defaults to 6 minutes left empty). (default 6m0s)
  -events
    	Publish events data.
  -host string
    	The memcached host. (default "localhost")
  -inventory
    	Publish inventory data.
  -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
    	The memcached SASL password.
  -port string
    	The memcached port. (default "11211")
  -pretty
    	Print pretty formatted JSON.
  -show_version
    	Print build information and exit
  -temp_dir string
    	Optional. Integrations path to store temporal data (defaults to os.tempDir if left empty).
  -username string
    	The memcached SASL username.
  -verbose
    	Print more information to logs.
Options (16)
OptionDescriptionSource
-cache_ttl durationOptional.help
-eventsPublish events data.help
-host stringThe memcached host.help
-inventoryPublish inventory data.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 stringThe memcached SASL password.help
-port stringThe memcached port.help
-prettyPrint pretty formatted JSON.help
-show_versionPrint build information and exithelp
-temp_dir stringOptional.help
-username stringThe memcached SASL username.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.