Skip to content

Parse Ganglia metrics and push to InfluxDB and Elasticsearch

Notifications You must be signed in to change notification settings

aashayarora/ganglia-influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Sending Ganglia Metrics to InfluxDB and ElasticSearch

Making the Metrics for the ClassAds

Official documentation can be found here: https://htcondor.readthedocs.io/en/stable/admin-manual/monitoring.html?highlight=ganglia

The Metric must be constructed in this exact way:

  1. For Metrics tagged with 2 tags w/ float/int type values:
    [
    Aggregate = "%";
    Name = "MetricName~tag1~tag2";
    Value = ClassAd_Name;
    Units = "%";
    Desc = "%";
    Requirements = "%";
    TargetType = "%";
    ]

  2. For Metrics tagged with one tag w/ float/int type values:
    [
    Aggregate = "%";
    Name = "MetricName~tag";
    Value = ClassAd_Name;
    Units = "%";
    Desc = "%";
    Requirements = "%";
    TargetType = "%";
    ]

  3. For Metrics tagged with one tag w/ String type values:
    [
    Aggregate = "%";
    Name = "MetricName(+st)Class_Ad~tag";
    Value = 1;
    Units = "%";
    Desc = "%";
    Requirements = "%";
    TargetType = "%";
    ]

  4. For Non Tagged Metrics:
    [
    Aggregate = "%";
    Name = "MetricName";
    Value = ClassAd_Name;
    Units = "%";
    Desc = "%";
    Requirements = "%";
    TargetType = "%";
    ]

Sending Metrics with ElasticSearch:

  1. rabbitmq.json should be templated in the same way and copied to the same directory as metrics-influxdb-condor-gangliad
  2. ElasticSearch can be enabled/disabled by setting sendViaES to False in metrics-influxdb-condor-gangliad

About

Parse Ganglia metrics and push to InfluxDB and Elasticsearch

Resources

Stars

Watchers

Forks

Languages