Nagios defines multiple contacts based on business

Source: Internet
Author: User

Fast off work, the leader sent to demand, need to monitor 3 foreign servers, lost packets sent to the leadership; our existing Nagios is email operations (myself), this nagios image can be done, quickly check the information, and ultimately in the blog before the finished, here as notes recorded.

The following is a definition of 2 groups of contacts.cfg contacts, a set of general services, mail notification operations, the other group of messages to inform the leader;

define contact{        contact_name                     wgzx.dxt                 ; short name  of user#       use                               generic-contact         ; inherit  default values from generic-contact template  (Defined above)          alias                            Nagios  admin        service_notification_period     24x7         host_notification_period        24x7         service_notification_options    w,u,c,r         host_notification_options       u ,d,r        service_notification_commands    notify-service-by-email        host_notification_commands       notify-host-by-email        email                              own Mailbox         }define  contact{        contact_name                     guowai-contact                 ; Short name of user         service_notification_period     24x7         host_notification_period        24x7         service_notification_options    w,u,c,r         host_notification_options       u ,d,r        service_notification_commands    notify-service-by-email        host_notification_commands       notify-host-by-email        email                              Leadership Email         }         define contactgroup{        contactgroup_name        admins        alias                    Nagios  administrators        members                  wgzx.dxt         }define contactgroup{        contactgroup_name        guowai        alias                    guowai         members                  guowai-contact        }



This article is from "become a cyber Security Engineer" blog, please make sure to keep this source http://luyafei.blog.51cto.com/1092421/1735432

Nagios defines multiple contacts based on business

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.