{"action":"created","issue":{"url":"https://api.github.com/repos/Icinga/icinga2/issues/4929","repository_url":"https://api.github.com/repos/Icinga/icinga2","labels_url":"https://api.github.com/repos/Icinga/icinga2/issues/4929/labels{/name}","comments_url":"https://api.github.com/repos/Icinga/icinga2/issues/4929/comments","events_url":"https://api.github.com/repos/Icinga/icinga2/issues/4929/events","html_url":"https://github.com/Icinga/icinga2/issues/4929","id":201468905,"number":4929,"title":"Information/Checkable: Checkable 'hostname' does not have any notifications. E-mail occasionally does not send","user":{"login":"ctaperts","id":6157465,"avatar_url":"https://avatars.githubusercontent.com/u/6157465?v=3","gravatar_id":"","url":"https://api.github.com/users/ctaperts","html_url":"https://github.com/ctaperts","followers_url":"https://api.github.com/users/ctaperts/followers","following_url":"https://api.github.com/users/ctaperts/following{/other_user}","gists_url":"https://api.github.com/users/ctaperts/gists{/gist_id}","starred_url":"https://api.github.com/users/ctaperts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctaperts/subscriptions","organizations_url":"https://api.github.com/users/ctaperts/orgs","repos_url":"https://api.github.com/users/ctaperts/repos","events_url":"https://api.github.com/users/ctaperts/events{/privacy}","received_events_url":"https://api.github.com/users/ctaperts/received_events","type":"User","site_admin":false},"labels":[{"id":520053195,"url":"https://api.github.com/repos/Icinga/icinga2/labels/Configuration","name":"Configuration","color":"ededed","default":false},{"id":520072683,"url":"https://api.github.com/repos/Icinga/icinga2/labels/feedback","name":"feedback","color":"fbca04","default":false},{"id":54043341,"url":"https://api.github.com/repos/Icinga/icinga2/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-01-18T03:17:15Z","updated_at":"2017-01-19T15:46:50Z","closed_at":null,"body":"Hello,\r\n\r\nThank you for looking at this. Icinga2 occasionally does not send e-mails... All hosts are set up exactly the same. Let me know what other info you may need, thank you again!!!\r\n\r\n- Icinga2 Gui shows hosts/services are down\r\n- E-mail notifications are sent (on average) 4 out of 5 hosts\r\n\r\nHere is when an e-mail/notification is sent\r\n```\r\n[2017-01-17 13:02:11 -0500] information/Notification: Sending 'Problem' notification 'hostname!ping4!notify-once for user 'i2-admins'\r\n[2017-01-17 13:02:11 -0500] information/Notification: Completed sending 'Problem' notification 'hostname!ping4!notify-once' for checkable 'hostname!ping4' and user 'i2-admins'\r\n```\r\nand a minute late another email message does not send for another host\r\n```\r\n[2017-01-17 13:03:53 -0500] information/Checkable: Checking for configured notifications for object 'sample_host'\r\n[2017-01-17 13:03:53 -0500] information/Checkable: Checkable 'sample_host' does not have any notifications\r\n```\r\ndebug log shows\r\n\r\n```\r\n[2017-01-17 13:03:53 -0500] notice/Process: PID 6734 ('/usr/lib64/nagios/plugins/check_ping' '-H' '10.10.10.10' '-c' '5,100%' '-w' '4,80%') terminated with exit code 2\r\n[2017-01-17 13:03:53 -0500] debug/DbEvents: add log entry history for 'sample_host'\r\n[2017-01-17 13:03:53 -0500] debug/DbEvents: add checkable check history for 'sample_host'\r\n[2017-01-17 13:03:53 -0500] debug/GraphiteWriter: Add to metric list:'icinga2.sample_host.host.hostalive.perfdata.rta.value 0.198046 1484676233'.\r\n[2017-01-17 13:03:53 -0500] debug/GraphiteWriter: Add to metric list:'icinga2.sample_host.host.hostalive.perfdata.pl.value 0 1484676233'.\r\n[2017-01-17 13:03:53 -0500] debug/DbEvents: add state change history for 'sample_host'\r\n[2017-01-17 13:03:53 -0500] notice/Checkable: State Change: Checkable sample_host hard state change from DOWN to DOWN detected.\r\n[2017-01-17 13:03:53 -0500] information/Checkable: Checking for configured notifications for object 'sample_host'\r\n[2017-01-17 13:03:53 -0500] information/Checkable: Checkable 'sample_host' does not have any notifications.\r\n[2017-01-17 13:03:53 -0500] debug/Checkable: Checkable 'sample_host' has 0 notification(s).\r\n[2017-01-17 13:03:53 -0500] debug/IdoMysqlConnection: Query: UPDATE icinga_hoststatus SET acknowledgement_type = '0',  active_checks_enabled = '1',  check_command = 'hostalive',  check_source = 'icinga2.sample_host',  check_type = '0',  current_check_attempt = '1',  current_notification_number = '0',  current_state = '1',  endpoint_object_id = 199,  event_handler = '',  event_handler_enabled = '1',  execution_time = '4.214931',  flap_detection_enabled = '0',  has_been_checked = '1',  host_object_id = 295,  instance_id = 1,  is_flapping = '0',  is_reachable = '1',  last_check = FROM_UNIXTIME(1484676233),  last_hard_state = '1',  last_hard_state_change = FROM_UNIXTIME(1484676233),  last_state_change = FROM_UNIXTIME(1484676205),  last_time_down = FROM_UNIXTIME(1484676233),  last_time_up = FROM_UNIXTIME(1484676105),  latency = '0.000900',  long_output = '',  max_check_attempts = '3',  next_check = FROM_UNIXTIME(1484676289),  normal_check_interval = '1',  notifications_enabled = '1',  original_attributes = 'null',  output = 'PING CRITICAL - Packet loss = 0%, RTA = 198.05 ms',  passive_checks_enabled = '1',  percent_state_change = '0',  perfdata = 'rta=198.046005ms;4.000000;5.000000;0.000000 pl=0%;80;100;0',  problem_has_been_acknowledged = '0',  process_performance_data = '1',  retry_check_interval = '0.166667',  scheduled_downtime_depth = '0',  should_be_scheduled = '1',  state_type = '1',  status_update_time = FROM_UNIXTIME(1484676233) WHERE host_object_id = 295\r\n[2017-01-17 13:03:53 -0500] debug/IdoMysqlConnection: Query: INSERT INTO icinga_statehistory (check_source, current_check_attempt, endpoint_object_id, instance_id, last_hard_state, last_state, long_output, max_check_attempts, object_id, output, state, state_change, state_time, state_time_usec, state_type) VALUES ('icinga2.sample_host', '1', 199, 1, '1', '1', '', '3', 295, 'PING CRITICAL - Packet loss = 0%, RTA = 198.05 ms', '1', '1', FROM_UNIXTIME(1484676233), '6458', '1')\r\n[2017-01-17 13:03:53 -0500] debug/IdoMysqlConnection: Query: COMMIT\r\n[2017-01-17 13:03:53 -0500] debug/IdoMysqlConnection: Query: BEGIN\r\n```"},"comment":{"url":"https://api.github.com/repos/Icinga/icinga2/issues/comments/273811506","html_url":"https://github.com/Icinga/icinga2/issues/4929#issuecomment-273811506","issue_url":"https://api.github.com/repos/Icinga/icinga2/issues/4929","id":273811506,"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-01-19T15:46:50Z","updated_at":"2017-01-19T15:46:50Z","body":"Your initial post only showed host objects not being notified, and that probably is because of the fact that there are no notification objects available for the host, only its services.\r\n\r\nNow you're jumping to service notifications ... can we see the logs for those?"}}
{"actor":{"display_login":"dnsmichi"}}