Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to be able to check just a few things on a remote host from within nagios - cpu, memory etc, so, I am looking to install NRPE on the machine.

NRPE wants to install Samba along with many other services, which I completely understand.

Is there a way to just install a subset of NRPE commands so I don't need to install all the related packages?

share|improve this question
up vote 5 down vote accepted

Try installing nagios-plugins-basic and nagios-nrpe-server. Make sure apt is configured to install only dependencies and not recommended or suggested packages.

share|improve this answer

you could try this:

aptitude install -vv --show-deps --without-recommends nagios-nrpe-server

it will show you the package dependencies but wont install them.

share|improve this answer

This would depend on how Ubuntu packages the NRPE components. If it's one big package, and it declares things like Samba as required dependencies, you're out of luck unless you roll your own package (which is not terribly hard - you could unpack the one Ubuntu provides and remove the components/dependency declarations you don't need...)

Ubuntu provides a fairly decent guide on creating packages which should help if you choose to go that route.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.