remington_young 发表于 2019-1-17 08:19:57

nagios 使用MSN 发报警消息

# less /usr/local/nagios/etc/servers/contacts.cfg  define contact{
  contact_name                  freeke2
  alias                           freeke2
  use                           generic-contact
  service_notification_period   24x7
  host_notification_period      24x7
  service_notification_options    w,u,c,r
  host_notification_options       d,u,r
  service_notification_commands   notify-service-by-msn
  host_notification_commands      notify-host-by-msn
  email                           myfreeke@gmail.com
  pager                           15920094782
  address1                        myfreeke@gmail.com
  address2                        555-555-5555
  }
  添加上面的联系人后,注意在联系人组中也需要添加上该联系人

页: [1]
查看完整版本: nagios 使用MSN 发报警消息