Sehr geehrte Damen und Herren,
in der Zeit vom 19.05.2018 bis einschließlich 03.06.2018 befinde ich mich nicht im Büro. Beachten Sie bitte, dass Ihre E-Mail nicht automatisch weitergeleitet wird. In dringenden Fällen wenden Sie sich bitte an unsere Hotline, 0203-378530, oder an Herrn Hesselmann (hesselm...@opm-computer.de). Mit freundlichen Grüßen Ronny Bär OPM IT Service GmbH Send icinga-users mailing list submissions to icinga-users@lists.icinga.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.icinga.org/mailman/listinfo/icinga-users or, via email, send a message with subject or body 'help' to icinga-users-requ...@lists.icinga.org You can reach the person managing the list at icinga-users-ow...@lists.icinga.org When replying, please edit your Subject line so it is more specific than "Re: Contents of icinga-users digest..." Today's Topics: 1. Monitoring HA clusters (Chris Boot) 2. Re: Monitoring HA clusters (Antony Stone) ---------------------------------------------------------------------- Message: 1 Date: Thu, 31 May 2018 21:14:04 +0100 From: Chris Boot <li...@bootc.boo.tc> To: icinga-users@lists.icinga.org Subject: [icinga-users] Monitoring HA clusters Message-ID: <9c24d89d-934d-f27b-7b22-b0d66a8fd...@bootc.boo.tc> Content-Type: text/plain; charset=utf-8 Hi list, In the old days of Nagios and NRPE, monitoring HA clusters was a simple enough hack: declare a host that represents the services provided by the cluster, assign a virtual IP address that floats with the services (which you probably need to have anyway), then have Nagios prod NRPE on the virtual address. Hey presto you're monitoring your services on whichever node happens to be active. With Icinga2 and its zones and endpoints, this doesn't work. Endpoints are very specific hosts with SSL certificates, and they can't just freely float between hosts. Is there some way I can replicate this functionality without resorting to NRPE? Thanks, Chris -- Chris Boot bo...@boo.tc ------------------------------ Message: 2 Date: Thu, 31 May 2018 23:12:06 +0200 From: Antony Stone <antony.st...@icinga.open.source.it> To: "Icinga User's Corner" <icinga-users@lists.icinga.org> Subject: Re: [icinga-users] Monitoring HA clusters Message-ID: <201805312312.06828.antony.st...@icinga.open.source.it> Content-Type: Text/Plain; charset="iso-8859-1" On Thursday 31 May 2018 at 22:14:04, Chris Boot wrote: > Hi list, > > In the old days of Nagios and NRPE, monitoring HA clusters was a simple > enough hack: declare a host that represents the services provided by the > cluster, assign a virtual IP address that floats with the services > (which you probably need to have anyway), then have Nagios prod NRPE on > the virtual address. Hey presto you're monitoring your services on > whichever node happens to be active. > > With Icinga2 and its zones and endpoints, this doesn't work. Endpoints > are very specific hosts with SSL certificates, and they can't just > freely float between hosts. > > Is there some way I can replicate this functionality without resorting > to NRPE? 1. I think you need to be careful to distinguish between *servers*, which you want to monitor quite individually, the *services* running on each server, which you might want to monitor with some dependencies to avoid false alerts in the case of a service not running on a cluster machine in standby mode, and the *cluster service* itself (which you monitor from outside the cluster, and don't care which server is providing the service, so long as it responds). Some clusters have one live machine and one hot standby; some have N servers all running side-by side (distributed / load-balanced rather than master-slave failover) where you want to be notified if fewer than X of the N servers are actually operational; there are many different ways in which a "cluster" might need to be monitored, depending on its architecture. 2. There is a "cluster-zone" Icinga2 check command, which may be what you need (if you can find some sufficiently clear documentation about it; I think this is not easy). 3. The standard documentation for "High-Availability Master with Clients" at https://www.icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring/ may be helpful - consider the clients as the same machines as the masters? 4. If all else fails, it's easy enough to reproduce NRPE functionality using SSH :) https://www.icinga.com/docs/icinga2/latest/doc/07-agent-based-monitoring/ I hope some of the above helps, Antony. -- Numerous psychological studies over the years have demonstrated that the majority of people genuinely believe they are not like the majority of people. Please reply to the list; please *don't* CC me. ------------------------------ Subject: Digest Footer _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users ------------------------------ End of icinga-users Digest, Vol 54, Issue 1 ******************************************* _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users