On Mon, 2015-03-30 at 16:49 +0200, Alexander Wirt wrote: > On Mon, 30 Mar 2015, John Leach wrote: > > > Hi all, > > > > I'm setting up icinga2 on an ubuntu trusty server using the icinga ppa > > and I need to use the check_nrpe command. > > > > On Ubuntu (and Debian) that command is provided by the > > nagios-nrpe-plugin package, but that package depends on nagios3 or > > icinga, not icinga2. > > > > So attempting to install that package pulls in nagios3, which isn't what > > I want. And I'm running icinga2, not icinga1 so I don't want to pull in > > the icinga package either (which pulls in icinga-core packages etc). > > > > Any thoughts on how best to fix this? The icinga package is a > > metapackage anyway - could the icinga2 package be updated to "provide" > > icinga? This would prevent installing icinga and icinga2 at the same > > time though. > > > > Or perhaps the ppa could get a newer icinga package that will be happy > > with icinga2 being installed and not force install icinga1? > > > > Or worst case, perhaps include check_nrpe in an icinga2 packaqe > > somewhere (ugly though!). > Thats wrong. This is just a Recommend. Use apt-get --no-install-recommends > nagios-nrpe-plugin >
goodness, you're right. Thanks for the clarification. I've somehow never come across a situation like this before - I've never had to use --no-install-recommends! >From the Debian docs: "The Recommends field should list packages that would be found together with this one in all but unusual installations. " https://www.debian.org/doc/debian-policy/ch-relationships.html Hitting this for the first time in what is a somewhat unusual installation is a testament to how well packagers follow the policies I think :) Thanks again Alex. John. -- https://www.brightbox.com _______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
