{"action":"created","issue":{"url":"https://api.github.com/repos/Icinga/icinga2/issues/4995","repository_url":"https://api.github.com/repos/Icinga/icinga2","labels_url":"https://api.github.com/repos/Icinga/icinga2/issues/4995/labels{/name}","comments_url":"https://api.github.com/repos/Icinga/icinga2/issues/4995/comments","events_url":"https://api.github.com/repos/Icinga/icinga2/issues/4995/events","html_url":"https://github.com/Icinga/icinga2/issues/4995","id":206792440,"number":4995,"title":"times. begin/end ignored in HA cluster setup","user":{"login":"darmagan","id":25243900,"avatar_url":"https://avatars.githubusercontent.com/u/25243900?v=3","gravatar_id":"","url":"https://api.github.com/users/darmagan","html_url":"https://github.com/darmagan","followers_url":"https://api.github.com/users/darmagan/followers","following_url":"https://api.github.com/users/darmagan/following{/other_user}","gists_url":"https://api.github.com/users/darmagan/gists{/gist_id}","starred_url":"https://api.github.com/users/darmagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darmagan/subscriptions","organizations_url":"https://api.github.com/users/darmagan/orgs","repos_url":"https://api.github.com/users/darmagan/repos","events_url":"https://api.github.com/users/darmagan/events{/privacy}","received_events_url":"https://api.github.com/users/darmagan/received_events","type":"User","site_admin":false},"labels":[{"id":54043337,"url":"https://api.github.com/repos/Icinga/icinga2/labels/bug","name":"bug","color":"fc2929","default":true},{"id":520053250,"url":"https://api.github.com/repos/Icinga/icinga2/labels/Cluster","name":"Cluster","color":"01A9DB","default":false},{"id":520072683,"url":"https://api.github.com/repos/Icinga/icinga2/labels/feedback","name":"feedback","color":"fbca04","default":false},{"id":520053739,"url":"https://api.github.com/repos/Icinga/icinga2/labels/Notifications","name":"Notifications","color":"FE642E","default":false}],"state":"open","locked":false,"assignee":{"login":"darmagan","id":25243900,"avatar_url":"https://avatars.githubusercontent.com/u/25243900?v=3","gravatar_id":"","url":"https://api.github.com/users/darmagan","html_url":"https://github.com/darmagan","followers_url":"https://api.github.com/users/darmagan/followers","following_url":"https://api.github.com/users/darmagan/following{/other_user}","gists_url":"https://api.github.com/users/darmagan/gists{/gist_id}","starred_url":"https://api.github.com/users/darmagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darmagan/subscriptions","organizations_url":"https://api.github.com/users/darmagan/orgs","repos_url":"https://api.github.com/users/darmagan/repos","events_url":"https://api.github.com/users/darmagan/events{/privacy}","received_events_url":"https://api.github.com/users/darmagan/received_events","type":"User","site_admin":false},"assignees":[{"login":"darmagan","id":25243900,"avatar_url":"https://avatars.githubusercontent.com/u/25243900?v=3","gravatar_id":"","url":"https://api.github.com/users/darmagan","html_url":"https://github.com/darmagan","followers_url":"https://api.github.com/users/darmagan/followers","following_url":"https://api.github.com/users/darmagan/following{/other_user}","gists_url":"https://api.github.com/users/darmagan/gists{/gist_id}","starred_url":"https://api.github.com/users/darmagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darmagan/subscriptions","organizations_url":"https://api.github.com/users/darmagan/orgs","repos_url":"https://api.github.com/users/darmagan/repos","events_url":"https://api.github.com/users/darmagan/events{/privacy}","received_events_url":"https://api.github.com/users/darmagan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2017-02-10T13:10:51Z","updated_at":"2017-02-15T19:47:55Z","closed_at":null,"body":"Hi,\r\n\r\nin HA Setup, the times {begin & end) in a notification object are ignored(I get the notification as soon as its changing to hard state). See logs. And I should get the notifications in a 60s interval(service), but I just get it one time.\r\n\r\nConfig Master:\r\n\r\nnotifications.conf:\r\n```\r\napply Notification \"mail-icingaadmin\" to Host {\r\n  import \"mail-host-notification\"\r\n\r\n  user_groups = host.vars.notification.mail.groups\r\ntimes = {\r\nbegin = 6m\r\n}\r\n\r\n  assign where host.vars.notification.mail\r\n}\r\n\r\napply Notification \"mail-icingaadmin\" to Service {\r\n  import \"mail-service-notification\"\r\n\r\n  user_groups = host.vars.notification.mail.groups\r\ntimes = {\r\nbegin = 6m\r\n}\r\n  if (match(\"ssh*\", service.name)) {\r\n    interval = 30s\r\n  } else {\r\n    interval = 60s\r\n  }\r\n\r\n  assign where host.vars.notification.mail\r\n}\r\n```\r\n\r\nIcinga2 Logs:\r\n```\r\n[2017-02-08 14:53:17 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.15/s (189/min 941/5min 2674/15min);\r\n[2017-02-08 14:53:32 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.13333/s (188/min 940/5min 2717/15min);\r\n[2017-02-08 14:53:39 +0100] information/ApiListener: New client connection from [127.0.0.1]:37714 (no client certificate)\r\n[2017-02-08 14:53:39 +0100] information/HttpServerConnection: Request: POST /v1/actions/process-check-result (from [127.0.0.1]:37714, user: root)\r\n[2017-02-08 14:53:47 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.16667/s (190/min 945/5min 2772/15min);\r\n[2017-02-08 14:53:53 +0100] information/Notification: Sending reminder 'Problem' notification 'demo-host!mail-icingaadmin for user 'icingaadmin'\r\n[2017-02-08 14:53:53 +0100] information/Notification: Completed sending 'Problem' notification 'demo-host!mail-icingaadmin' for checkable 'demo-host' and user 'icingaadmin'.\r\n[2017-02-08 14:54:02 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.21667/s (193/min 947/5min 2820/15min);\r\n[2017-02-08 14:54:17 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.21667/s (193/min 945/5min 2867/15min);\r\n[2017-02-08 14:54:32 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.21667/s (193/min 936/5min 2910/15min);\r\n[2017-02-08 14:54:36 +0100] information/ApiListener: New client connection from [127.0.0.1]:37718 (no client certificate)\r\n[2017-02-08 14:54:36 +0100] information/HttpServerConnection: Request: POST /v1/actions/process-check-result (from [127.0.0.1]:37718, user: root)\r\n[2017-02-08 14:54:47 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.2/s (192/min 948/5min 2964/15min);\r\n[2017-02-08 14:55:02 +0100] information/ConfigObject: Dumping program state to file '/var/lib/icinga2/icinga2.state'\r\n[2017-02-08 14:55:02 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.16667/s (190/min 940/5min 2978/15min);\r\n[2017-02-08 14:55:17 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.16667/s (190/min 947/5min 2986/15min);\r\n[2017-02-08 14:55:32 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.16667/s (190/min 950/5min 2991/15min);\r\n[2017-02-08 14:55:47 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.11667/s (187/min 948/5min 2996/15min);\r\n[2017-02-08 14:56:02 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.15/s (189/min 950/5min 2993/15min);\r\n[2017-02-08 14:56:17 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.16667/s (190/min 950/5min 2967/15min);\r\n[2017-02-08 14:56:32 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.15/s (189/min 949/5min 2971/15min);\r\n[2017-02-08 14:56:47 +0100] information/IdoMysqlConnection: Query queue items: 0, query rate: 3.16667/s (190/min 948/5min 2977/15min);\r\n```\r\n\r\n/var/mail/icinga:\r\n```\r\n***** Icinga  *****\r\n\r\nNotification Type: PROBLEM\r\n\r\nService: random-002\r\nHost: demo-host\r\nAddress: 127.0.0.1\r\nState: WARNING\r\n\r\nDate/Time: 2017-02-08 14:46:08 +0100\r\n\r\nAdditional Info: Hello from icinga2b\r\n\r\nComment: [] =\r\n\r\nFrom icinga@icinga2a.localdomain  Wed Feb  8 14:47:08 2017\r\nReturn-Path: <icinga@icinga2a.localdomain>\r\nX-Original-To: icinga@localhost\r\nDelivered-To: icinga@localhost.localdomain\r\nReceived: by icinga2a.localdomain (Postfix, from userid 997)\r\n\tid 41D36802EC72; Wed,  8 Feb 2017 14:47:08 +0100 (CET)\r\nDate: Wed, 08 Feb 2017 14:47:08 +0100\r\nTo: icinga@localhost.localdomain\r\nSubject: PROBLEM - demo-host - random-002 is WARNING\r\nUser-Agent: Heirloom mailx 12.5 7/5/10\r\nMIME-Version: 1.0\r\nContent-Type: text/plain; charset=us-ascii\r\nContent-Transfer-Encoding: quoted-printable\r\nMessage-Id: <20170208134708.41D36802EC72@icinga2a.localdomain>\r\nFrom: icinga@icinga2a.localdomain (icinga)\r\n\r\n***** Icinga  *****\r\n\r\nNotification Type: PROBLEM\r\n\r\nService: random-002\r\nHost: demo-host\r\nAddress: 127.0.0.1\r\nState: WARNING\r\n\r\nDate/Time: 2017-02-08 14:47:08 +0100\r\n\r\nAdditional Info: Hello from icinga2b\r\n\r\nComment: [] =\r\n\r\nFrom icinga@icinga2a.localdomain  Wed Feb  8 14:47:08 2017\r\nReturn-Path: <icinga@icinga2a.localdomain>\r\nX-Original-To: icinga@localhost\r\nDelivered-To: icinga@localhost.localdomain\r\nReceived: by icinga2a.localdomain (Postfix, from userid 997)\r\n\tid 45B0C81F7ABB; Wed,  8 Feb 2017 14:47:08 +0100 (CET)\r\nDate: Wed, 08 Feb 2017 14:47:08 +0100\r\nTo: icinga@localhost.localdomain\r\nSubject: PROBLEM - demo-host - dns icinga.org is CRITICAL\r\nUser-Agent: Heirloom mailx 12.5 7/5/10\r\nMIME-Version: 1.0\r\nContent-Type: text/plain; charset=us-ascii\r\nContent-Transfer-Encoding: quoted-printable\r\nMessage-Id: <20170208134708.45B0C81F7ABB@icinga2a.localdomain>\r\nFrom: icinga@icinga2a.localdomain (icinga)\r\n\r\n***** Icinga  *****\r\n\r\nNotification Type: PROBLEM\r\n\r\nService: dns icinga.org\r\nHost: demo-host\r\nAddress: 127.0.0.1\r\nState: CRITICAL\r\n\r\nDate/Time: 2017-02-08 14:47:08 +0100\r\n\r\nAdditional Info: DNS CRITICAL - expected '185.11.254.83; 127.0.0.1' but=\r\n got '185.11.254.90'\r\n\r\nComment: [] =\r\n\r\nFrom icinga@icinga2a.localdomain  Wed Feb  8 14:53:53 2017\r\nReturn-Path: <icinga@icinga2a.localdomain>\r\nX-Original-To: icinga@localhost\r\nDelivered-To: icinga@localhost.localdomain\r\nReceived: by icinga2a.localdomain (Postfix, from userid 997)\r\n\tid 9D01681F7ABB; Wed,  8 Feb 2017 14:53:53 +0100 (CET)\r\nDate: Wed, 08 Feb 2017 14:53:53 +0100\r\nTo: icinga@localhost.localdomain\r\nSubject: PROBLEM - demo-host is DOWN\r\nUser-Agent: Heirloom mailx 12.5 7/5/10\r\nMIME-Version: 1.0\r\nContent-Type: text/plain; charset=us-ascii\r\nContent-Transfer-Encoding: quoted-printable\r\nMessage-Id: <20170208135353.9D01681F7ABB@icinga2a.localdomain>\r\nFrom: icinga@icinga2a.localdomain (icinga)\r\n\r\n***** Icinga  *****\r\n\r\nNotification Type: PROBLEM\r\n\r\nHost: demo-host\r\nAddress: 127.0.0.1\r\nState: DOWN\r\n\r\nDate/Time: 2017-02-08 14:53:53 +0100\r\n\r\nAdditional Info: trtgrt\r\n\r\nComment: [] =\r\n```\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/Icinga/icinga2/issues/comments/280118410","html_url":"https://github.com/Icinga/icinga2/issues/4995#issuecomment-280118410","issue_url":"https://api.github.com/repos/Icinga/icinga2/issues/4995","id":280118410,"user":{"login":"dnsmichi","id":382049,"avatar_url":"https://avatars.githubusercontent.com/u/382049?v=3","gravatar_id":"","url":"https://api.github.com/users/dnsmichi","html_url":"https://github.com/dnsmichi","followers_url":"https://api.github.com/users/dnsmichi/followers","following_url":"https://api.github.com/users/dnsmichi/following{/other_user}","gists_url":"https://api.github.com/users/dnsmichi/gists{/gist_id}","starred_url":"https://api.github.com/users/dnsmichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnsmichi/subscriptions","organizations_url":"https://api.github.com/users/dnsmichi/orgs","repos_url":"https://api.github.com/users/dnsmichi/repos","events_url":"https://api.github.com/users/dnsmichi/events{/privacy}","received_events_url":"https://api.github.com/users/dnsmichi/received_events","type":"User","site_admin":false},"created_at":"2017-02-15T19:47:55Z","updated_at":"2017-02-15T19:47:55Z","body":"Please use code blocks for better formatting (3 backticks each).\r\n\r\nCan you please summarize what your tests now mean for the reported problem?"}}
{"actor":{"display_login":"dnsmichi"}}