Chinaunix首页 | 论坛 | 博客
  • 博客访问: 572892
  • 博文数量: 151
  • 博客积分: 3330
  • 博客等级: 中校
  • 技术积分: 1686
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-08 02:41
文章存档

2011年(151)

分类: LINUX

2011-07-01 10:52:58

define host{
        name                              windows-server ;(本主机模板的名字)
        use                               generic-host;(继承通用主机模板的默认值)
        check_period                      24x7 ;(默认将日夜不间断监控Windows servers)
        check_interval                    5 ;(每五分钟主动检查服务器)
        retry_interval                    1 ;(每隔一分钟,重试日程主机检查。)
        max_check_attempts                10 ; (每个服务器检查十遍(最多))
        check_command                     check-host-alive ;(检查服务器是否运转的默认命令。)
        notification_period               24x7 ;(在任何时段发送报告。)
        notification_interval             30 ;(每隔30分钟重复发送报告。)
        notification_options              d,r ;(只为特定主机状况发送报告。)
        contact_groups                    admins ;(默认把报告发送给admins。)
        hostgroups                        windows-servers ;(主机把Windows servers分组为成员。)
        register                          0 ;(不要注册这个,这只是个模板)
        }
 
阅读(1399) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~