Skip to content

sourcestream/ansible-metrics-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metrics-server

Graphite: 0.0.0.0:{{ metris_graphite_port }} Grafana: 0.0.0.0:{{ grafana_http_port }}

Requirements

Role Variables

Dependencies

nsg.graphite Stouts.grafana

Example Playbook

This is a proxy role to provide abstraction layer between the app and it's monitoring server. The app only needs to know it's monitoring host and standalone_checks it wants to execute, the rest is up to the monitoring-client role.

  - role: ../roles/monitoring-client
    tags: monitoring-client
    monitoring_hostname: '127.0.0.1'
    standalone_checks:
       test_check:
        handler   : default
        command   : "/bin/bash -c 'echo Hello World'"
        interval  : 60
        standalone: true
    system_profile: true
    client_settings:
      system_profile:
        interval: 10
        handler: 'relay'

License

MIT

Author Information