「通知間隔」の版間の差分
提供: Nagios 3翻訳プロジェクト Wiki
(ページの作成: == 導入 Introduction == 管理者達はしばしば彼らがそれらを最も少なくしたい時、ポケットベル、携帯電話呼び出しなどに答える負担を…) |
|||
| 74行目: | 74行目: | ||
} | } | ||
| + | </pre> | ||
| + | |||
| + | |||
| + | 次に、ジョンの呼び出し回のために平日を含む時間帯を定義してください。しかし、上の休日タイムピリオドで定義された日にち・時間は除く。 | ||
| + | |||
| + | <pre> | ||
| + | define timeperiod{ | ||
| + | |||
| + | timeperiod_name john-oncall | ||
| + | |||
| + | use weekdays ; Include weekdays | ||
| + | |||
| + | exclude holidays ; Exclude holiday dates/times defined elsewhere | ||
| + | |||
| + | } | ||
| + | </pre> | ||
| + | |||
| + | あなたは現在、ジョンのコンタクト定義においてこの時間帯に参照をつけることが出来ます。: | ||
| + | <pre> | ||
| + | define contact{ | ||
| + | |||
| + | contact_name john | ||
| + | |||
| + | ... | ||
| + | |||
| + | host_notification_period john-oncall | ||
| + | |||
| + | service_notification_period john-oncall | ||
| + | |||
| + | } | ||
| + | </pre> | ||
| + | |||
| + | 週末と、上の休日timeperiodで定義した日にち・時間を含むボブの呼び出し回のために、新しい時間帯を定義してください。: | ||
| + | <pre> | ||
| + | define timeperiod{ | ||
| + | |||
| + | timeperiod_name bob-oncall | ||
| + | |||
| + | use weekends,holidays ; Include weekend and holiday date/times defined elsewhere | ||
| + | |||
| + | } | ||
| + | </pre> | ||
| + | あなたは現在、ボブのコンタクト定義においてこの時間帯に参照をつけることが出来ます。: | ||
| + | |||
| + | <pre> | ||
| + | define contact{ | ||
| + | |||
| + | contact_name bob | ||
| + | |||
| + | ... | ||
| + | |||
| + | host_notification_period bob-oncall | ||
| + | |||
| + | service_notification_period bob-oncall | ||
| + | |||
| + | } | ||
</pre> | </pre> | ||
2010年8月8日 (日) 18:42時点における版
導入 Introduction
管理者達はしばしば彼らがそれらを最も少なくしたい時、ポケットベル、携帯電話呼び出しなどに答える負担を背負わなければなりません。だれも、午前4時に問題を片付けるために起こされるのは好きではありません。しかし、それは夜中に問題を修正するために、あなたが翌朝の午前9時に立ち寄るとき、不幸な上司の復讐に直面するよりむしろ、ましな事がしばしばです。そうした、アラートに答える責任の共有を助けることができる指導者のチームを持つそれらの幸運な管理者達のために、呼び出しのローテーションはしばしば楽な仕事になります。複数の管理者達が、週末、週日の夜、休日などに関する通知を取りながら、しばしば交替するでしょう。
どのように呼び出しのほとんどの通知ローテーションを楽にすることができる方法で [時間帯] 定義を作成できるかをお見せします。, これらの定義は必然的に現れる人事(病欠を知らせたり、シフトを交換したり、またはポケットベルを川へ投げ込む管理者達)を処理しないでしょう。しかし、それらはあなたにその時間の大部分を処理するはずである基本構造をセットアップさせるでしょう。
シナリオ 1: 休日と週末 Scenario 1: Holidays and Weekends
2人の管理者・ジョンとボブ…はNagiosアラートに応じる責任があります。ジョンは、休日を除いた平日(日々24時間)はすべての通知を受け取ります。 ボブは週末と休日の間、通知を処理します。幸運なボブ。 あなたがtimeperiodsを使用するローテーションのタイプを定義どのように出来るかがここに、あります…。
まず最初に、休日・平日および週末の間の時間範囲を含む3つの時間帯を定義して下さい :
define timeperiod{
name weekdays
timeperiod_name weekdays
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
}
define timeperiod{
name weekends
timeperiod_name weekends
saturday 00:00-24:00
sunday 00:00-24:00
}
define timeperiod{
name holidays
timeperiod_name holidays
january 1 00:00-24:00 ; New Year's Day
2008-03-23 00:00-24:00 ; Easter (2008)
2009-04-12 00:00-24:00 ; Easter (2009)
monday -1 may 00:00-24:00 ; Memorial Day (Last Monday in May)
july 4 00:00-24:00 ; Independence Day
monday 1 september 00:00-24:00 ; Labor Day (1st Monday in September)
thursday 4 november 00:00-24:00 ; Thanksgiving (4th Thursday in November)
december 25 00:00-24:00 ; Christmas
december 31 17:00-24:00 ; New Year's Eve (5pm onwards)
}
次に、ジョンの呼び出し回のために平日を含む時間帯を定義してください。しかし、上の休日タイムピリオドで定義された日にち・時間は除く。
define timeperiod{
timeperiod_name john-oncall
use weekdays ; Include weekdays
exclude holidays ; Exclude holiday dates/times defined elsewhere
}
あなたは現在、ジョンのコンタクト定義においてこの時間帯に参照をつけることが出来ます。:
define contact{
contact_name john
...
host_notification_period john-oncall
service_notification_period john-oncall
}
週末と、上の休日timeperiodで定義した日にち・時間を含むボブの呼び出し回のために、新しい時間帯を定義してください。:
define timeperiod{
timeperiod_name bob-oncall
use weekends,holidays ; Include weekend and holiday date/times defined elsewhere
}
あなたは現在、ボブのコンタクト定義においてこの時間帯に参照をつけることが出来ます。:
define contact{
contact_name bob
...
host_notification_period bob-oncall
service_notification_period bob-oncall
}

