[icinga-users] icinga-users Digest, Vol 23, Issue 2

Christian Moreno Moreno christian.moreno at idealo.de
Mon Nov 2 16:10:24 CET 2015


Hi Henti,

Many thanks for your Email. I will test it, it would be perfect!

Regards,
Christian

Am Montag, 2. November 2015 schrieb :

> Send icinga-users mailing list submissions to
>         icinga-users at lists.icinga.org <javascript:;>
>
> 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-request at lists.icinga.org <javascript:;>
>
> You can reach the person managing the list at
>         icinga-users-owner at lists.icinga.org <javascript:;>
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of icinga-users digest..."
>
>
> Today's Topics:
>
>    1. Postgresql & Notifications (Christian Moreno Moreno)
>    2. Icinga2 cluster connection fails and does not     reconnect
>       (Per von Zweigbergk)
>    3. Re: Postgresql & Notifications (Henti Smith)
>    4. Remote commands not working between master and    client.
>       (Henti Smith)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 2 Nov 2015 10:01:10 +0100
> From: Christian Moreno Moreno <christian.moreno at idealo.de <javascript:;>>
> To: icinga-users at lists.icinga.org <javascript:;>
> Subject: [icinga-users] Postgresql & Notifications
> Message-ID:
>         <CAHCD4S9eLNu2pF=
> m5vRuRnaNuu0t9he_aONWeLNtLFuGaZw74w at mail.gmail.com <javascript:;>>
> Content-Type: text/plain; charset="utf-8"
>
> Hi!
>
> We have configured Icinga2 with the IdoPgsql:
>
> 1- Master Zone ( 2 Icinga Nodes)
> 2- Satelliten Zones (every with 2 Nodes, so one total of 4 Nodes)
>
> What would happens if the DB is Down? Can Icinga continue with the
> notifications and the checks? or Icinga wouldnt do any notification more?
>
> In case that the DB must be UP for the notifications... what do you
> suggest? Use PgPool for the HA of Postgresql? Maybe one extra
> satellite/icinga for check the DB?
>
> Regards,
> Christian
>
> Christian Moreno Moreno
> System Engineer Offers
>
> idealo internet GmbHRitterstra?e 11
> 10969 Berlin, DeutschlandTel.: +49 (0)30 40 30 10 33Fax: +49 (0)30 221 94
> 33
> - 21E-Mail: christian.moreno at idealo.deGesch?ftsf?hrer:Dr. Albrecht von
> Sonntag, Dr. Philipp-Christopher PeitschHRB 76749 ? Amtsgericht
> Berlin-Charlottenburg[image: idealo Logo] <http://www.idealo.de/>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.icinga.org/pipermail/icinga-users/attachments/20151102/e7bce697/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Mon, 2 Nov 2015 09:29:05 +0000
> From: Per von Zweigbergk <pvz at itassistans.se <javascript:;>>
> To: Icinga User's Corner <icinga-users at lists.icinga.org <javascript:;>>
> Subject: [icinga-users] Icinga2 cluster connection fails and does not
>         reconnect
> Message-ID:
>         <
> VI1PR02MB10886AC572D8DD9FE1F19A77D02C0 at VI1PR02MB1088.eurprd02.prod.outlook.com
> <javascript:;>>
>
> Content-Type: text/plain; charset="utf-8"
>
> I?m having an odd issue with one particular server at one of our
> customers. We have Icinga2 set up in the "command execution bridge"
> scenario, where no hosts and services are configured out on the satellites,
> instead hosts and services are configured only on the central "master"
> node, that uses command_endpoint to execute the remote checks.
>
> The satellite icinga2 instances are predominantly Windows Server 2008 R2,
> just like this one, and they all work fine (including other machines on the
> same site!), except this one, where the cluster connection just fails and
> then just doesn't re-establish. The master instance is running Ubuntu Linux
> 14.04.
>
> The infuriating thing is that there's *nothing* useful in the log files to
> go on. Looking on the server side, everything works, until it just doesn't,
> with no intervening errors. I see successful checks, being sent and results
> received. I also see events like this every 10 seconds, then suddenly they
> just stop coming:
>
> [2015-11-02 09:22:48 +0100] notice/ApiClient: Received 'event::Heartbeat'
> message from 'srv03.example.com'
>
> And then after a bit over a minute:
>
> [2015-11-02 09:23:59 +0100] information/ApiClient: No messages for
> identity 'srv03.example.com' have been received in the last 60 seconds.
>
> The log files on the satellite side are equally unhelpful. All I can see
> is:
>
> [2015-11-02 09:23:50 V?steuropa, normaltid] information/ApiClient: No
> messages for identity 'icinga.example.com' have been received in the last
> 60 seconds.
> [2015-11-02 09:23:50 V?steuropa, normaltid] warning/ApiClient: API client
> disconnected for identity 'icinga.example.com'
> [2015-11-02 09:23:50 V?steuropa, normaltid] warning/ApiListener: Removing
> API client for endpoint 'icinga.example.com'. 0 API clients left.
> [2015-11-02 09:23:55 V?steuropa, normaltid] information/ApiClient:
> Reconnecting to API endpoint 'icinga.example.com' via host '192.0.2.237'
> and port '5665'
>
> It then never appears to actually manage to reconnect, and no failures or
> retries are logged.
>
> The failure occurs intermittently, once as little as 10 minutes after
> restarting, other times it can be hours...
>
> I'm running Icinga 2.3.11 on both the satellite and master.
>
> Any insight into this problem (that right now appears like a black box to
> me), or at least ideas of what I can look at would be appreciated.
>
> --
> Per von Zweigbergk
> IT-assistans Sverige AB
>
> ------------------------------
>
> Message: 3
> Date: Mon, 2 Nov 2015 11:39:46 +0200
> From: Henti Smith <henti at geekware.co.za <javascript:;>>
> To: "Icinga User's Corner" <icinga-users at lists.icinga.org <javascript:;>>
> Subject: Re: [icinga-users] Postgresql & Notifications
> Message-ID:
>         <
> CAC_HdUohwX_isH_ewnd8RyxxezHB8zgn8kUqw_D6oKcQREeNcw at mail.gmail.com
> <javascript:;>>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Christian,
>
> My understanding is the functionality will continue. the DB is used to IDO
> interactions which allows other application to use the icinga data, such as
> the icinga websites.
>
> Regards
>
> On Mon, Nov 2, 2015 at 11:01 AM, Christian Moreno Moreno <
> christian.moreno at idealo.de <javascript:;>> wrote:
>
> > Hi!
> >
> > We have configured Icinga2 with the IdoPgsql:
> >
> > 1- Master Zone ( 2 Icinga Nodes)
> > 2- Satelliten Zones (every with 2 Nodes, so one total of 4 Nodes)
> >
> > What would happens if the DB is Down? Can Icinga continue with the
> > notifications and the checks? or Icinga wouldnt do any notification more?
> >
> > In case that the DB must be UP for the notifications... what do you
> > suggest? Use PgPool for the HA of Postgresql? Maybe one extra
> > satellite/icinga for check the DB?
> >
> > Regards,
> > Christian
> >
> > Christian Moreno Moreno
> > System Engineer Offers
> >
> > idealo internet GmbHRitterstra?e 11
> > 10969 Berlin, DeutschlandTel.: +49 (0)30 40 30 10 33Fax: +49 (0)30 221 94
> > 33 - 21E-Mail: christian.moreno at idealo.deGesch?ftsf?hrer:Dr. Albrecht
> von
> > Sonntag, Dr. Philipp-Christopher PeitschHRB 76749 ? Amtsgericht
> > Berlin-Charlottenburg[image: idealo Logo] <http://www.idealo.de/>
> >
> >
> >
> >
> > _______________________________________________
> > icinga-users mailing list
> > icinga-users at lists.icinga.org <javascript:;>
> > https://lists.icinga.org/mailman/listinfo/icinga-users
> >
> >
>
>
> --
> --
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.icinga.org/pipermail/icinga-users/attachments/20151102/e464baa3/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Mon, 2 Nov 2015 12:21:58 +0200
> From: Henti Smith <henti at geekware.co.za <javascript:;>>
> To: "Icinga User's Corner" <icinga-users at lists.icinga.org <javascript:;>>
> Subject: [icinga-users] Remote commands not working between master and
>         client.
> Message-ID:
>         <CAC_HdUphXQhu8q50dAQ=
> BaXDD5nR8cFdEfF+HV4L7mQ8iHn6sw at mail.gmail.com <javascript:;>>
> Content-Type: text/plain; charset="utf-8"
>
> I'm having a very strange problem.
>
> I have a master with some clients connected. We had an outage in the DC,
> but once everything was back up, some hosts were up, but all services were
> pending.
>
> Forcing checks via the web interface had no result, but also no errors.
>
> Checking debug logs shows not indication that remote checks arrived or that
> the checks were run on remote sites.
>
> I don't even know where to start troubleshooting this, so here is the zone
> and API configs.
>
>
> object Endpoint "bfshqprdnaux01.bfs.domain4.local" {
>         host = "bfshqprdnaux01.bfs.domain4.local"
> }
>
> object Zone "master" {
>         endpoints = [ "bfshqprdnaux01.bfs.domain4.local" ]
> }
>
> object Endpoint "bfsisprdndbs03.bfs.domain4.local" {
>         host = "10.14.53.46"
> }
>
> object Zone "bfsisprdndbs03.bfs.domain4.local" {
>         //this is the local node = "bfsisprdndbs03.bfs.domain4.local"
>         endpoints = [ "bfsisprdndbs03.bfs.domain4.local" ]
>         parent = "master"
> }
>
> object ApiListener "api" {
>   cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
>   key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"
>   ca_path = SysconfDir + "/icinga2/pki/ca.crt"
>
>   accept_config = false
>   accept_commands = false
>
>   ticket_salt = TicketSalt
> }
>
> any help would be appreciated.
>
> Regards
> Henti
>
>
>
> --
> --
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.icinga.org/pipermail/icinga-users/attachments/20151102/1863ebdb/attachment.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.icinga.org <javascript:;>
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
> ------------------------------
>
> End of icinga-users Digest, Vol 23, Issue 2
> *******************************************
>


-- 
Christian Moreno Moreno
System Engineer Offers

idealo internet GmbHRitterstraße 11
10969 Berlin, DeutschlandTel.: +49 (0)30 40 30 10 33Fax: +49 (0)30 221 94 33
- 21E-Mail: christian.moreno at idealo.deGeschäftsführer:Dr. Albrecht von
Sonntag, Dr. Philipp-Christopher PeitschHRB 76749 – Amtsgericht
Berlin-Charlottenburg[image: idealo Logo] <http://www.idealo.de/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20151102/0b0b438f/attachment-0001.html>


More information about the icinga-users mailing list