官术网_书友最值得收藏!

Managing Downtimes

Nagios allows you to use the web interface to manage scheduled downtimes for hosts and services. This includes listing, adding, and deleting downtimes for both hosts and services.

Downtimes Status

Nagios's web interface allows you to list all scheduled downtimes. This page can be accessed by clicking on the Downtime link on the left-side menu. The following is an example of this page:

Downtimes Status

The page consists of two pages, which all scheduled downtimes, separately for hosts and services. You can delete a downtime by clicking the 'trash' icon on the right in the row that describes that particular downtime entry.

Downtimes can be triggered by other downtimes. When a host downtime is scheduled, Nagios automatically adds downtimes for all child hosts. For example, in the current configuration, if host router has a downtime scheduled, then router-aster will also have the same downtime as it will be unreachable during this period. Such downtimes are indicated by the Downtime ID and Trigger ID columns. In the example above, the Internet IN and Internet OUT services are scheduled to be down as the router-aster host will also be down. We can see that the router-aster host downtime has its Downtime ID set to 2, and both service downtimes have Trigger ID also set to 2.

Scheduling Downtimes

In order to schedule a downtime, open a host or service information page and use the Schedule downtime for this host option or the Schedule downtime for this service option. It is also possible to use the Downtime page to schedule downtimes directly. In this case, you will need to know the host name and service description of the service you want to disable, as Nagios will not fill these in automatically.

The following is a screenshot of scheduling downtime for a service:

Scheduling Downtimes

The form consists of Host and Service Name, Comment, and an option list to choose a downtime that triggered this host/service to also be down. When specifying the period during which the downtime should be scheduled, it is possible to enter Start Time and End Time or use the Duration field. If you want to specify how long the service will be offline, choose Flexible in the Type field. Otherwise, choose Fixed to specify the start and end time.

Scheduling downtime for a host is very similar—the only difference being that the Service field is missing, and the Child Hosts option list is added to specify how child hosts should be handled.

Nagios can automatically schedule downtimes for child hosts. When scheduling a host downtime, an additional option is present to indicate whether child hosts should also be scheduled for downtime and be triggered by this downtime.

主站蜘蛛池模板: 龙海市| 淮北市| 梅河口市| 色达县| 宜宾县| 潮安县| 东明县| 兴和县| 延长县| 万源市| 仙桃市| 仁化县| 磐安县| 文化| 娄底市| 内丘县| 广汉市| 阳新县| 怀仁县| 海口市| 延吉市| 陇川县| 新民市| 修水县| 和硕县| 南昌县| 卢氏县| 闻喜县| 长泰县| 阿拉善右旗| 五莲县| 忻城县| 墨竹工卡县| 石家庄市| 射阳县| 乌兰察布市| 济宁市| 枣庄市| 乐安县| 宜丰县| 山东省|