title: How to configure email notifications for specific services only in nagios or icinga?
body: <p>I am getting critical and warning email notifications of all services. I want to get the email notifications only of specific services like Disk Usage, Windows Update.</p>
  
  <p>These are my services:</p>
  
  <p>define service{</p>
  
  <pre><code>    hostgroup                       windows
      use                             generic-service         ; Name of service template to use
      service_description             CPU Load
      check_command                   check_windows_cpu!60,90,95
  </code></pre>
  
  <p>}</p>
  
  <p>define service{</p>
  
  <pre><code>    hostgroup                       windows
      use                             generic-service         ; Name of service template to use
      service_description             Memory Usage
      check_command                   check_windows!MEMUSE
  </code></pre>
  
  <p>}</p>
  
  <p>define service{</p>
  
  <pre><code>    hostgroup                       windows
      use                             generic-service         ; Name of service template to use
      service_description             C: Disk Space
      check_command                   check_windows_disk
  </code></pre>
  
  <p>}</p>
  
  <p>define service{</p>
  
  <pre><code>    hostgroup                       windows
      use                             generic-service         ; Name of service template to use
      service_description             Windows Essential Updates
      check_command                   check_win_essential_updates
  </code></pre>
  
  <p>}
  define service{</p>
  
  <pre><code>    hostgroup                       windows
      use                             generic-service         ; Name of service template to use
      service_description             Windows Updates
      check_command                   check_available_updates
  </code></pre>
  
  <p>}</p>
  
  <p>And my contact.cfg is:</p>
  
  <p>define contact{</p>
  
  <pre><code>    contact_name                    root
      alias                           Root
      service_notification_period     24x7
      host_notification_period        24x7
      service_notification_options    c
      host_notification_options       d,r
      service_notification_commands   notify-service-by-email
      host_notification_commands      notify-host-by-email
      email                           sysadmin@example.com
  </code></pre>
  
  <p>}</p>
  
  <p>Any suggestion to get only critical notification from selected services?</p>
  
  <p>Thanks.</p>