title: Icinga2 notifications does not execute notification command
body: <p>I'm trying to configure icinga2 notification. I restart icinga2 and no error occurs. But my notification command does not execute. I defined user, template and applied notification to host, notification command for notification (as below) and turned on notification feature, i don't know why my script did not run. Anyone in forum used to configure icinga2 notification can give me full steps to configure icinga notification.</p>
  
  <p>Notification Command</p>
  
  <pre><code>object NotificationCommand "test-notification" {
      import "plugin-notification-command"
      command = [ "/etc/icinga2/scripts/test.sh" ]}
  </code></pre>
  
  <p>Notification template</p>
  
  <pre><code>template Notification "generic-notification" {
      command = "test-notification"
      period = "test-24x7"
      user_groups = [ "icinga" ]}
  </code></pre>
  
  <p>User</p>
  
  <pre><code>object User "icinga" {
      import "generic-user"
      display_name = "Icinga 2 Admin"
      enable_notifications = true
      email = "icinga@localhost"}
  </code></pre>
  
  <p>Notification</p>
  
  <pre><code>apply Notification "test-notification" to Host {
      import "generic-notification"
      users = [ "icinga" ]
      assign where host.display_name}
  </code></pre>