首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Nagios通知间隔和第一次通知延迟

Nagios通知间隔和第一次通知延迟
EN

Server Fault用户
提问于 2015-11-09 09:34:10
回答 1查看 9K关注 0票数 3

过去,我在Nagios中使用了这两个参数( first_notification_delay,notification_interval ),直到现在对我来说都是完美的。现在我已经添加了使用nrpe命令的新检查。上述两个参数不受影响。我每隔十分钟就会收到一封邮件。

我必须更改主机nsclinet.cfg文件上的任何内容吗?

我正在使用的服务定义是

代码语言:javascript
运行
复制
    define service {
    use                           generic-win-logfile
    host_name                     RuleS_TI_E405,RuleS_TI_E464
    service_description           check_logfilesSmsDispatcher_Process
    check_command                 check_nrpe!check_logfilesSmsDispatcher_Process
    }

它从以下服务模板继承:

代码语言:javascript
运行
复制
define service{  
  name                          generic-win-logfile  
  active_checks_enabled         1  
  passive_checks_enabled        0  
  parallelize_check             1  
  obsess_over_service           1  
  check_freshness               0  
  notifications_enabled         1  
  event_handler_enabled         1  
  process_perf_data             0  
  retain_status_information     1  
  retain_nonstatus_information  1  
  is_volatile                   1  
  check_period                  24x7  
  max_check_attempts            3  
  normal_check_interval         10               ; check every 5 minutes  
  retry_check_interval          2  
  contact_groups                admins  
  notification_options          u,c           ; notify unknown, warn,   >recovery  
  first_notification_delay      36  
  notification_interval         180               ; ignored for volatile   >services  
  notification_period           24x7  
  register                      0  

}
EN

回答 1

Server Fault用户

发布于 2015-12-28 19:31:02

如果'is_volatile‘等于'1’,则忽略通知间隔。这个答案假设你收到了关于支票处于“未知”或“临界”状态的电子邮件。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/734907

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档