I am running a Debian system which has to stay at Stretch for now and I want to install an icinga2 as client. As it should/has to be the same version as the master I wanted to use stretch-backports. Unfortunately I’m not able to do this as apt exits with an error:
$ apt install icinga2 -t stretch-backports
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
icinga2 : Depends: icinga2-bin (= 2.6.0-2+deb9u1) but it is not going to be installed
Depends: icinga2-common (= 2.6.0-2+deb9u1) but 2.10.3-2~bpo9+1 is to be installed
E: Unable to correct problems, you have held broken packages.
These are my sources:
$ cat /etc/apt/sources.list
deb http://ftp.debian.org/debian stretch main contrib non-free
deb http://ftp.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb http://apt.osmc.tv stretch main
deb http://ftp.debian.org/debian stretch-backports main contrib non-free
I am running a Debian system which has to stay at Stretch for now
Just out of interest, why?
and I want to install an icinga2 as client. As it should/has to be the same
version as the master I wanted to use stretch-backports.
That’ll be far too old - in fact anything in the standard Debian
repositories will be too old.
These are my sources:
$ cat /etc/apt/sources.list
deb http://ftp.debian.org/debian stretch main contrib non-free
deb http://ftp.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb http://apt.osmc.tv stretch main
deb http://ftp.debian.org/debian stretch-backports main contrib
non-free
What am I doing wrong?
You’re not following the Icinga installation instructions
the RasPi is running the OSMC distro to always start into Kodi. Still I want to monitor it, and it’s not OSMC’s priority to upgrade to Buster
Thanks for your quick answer! So I am upgrading to 2.11 with your packages now.
On caveat that I stumbled upon: I am checking my router to filter some DNS responses like “facebook.com.” and answer them with NXDOMAIN. The 2.11 dns check command doesn’t support this anymore. When looking into this I noticed that the service definition and my monitoring-plugins are now out of sync (they are version 2.2-6 on the Buster system):
Check command:
"-n" = {
set_if = "$dns_accept_cname$"
description = "Optionally accept cname responses as a valid result to a query. The default is to ignore cname responses as part of the result"
}
check_dns help:
-n, --expect-nxdomain
Expect the DNS server to return NXDOMAIN (i.e. the domain was not found)
Cannot be used together with -a
Perhaps you should also ship the latest monitoring-plugins etc. you are defining the commands for?
the RasPi is running the OSMC distro to always start
into Kodi. Still I want to monitor it, and it’s not OSMC’s priority to
upgrade to Buster
Ah, okay.
Thanks for your quick answer! So I am upgrading to 2.11 with your
packages now.
Well, they’re not my packages - they’re just the official packages from the
Icinga developers.
I noticed that the service definition and my monitoring-plugins are now out
of sync (they are version 2.2-6 on the Buster system):
Perhaps you should also ship the latest monitoring-plugins etc. you are
defining the commands for?
Note that “you” in that sentence doesn’t refer to me
I am nothing to do with Icinga development - I’m just a user here helping
others become as experienced as I am, and learning from those who are more
experienced
I’ll pick up on the you then, from the “official” Icinga side
I’m forwarding this conversation over to the developers, who also deal with the packaging usually.
Have a nice day!
Feu
Oh well, I just noticed that my master (now running v2.11) looses the connection to the new agent on stretch repeatedly. Now I learned that for raspbian stretch there is only icinga 2.11 available, and obviosly that’s not compatible with the icinga for buster
Is there a chance that 2.11 is made available here, too?
Please could be a little more explicit about exactly which versions you are
running on which machines? Saying “the icinga for buster” doesn’t tell us
which version you’re referring to, for example.
Also, bear in mind that Icinga:
a) supports Master version >= Satellite version >= Agent version
b) but only where the difference at each stage is no greater than 1 release.