Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2017 01:55:24 +0200
From:      Ruben <mail@rubenvos.com>
To:        freebsd-pkg@freebsd.org
Subject:   net-mgmt/nrpe-ssl : installing on an icinga2 host results in conflict
Message-ID:  <2b0992e2-cf3a-25d6-29b5-99fc5d1f3885@rubenvos.com>

next in thread | raw e-mail | index | archive | help
Hi,


I'm running an icinga2 installation on a 11.1 system, it works well.


Trying to install the check_nrpe binary (so the icinga installation can
query nrpe checks defined on "clients") using pkg turns out to be a
little troublesome though. When I try to install the nrpe-ssl package,
pkg complains that there is a conflict between nrpe-ssl dependency
'nagios-plugins' and the installed package 'monitoring-plugins' :


  - monitoring-plugins-2.2_2 conflicts with nagios-plugins-2.2.1_4,1 on
/usr/local/libexec/nagios/check_apt


the suggested solution of removing the icinga server package is
unacceptable in my situation. Since net-mgmt/icinga2 explicitly lists
monitoring-plugins as a requirement, it seems a little strange as well.


Does somebody have any advice? Am I trying to install the wrong package?
Or should I perhaps file a bug report?


Any feedback appreciated :)


Kind regards,


Ruben


[root@icinga:~]# pkg info | grep -iE "nagios|icinga|plugin|monitoring"
icinga2-2.6.3_1                Monitoring and management system for
hosts, services and networks
monitoring-plugins-2.2_2       Monitoring Plugins for Nagios
[root@icinga:~]# pkg install nrpe-ssl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (1 conflicting)
  - nagios-plugins-2.2.1_4,1 conflicts with monitoring-plugins-2.2_2 on
/usr/local/libexec/nagios/check_apt
Checking integrity... done (0 conflicting)
The following 4 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
    icinga2-2.6.3_1
    monitoring-plugins-2.2_2

New packages to be INSTALLED:
    nrpe-ssl: 2.15_6
    nagios-plugins: 2.2.1_4,1

Number of packages to be removed: 2
Number of packages to be installed: 2

The operation will free 16 MiB.

Proceed with this action? [y/N]: n
[root@icinga:~]# cat /usr/local/etc/pkg.conf | grep -v ^# | grep -v ^$
ALIAS              : {
  all-depends: query %dn-%dv,
  annotations: info -A,
  build-depends: info -qd,
  cinfo: info -Cx,
  comment: query -i "%c",
  csearch: search -Cx,
  desc: query -i "%e",
  download: fetch,
  iinfo: info -ix,
  isearch: search -ix,
  prime-list: "query -e '%a = 0' '%n'",
  prime-origins: "query -e '%a = 0' '%o'",
  leaf: "query -e '%#r == 0' '%n-%v'",
  list: info -ql,
  noauto = "query -e '%a == 0' '%n-%v'",
  options: query -i "%n - %Ok: %Ov",
  origin: info -qo,
  provided-depends: info -qb,
  raw: info -R,
  required-depends: info -qr,
  roptions: rquery -i "%n - %Ok: %Ov",
  shared-depends: info -qB,
  show: info -f -k,
  size: info -sq,
  }
[root@icinga:~]#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2b0992e2-cf3a-25d6-29b5-99fc5d1f3885>