首页 > 解决方案 > 使用nagios核心的升级过程?

问题描述

我想问我是否要使用 Nagios 核心的升级过程

我有这样的cfg文件

define service {
      host_name                       Test
      service_description             Check SSH
      check_command                   check_ssh
      max_check_attempts              2
      check_interval                  2
      retry_interval                  2
      check_period                    24x7
      check_freshness                 1
      notification_interval           20
      notification_period             24x7
      notifications_enabled           1
      register                        1
      notification_options            w,u,c,r,f,s
      contact_groups                  Test
}

define serviceescalation{
    host_name                       Test
    service_description             Check SSH
    first_notification              3
    last_notification               5
    notification_interval           20
    contact_groups                  Test
    }

我的问题是,如果我错了,任何人都可以纠正我,也就是说每 20 分钟我会收到一次通知?我无法理解定义服务升级中的数字 3 和 5?

另一个问题,如果在 5 次通知之后我希望将问题报告给运营团队,例如,该怎么办?我怎么能配置这个?

最后一个问题,为什么当我使用升级收到电子邮件时,我是从电子邮件中收到的

nagios@nagios

标签: nagios

解决方案


推荐阅读