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

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.

主站蜘蛛池模板: 息烽县| 旬阳县| 麻栗坡县| 西林县| 丹凤县| 甘泉县| 木兰县| 定襄县| 阿拉善左旗| 重庆市| 长兴县| 集安市| 桐庐县| 肥城市| 米林县| 诏安县| 平安县| 龙南县| 禄丰县| 永善县| 宁南县| 寻甸| 湖南省| 格尔木市| 武安市| 苏尼特左旗| 青铜峡市| 疏勒县| 旺苍县| 肥城市| 云龙县| 凌源市| 邻水| 建平县| 石首市| 类乌齐县| 景东| 杭锦后旗| 富民县| 甘肃省| 盘锦市|