[chef] Re: nagios deployment


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: nagios deployment
  • Date: Wed, 20 Nov 2013 13:18:47 -0800


On Wednesday, November 20, 2013 at 1:09 PM, Nikhil Shah wrote:

I've deployed nagios in a few environments; however, im running into a few error messages that I couldn't figure out. I am attempting to build a nagios server and i tried both roles of server and client to install the nagios plugins but both fail at the same section. :



nagios01.theorchard.com ================================================================================

nagios01.theorchard.com 

nagios01.theorchard.com Error executing action `run` on resource 'bash[compile-nagios-plugins]'

nagios01.theorchard.com 

nagios01.theorchard.com ================================================================================

nagios01.theorchard.com 

nagios01.theorchard.com 

nagios01.theorchard.com 

nagios01.theorchard.com 

nagios01.theorchard.com Mixlib::ShellOut::ShellCommandFailed

nagios01.theorchard.com 

nagios01.theorchard.com ------------------------------------

nagios01.theorchard.com 

nagios01.theorchard.com Expected process to exit with [0], but received '2'

nagios01.theorchard.com ---- Begin output of "bash"  "/tmp/chef-script20131120-30738-h8vj6d" ----

nagios01.theorchard.com STDOUT: 

nagios01.theorchard.com STDERR: gzip: stdin: unexpected end of file

nagios01.theorchard.com tar: Child returned status 1

nagios01.theorchard.com tar: Error exit delayed from previous errors

Looks like you’re downloading a tarball, something is wrong with the downloaded file, and then you start getting errors when you attempt to tar -zxf the tarball. You should poke at the tarball file to see what’s wrong with it (a common occurrence is you get a HTML 404 error page instead of the package you expected).

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§