net-mgmt/nrpe-ssl : installing on an icinga2 host results in conflict
Ruben
mail at rubenvos.com
Wed Sep 6 00:05:08 UTC 2017
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 at 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 at 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 at 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 at icinga:~]#
More information about the freebsd-pkg
mailing list