newrelic / nri-nagios

New Relic Infrastructure Nagios Integration
MIT License
3 stars 13 forks source link

Configurable frequency per check #121

Open barrypitman opened 3 days ago

barrypitman commented 3 days ago

From what I can see in the docs, - nagios-config.yml

integrations:
  - name: nri-nagios
    env:
      CONCURRENCY: "1"
      SERVICE_CHECKS_CONFIG: /etc/newrelic-infra/integrations.d/nagios-service-checks.yml
    interval: 15s

the check interval can only be defined once and is shared between all checks in the nagios-service-checks.yml file. I have some checks that I would like to run more frequently than others. Is there any way that I can:

  1. specify the interval on a per-check basis in the nagios-service-checks.yml file? (first prize)
  2. Split the checks between multiple files, and provide a different interval per file.
workato-integration[bot] commented 3 days ago

https://new-relic.atlassian.net/browse/NR-342344