Execute a notificationCommand with multiple users

Thanks for your reply.

Well, there are some situations that I want to control:

  • Grant to the notificationCommand’s script the control logic to distribute the list of emails per user instead of the Icinga Notification system.
  • Sometimes I want to join all the users address and send them in just one mail. I know that is posible making a notification instance with just one user with multiple addresses. But in that case I’m losing the opportunity to describe each address’ origin and see them from Icingaweb in the host/service’s history.
  • In some other cases I need to perform some actions one time per notification before sending the mail, but in the actual scenario, if a notification instance has 3 users, then those actions will repeat 3 times making incidents difficult to control.