nagios监控与报警时间间隔
来源:互联网 发布:mac 找不到原身 编辑:程序博客网 时间:2024/05/17 02:22
转自:http://blog.sina.com.cn/slaysly
nagios监控与报警时间间隔:
max_check_attempts: This directive is used to define the number of times that Nagios will retry the service check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the service check again.
check_interval: This directive is used to define the number of "time units" to wait before scheduling the next "regular" check of the service. "Regular" checks are those that occur when the service is in an OK state or when the service is in a non-OK state, but has already been rechecked max_check_attempts number of times. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation.
retry_interval: This directive is used to define the number of "time units" to wait before scheduling a re-check of the service. Services are rescheduled at the retry interval when they have changed to a non-OK state. Once the service has been retriedmax_check_attempts times without a change in its status, it will revert to being scheduled at its "normal" rate as defined by thecheck_interval value. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation.
notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this service - only one problem notification will be sent out.
在OK状态,nagios用check_interval定义的时间间隔来监控,出现问题后,切换为retry_interval和max_check_attempts进行监控,达到max_check_attempts后触发首次报警,同时恢复为check_interval进行监控,并用notification_interval定义的时间间隔来发送报警,服务恢复后,在最近的check_interval点发送OK短信,完成报警周期。
特殊:
1.max_check_attempts定义为1,检测到问题后立即报警,不重试。
2.notification_interval定义为0,报警只发送一次,不重发。
0 0
- nagios监控与报警时间间隔
- 磁盘监控报警-nagios
- 监控--nagios之 邮件报警(三)
- Nagios添加时间监控
- nagios邮件报警发送中文、nagios监控页面乱码解决
- NagiosQL添加监控主机及Nagios上启用报警机制
- mrtg监控交换机路由器流量以及nagios报警
- NagiosQL添加监控主机及Nagios上启用报警机制
- nagios 流量监控和报警的shell脚本
- 监控利器Nagios原理教程(即、Nagios怎样报警?)(适合新手阅读) (
- nagios实例配置2-关于nagios 的check_http 监控报警的设置
- Nagios - 网络服务监控与提醒
- nagios插件之监控文件更新时间
- Nagios 里面监控MySQL 监控事务夯住(RUNNING)报警通知
- 限制Nagios报警次数
- nagios报警,禁用之
- nagios 限制报警次数
- nagios邮件报警设置
- to_date 和 to_char 使用区别
- 动态规划解最长回文子序列(非最长回文字串)并优化空间复杂度
- 尝试读取或写入受保护的内存。这通常指示其他内存已损坏
- Eclipse打开当前工程文件所在文件夹
- iOS上实现Android的Toast效果
- nagios监控与报警时间间隔
- BZOJ 3511: 土地划分
- 关于UITabBarController
- firebug
- iOS KeyChain
- myBatis学习笔记(9)——spring整合mybatis
- tomcat配置域名
- oracle数据库的 to_char 和to_date 区别
- mysql汉字存储保存之后变?解决方案