alces-software / nagios-base

Installation, Sync scripts and Plugins
1 stars 1 forks source link

Make NRPE configuration consistent for Flight Center infrastructure #12

Open mjtko opened 6 years ago

mjtko commented 6 years ago

Currently the Nagios checks from nagios2 are attempting to pass parameters to the remote NRPE processes on the FC infra machines, but the NRPE configuration on the infra machines is not set up to receive arguments and instead uses hard-coded values.

We should either: (1) remove the arguments from the Nagios machine's configuration, or (2) make the NRPE configuration on the infra machines use the parameters passed to it.

mjtko commented 6 years ago

For option (2) NRPE may need recompilation with support for command arguments:

# The following examples allow user-supplied arguments and can
# only be used if the NRPE daemon was compiled with support for
# command arguments *AND* the dont_blame_nrpe directive in this
# config file is set to '1'.  This poses a potential security risk, so
# make sure you read the SECURITY file before doing this.