Skip to content

Graphite importer for the collection from other metric systems

License

Notifications You must be signed in to change notification settings

twollmann/graphite-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphite importer

This repository contains a Graphite importer for Cloudflare and Pingdom metrics.

Requirements

  • Pingdom credentials including username, password and app-key
  • Cloudflare credentials including email address and api-key
  • Graphite server as target for the importer
  • Valid config.yml based on config.yml.sample in the current working directory

Parameters

The following list contains all parameters that need to be set in the carbon section.

Name Description Sample
server Graphite server sample.example.com
port Listen port on the Graphite server 2003

The following list contains all parameters that need to be set in the pingdom section.

Name Description Sample
username Username of your Pingdom account [email protected]
password Password of your Pingdom account mysecretpassword
app_key App-key that you set in the Pingdom backend mysecretappkey

The following list contains all parameters that need to be set on the cloudflare section.

Pingdom checks

The pingdom_check section in the config.yml is an array of dictonaries, where each dictonary represents one Pingdom check. The following list contains all parameters that need to be set for a Pingdom check.

Name Description Sample
name Name of the Cloudflare zone example.com
email E-mail address of your Cloudflare account [email protected]
key Cloudflare API key a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
url URL to Cloudflare analyticts dashboard https://api.cloudflare.com/client/v4/zones/...
Name Description Sample
id Pingdom check id 1234567
name Full path on the Graphite server www.example.com.http
limit The amount of metrics to pull from Pingdom 10

Cloudflare checks

There is no need to specify any checks for the Cloudflare importer. All metrics from the requests-, bandwidth- and threats-section will be gathered. However you can create multiple lists in the cloudflare section if you have more than one zone.

Usage

  1. Clone the GitHub repository and change directory
  2. Copy config.yml.sample to config.yml
  3. Change the Pingdom credentails and Graphtie prameters in config.yml
  4. Configure your Pingdom checks (id, name, limit)
  5. Run pingdom.py or set up a scheduled task

About

Graphite importer for the collection from other metric systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages