New Relic Flex Integration

Location of Flex integrations

/etc/newrelic-infra/integrations.d

Run Flex integrations manually

var/db/newrelic-infra/newrelic-integrations/bin/nri-flex -config_path /etc/newrelic-infra/integrations.d/chrony-leap-status.yml -pretty

Chrony Leap status integration

integrations:
  - name: nri-flex
    interval: 30s
    config:
      name: ChronyLeapStatusIntegration
      apis:
        - event_type: LeapStatusSample
          commands:
            - run: chronyc tracking | grep Leap | awk '{print $4}'
              split: horizontal
              split_by: \s+
              row_start: 1
              set_header: [LeapStatus]

Resources:

Last updated