Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1838364

Summary: [RFE] Add support for "Metrics and Header" parameters in puppet-collectd for the write_http plugin
Product: Red Hat OpenStack Reporter: ldenny
Component: puppet-collectdAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 13.0 (Queens)CC: aenrique, ealcaniz, jbadiapa, jjoyce, jschluet, mgarciac, mmagr, mrunge, rmccabe, sasun, slinaber, tvignaud
Target Milestone: asyncKeywords: FutureFeature, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-collectd-10.1.0-4.el7ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1851316 (view as bug list) Environment:
Last Closed: 2020-08-12 08:52:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1851316, 1851317    

Description ldenny 2020-05-21 02:11:05 UTC
Description of problem:
Looking at the code here: https://github.com/voxpupuli/puppet-collectd/blob/edaa14dcc02ee0116a93787961ab5a1435cbe87e/templates/plugin/write_http.conf.epp it seems that the Metrics and Header" parameters are not supported.

Expected results:
To be able to use puppet-collectd and heat templates to configure the write_http config to an OpenStack environment

Comment 5 Martin Magr 2020-06-01 11:56:50 UTC
Patch has been merged upstream.

Comment 6 Lon Hohberger 2020-06-26 10:45:19 UTC
According to our records, this should be resolved by puppet-collectd-10.1.0-3.el7ost.  This build is available now.

Comment 16 Matthias Runge 2020-07-15 10:28:37 UTC
How to test:
add the following to a template:

   18    parameter_defaults:
   19     ¦  CollectdExtraPlugins:
   20     ¦   ¦  - write_http
   21     ¦  ExtraConfig:
   22     ¦   ¦  collectd::plugin::write_http::nodes:                           
   23     ¦   ¦   ¦  collectd:                                                  
   24     ¦   ¦   ¦   ¦  url: collectd1.tld.org                                 
   25     ¦   ¦   ¦   ¦  metrics: true                                          
   26     ¦   ¦   ¦   ¦  header: foobar

Comment 18 errata-xmlrpc 2020-08-12 08:52:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 13.0 director Bug Fix Advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3429