I'm trying to build an updated monitoring server, using the current version of the Chef nagios cookbook (3.1). It installs nagios-3.4.3 from source on my Ubuntu VM.
But I don't find any evidence of the check_nrpe command on the server, so all of my remote checks fail with "(Return code of 127 is out of bounds - plugin may be missing)".
I don't find anything in the recipe documentation or the source code for the cookbook that would include the check_nrpe plugin.
Anyone have a tip for me?
The source install for nagios does not install the nrpe plugin.
I've written an update to do the source install, and I'll submit a patch to the cookbook.
Hmm, I guess the cookbook has changed since last I looked. You can't use the
nagios::client_package
recipe? You probably will need to change theinstall_method
attribute, as thenagios::client
includes either package or source install recipes. Here's the relevant line fromnagios::client
:where the
client_package
recipe just does this:which will install the
nagios-nrpe-server
Ubuntu package as well as the standard plugins.