Nagios 服务模板配置指南

服务模板配置:

| 参数 | 值 | 描述 |

|---|---|---|

| active_checks_enabled | 1 | 允许主动监测服务 |

| passive_checks_enabled | 1 | 允许被动监测服务 |

| parallelize_check | 1 | 并行检查 |

| obsess_over_service | 1 | 关注服务 |

| check_freshness | 0 | 检查时效性 |

| notifications_enabled | 1 | 允许通知 |

| event_handler_enabled | 1 | 允许记录主机事件 |

| flap_detection_enabled | 1 | 启用故障检测 |

| failure_prediction_enabled | 1 | 允许故障预告 |

| retain_status_information | 1 | 保存主机状态信息 |

| retain_nonstatus_information | 1 | 保存非状态信息 |

| is_volatile | 0 | 非易失性 |

| check_period | 24x7 | 检查周期 |

| max_check_attempts | 3 | 最大重试次数 |

| normal_check_interval | 10 | 普通检查间隔 |

| retry_check_interval | 2 | 检查失败重试间隔 |

| contact_groups | admins | 联系组 |

| notification_options | w,u,c,r | 通知选项 |

| notification_interval | 60 | 通知间隔(分钟) |

| notification_period | 24x7 | 通知时间段 |

| register | 0 | 说明这是个模板 |

说明:

目前所有服务均使用此模板。

doc 文件大小:85KB