1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

nagiosで通知時間を限定する

Posted at

timerperiodを使う

定義
define timeperiod{
        timeperiod_name myworktime
        alias           myworktime
        sunday          04:30-22:00
        monday          04:30-22:00
        tuesday         04:30-22:00
        wednesday       04:30-22:00
        thursday        04:30-22:00
        friday          04:30-22:00
        saturday        04:30-22:00
}
指定
  define service{
        use                             generic-service
        host_name                       devserver
        service_description             HTTP
        contacts                        ramesh
        check_command                   check_http
+       check_period                    myworktime
+       notification_period             myworktime
        }
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?