Skip to content

NewRelic Infrastructure Agent, custom integration ntp-offset

License

Notifications You must be signed in to change notification settings

netmarkjp/nri-flex-ntp-offset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New Relic Infrastructure Integration Setting

# /etc/newrelic-infra/integrations.d/ntp-offset.yml
integrations:
  - name: nri-flex
    config:
      name: ntpOffset
      apis:
        - name: ntpOffset
          commands:
            - run: /opt/nri-flex-ntp-offset

Graph/Dashboard NRQL Example

SELECT latest(`clock.offset.ms`) FROM ntpOffsetSample FACET fullHostname TIMESERIES

Alert Example

SELECT abs(latest(`clock.offset.ms`)) FROM ntpOffsetSample

Development

[[ -f "$(go env GOPATH)/bin/task" ]] || go install github.com/go-task/task/v3/cmd/task@latest
$(go env GOPATH)/bin/task lint

About

NewRelic Infrastructure Agent, custom integration ntp-offset

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages