OS Manuals

/usr/bin/nri-apache

New Relic Infrastructure Apache Integration

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

Also provided by 1 other package version
Usage of /usr/bin/nri-apache:
  -binary_path string
    	Set location of the Apache binary
  -ca_bundle_dir string
    	Alternative Certificate Authority bundle directory
  -ca_bundle_file string
    	Alternative Certificate Authority bundle file
  -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.
  -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
  -pretty
    	Print pretty formatted JSON.
  -remote_monitoring
    	Identifies the monitored entity as 'remote'. In doubt: set to true.
  -show_version
    	Print build information and exit
  -status_url string
    	Apache status-server URL. (default "http://127.0.0.1/server-status?auto")
  -temp_dir string
    	Optional. Integrations path to store temporal data (defaults to os.tempDir if left empty).
  -validate_certs
    	If the status URL is HTTPS with a self-signed certificate, set this to false if you want to avoid certificate validation (default true)
  -verbose
    	Print more information to logs.
Options (18)
OptionDescriptionSource
-binary_path stringSet location of the Apache binaryhelp
-ca_bundle_dir stringAlternative Certificate Authority bundle directoryhelp
-ca_bundle_file stringAlternative Certificate Authority bundle filehelp
-cache_ttl durationOptional.help
-eventsPublish events data.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
-prettyPrint pretty formatted JSON.help
-remote_monitoringIdentifies the monitored entity as 'remote'.help
-show_versionPrint build information and exithelp
-status_url stringApache status-server URL.help
-temp_dir stringOptional.help
-validate_certsIf the status URL is HTTPS with a self-signed certificate, set this to false if you want to avoid certificate validation (default true)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.