nisanth074
11/1/2016 - 6:26 AM

New Relic Postfix Plugin Example Configuration

New Relic Postfix Plugin Example Configuration

%YAML 1.2
---
Application:
  license_key: YOUR_NEWRELIC_LICENSE_KEY
  wake_interval: 60
  #newrelic_api_timeout: 10
  #proxy: http://localhost:8080

  postfix: {}

Daemon:
  user: root
  pidfile: /var/run/newrelic/newrelic-plugin-agent.pid

Logging:
  formatters:
    verbose:
      format: '%(levelname) -10s %(asctime)s %(process)-6d %(processName) -15s %(threadName)-10s %(name) -45s %(funcName) -25s L%(lineno)-6d: %(message)s'
  handlers:
    file:
      class : logging.handlers.RotatingFileHandler
      formatter: verbose
      filename: /var/log/newrelic/newrelic-plugin-agent.log
      maxBytes: 10485760
      backupCount: 3
  loggers:
    newrelic_plugin_agent:
      level: INFO
      propagate: True
      handlers: [console, file]
    requests:
      level: ERROR
      propagate: True
      handlers: [console, file]