nagios监控配置详解一联系人-创新互联

###############################################################################
# contacts.cfg
###############################################################################

在秀洲等地区,都构建了全面的区域性战略布局,加强发展的系统性、市场前瞻性、产品创新能力,以专注、极致的服务理念,为客户提供网站设计、成都网站设计 网站设计制作按需设计网站,公司网站建设,企业网站建设,成都品牌网站建设,营销型网站,成都外贸网站建设公司,秀洲网站建设费用合理。

###############################################################################
###############################################################################
# CONTACTS 定义联系人名称(可以包含多个联系人)
#如果定义多个类型的联系人,添加多个define contact{}即可。针对多级告警
###############################################################################
###############################################################################

# In this simple config file, a single contact will receive all alerts.

define contact{
       contact_name             jiankong //名称
       alias                          jiankong //别名
       service_notification_period    24x7  //服务告警时间段的名称
       host_notification_period       24x7  //主机告警时间段的名称
#w-warning警告,u-unknown未知,c-critical宕机,r-recovery恢复
 service_notification_options   w,u,c,r  //服务告警状态
#d-down宕机,u-unknown未知,r-recovery恢复
       host_notification_options      d,u,r  //主机告警状态
       service_notification_commands  notify-service-by-email  //服务告警执行命令
       host_notification_commands     notify-host-by-email  //主机告警执行命令
       email                          iwo@139.com,test@test.com //联系人,添加多个用逗号隔开
       }

###############################################################################
###############################################################################
#
# CONTACT GROUPS定义联系人权限。默认为系统管理员,也可以添加BOSS。
#
###############################################################################
###############################################################################

# We only have one contact in this simple configuration file, so there is
# no need to create more than one contact group.

define contactgroup{
       contactgroup_name      admins
       alias                  Nagios Administrators
       members                jiankong
       }

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


名称栏目:nagios监控配置详解一联系人-创新互联
URL标题:http://myzitong.com/article/dhdsid.html