sensu / sandbox

The place to get started for new Sensu users
MIT License
21 stars 13 forks source link

Error installing plugins #12

Closed apaskulin closed 5 years ago

apaskulin commented 5 years ago

I'm getting the following error when attempting sudo sensu-install -p sensu-plugins-http:

ERROR:  Error installing sensu-plugins-http:
    ERROR: Failed to build gem native extension.

    current directory: /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/unf_ext-0.0.7.5/ext/unf_ext
/opt/sensu/embedded/bin/ruby -r ./siteconf20180914-13678-1q0gzex.rb extconf.rb
checking for -lstdc++... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

@jspaleta

asachs01 commented 5 years ago

@apaskulin @jspaleta so that plugin needs:

`yum groupinstall -y "Development Tools""

Looks like that was in Alex's original script here: https://github.com/sensu/sandbox/blob/v2-wip/sensu-classic/core/sensu-and-influx.sh#L13

jspaleta commented 5 years ago

adding back to provisioning today.