Chinaunix首页 | 论坛 | 博客
  • 博客访问: 14611
  • 博文数量: 7
  • 博客积分: 290
  • 博客等级: 二等列兵
  • 技术积分: 80
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 14:29
文章分类

全部博文(7)

文章存档

2008年(7)

我的朋友
最近访客

分类:

2008-11-04 15:41:40

三:A_host.cfg 的配置
define host{
    name                            HZ-host    ; The name of this template
    notifications_enabled           1         ; Host notifications are enabled
    event_handler_enabled           1         ; Host event handler is enabled
    flap_detection_enabled          1         ; Flap detection is enabled
    failure_prediction_enabled      1         ; Failure prediction is enabled
    process_perf_data               1         ; Process performance data
    max_check_attempts              10
    retain_status_information       1         ; Retain status information across program restarts
    retain_nonstatus_information    1         ; Retain non-status information across program restarts
    notification_period   24x7    ; Send host notifications at any time
    register                        0         ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
}

define host{
  host_name  A_host
  address     192.168.1.10
  use     HZ-host
  check_period    24x7
  check_interval    5
  retry_interval    1
  check_command   check-host-alive
  notification_period 24x7
  notification_interval 0
  notification_options  d,u,r
  contact_groups    HZ-group
}
define hostgroup{
    hostgroup_name     hostgroup
    alias     grouphost
    members    A_host  。。。。。
  
}
阅读(587) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~