Skip to content

Instantly share code, notes, and snippets.

@shailvipx
Last active August 9, 2017 18:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shailvipx/dc5094d3a853c4cdb2b54cd188f80460 to your computer and use it in GitHub Desktop.
Save shailvipx/dc5094d3a853c4cdb2b54cd188f80460 to your computer and use it in GitHub Desktop.
global:
scrape_interval: 1m
scrape_timeout: 10s
evaluation_interval: 1m
rule_files:
- px.rules
scrape_configs:
- job_name: 'PX'
scrape_interval: 5s
static_configs:
- targets: ['px-node-01-IP:9001','px-node-02-IP:9001','px-node-03-IP:9001']
alerting:
alertmanagers:
- scheme: http
static_configs:
- targets:
- "alert-manager-ip:9093"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment