Project

General

Profile

Artdaq-ganglia-plugin

Description

This plugin aggregates metric data for 15 seconds, then sends the average value to Ganglia. It uses libgmetric.so, which was created by taking the code for gmetric, removing the hostname-spoofing functionality, and adding function headers instead of a main() function.

This plugin depends on artdaq (of course), and Ganglia (system Ganglia works). It must be rebuilt if the version of Ganglia changes! (You'll see "could not locate library" errors if you don't.)

Usage

Example FhiCL configuration code is provided at $ARTDAQ_GANGLIA_PLUGIN_DIR/fcl/ganglia_metric.fcl:

daq.metrics.ganglia: { # Can be named anything.
                       # If you're using multiple instances of the Ganglia plugin, they must have unique names
  #
  # Metric Plugin Configuration (Common to all ARTDAQ Metric Plugins)
  #
  level: 0 # Integer, verbosity level of metrics that will be recorded by this plugin. 
           # 0 is minimum amount, maximum is implementation-defined.
  metricPluginType: "ganglia" # Must be "ganglia" for the plugin to be loaded
  reporting_interval: 15.0 # Double value, the frequency in seconds that the plugin sends out metrics

  #
  # Ganglia-specific configuration
  #
  configFile: "/etc/ganglia/gmond.conf" # Path to the Ganglia GMonD configuration file. Must have r/w access.
  group: "ARTDAQ" # The name of the metric group that all metrics from this application will be displayed under
  cluster: "" # The name of the Ganglia cluster element that these metrics should be wrapped in
}

Release Notes

  • Release Notes 1.02.20a (14-Aug-2020) [artdaq_utilities v1_05_07; ganglia v3_7_1] -- product_deps change, s100 and e20 added
  • Release Notes 1.02.20 (24-Jul-2020) [artdaq_utilities v1_05_06; ganglia v3_7_1] -- product_deps change, clang-tidy improvements
  • Release Notes 1.02.19 (23-Mar-2020) [artdaq_utilities v1_05_05; ganglia v3_7_1] -- product_deps change
  • Release Notes 1.02.18 (07-Feb-2020) [artdaq_utilities v1_05_04; ganglia v3_7_1] -- product_deps change
  • Release Notes 1.02.17 (21-Nov-2019) [artdaq_utilities v1_05_03; ganglia v3_7_1] -- product_deps change
  • Release Notes 1.02.16 (08-Oct-2019) [artdaq_utilities v1_05_02; ganglia v3_7_1] -- product_deps change, .clang-format update
  • Release Notes 1.02.15 (24-Sep-2019) [artdaq_utilities v1_05_01; ganglia v3_7_1]
  • Release Notes 1.02.14a (25-Jul-2019) [artdaq_utilities v1_05_00; ganglia v3_7_1] -- product_deps change
  • Release Notes 1.02.14 (30-Apr-2019) [artdaq_utilities v1_04_11; ganglia v3_7_1; nodejs v4_5_0 (for build only)] -- product_deps change
  • Release Notes 1.02.13 (06-Mar-2019) [artdaq_utilities v1_04_10; ganglia v3_7_1; nodejs v4_5_0 (for build only)]
  • Release Notes 1.02.12 (01-Feb-2019) [artdaq_utilities v1_04_09; ganglia v3_7_1; nodejs v4_5_0 (for build only)]
  • Release Notes 1.02.11b (27-Sep-2018) [artdaq_utilities v1_04_08; ganglia v3_7_1; nodejs v4_5_0 (for build only)] -- product_deps change
  • Release Notes 1.02.11a (07-June-2018) [artdaq_utilities v1_04_07; ganglia v3_7_1; nodejs v4_5_0 (for build only)] -- product_deps change
  • Release Notes 1.02.11 (07-May-2018) [artdaq_utilities v1_04_06; ganglia v3_7_1; nodejs v4_5_0 (for build only)] -- product_deps change and API update
  • Release Notes 1.02.10 (16-Apr-2018) [artdaq_utilities v1_04_05; ganglia v3_7_1; nodejs v4_5_0 (for build only)]
  • Release Notes 1.02.09 (20-Feb-2018) [artdaq_utilities v1_04_03; ganglia v3_7_1; nodejs v4_5_0 (for build only)] -- product_deps change (artdaq_utilities)
  • Release Notes 1.02.08 (06-Feb-2018) [artdaq_utilities v1_04_02; ganglia v3_7_1; nodejs v4_5_0 (for build only)] -- product_deps change (artdaq_utilities)
  • Release Notes 1.02.07 (26-Jan-2018) [artdaq_utilities v1_04_01; ganglia v3_7_1; nodejs v4_5_0 (for build only)]
  • Release Notes 1.02.05a (4-Aug-2017) [artdaq_utilities a_u_intf_v1 current; ganglia v3_7_1; nodejs v4_5_0 (for build only)] -- product_deps change for s50.
  • Release Notes 1.02.05 (22-May-2017) [artdaq_utilities a_u_intf_v1 current; ganglia v3_7_1; nodejs v4_5_0 (for build only)]
  • artdaq_ganglia_plugin v1_02_03: Added e14 qualifier sets
  • Release Notes 1.02.02 (02-Mar-2017) [artdaq_utilities a_u_intf_v1 current; ganglia v3_7_1; nodejs v4_5_0 (for build only)]
  • artdaq_ganglia_plugin v1.02.01 (10-Feb-2017) [artdaq_utilities current; ganglia v3_1_7, v3_6_0, v3_7_1; nodejs v4_5_0 (for build only)] **Change to artdaq_utilities only
  • Release Notes 1.02.00 (13-Jan-2017) [artdaq_utilities v1_01_00; ganglia v3_1_7, v3_6_0, v3_7_1; nodejs v4_5_0 (for build only)]
  • Release Notes 1.01.03 (08-Nov-2016) [artdaq_utilities v1_00_10; ganglia v3_1_7, v3_6_0, v3_7_1; nodejs v4_5_0 (for build only)]
  • Release Notes 1.01.02 (21-Sep-2016) [artdaq_utilities v1_00_09; ganglia v3_1_7, v3_6_0, v3_7_1]
  • Release Notes 1.01.01 (25-Aug-2016) [artdaq_utilities v1_00_08; ganglia v3_1_7, v3_6_0, v3_7_1]
  • Release Notes 1.01.00 (17-Jun-2016) [artdaq_utilities v1_00_07; ganglia v3_1_7, v3_6_0, v3_7_1]
  • Release Notes 1.0.12 (04-May-2016) [artdaq_utilities v1_00_06; ganglia v3_1_7, v3_6_0, v3_7_1]