Документ взят из кэша поисковой машины. Адрес оригинального документа : http://theory.sinp.msu.ru/pipermail/ru-ngi/2014q4/001453.html
Дата изменения: Thu Nov 6 17:17:28 2014
Дата индексирования: Sun Apr 10 18:06:35 2016
Кодировка:
[RU-NGI] nagios stuck

[RU-NGI] nagios stuck

Eygene Ryabinkin rea at grid.kiae.ru
Mon Oct 27 17:58:02 MSK 2014


Валерий, добрый день.

Mon, Oct 27, 2014 at 01:57:17PM +0300, Valery Mitsyn wrote:
> похоже региональный nagios или застрял, или не получает
> ответов на тесты. Последние тесты отмечены 10-26-2014 ~23:00.
> Это не связано с переводом часов?

Ну, tzdata я на rnag1 обновил ещё позавчера (или около того).
Для наших узлов я проблем не вижу, например
  https://rnag1.grid.kiae.ru/nagios/cgi-bin/status.cgi?host=foam.grid.kiae.ru

В каком месте последние тесты очень стары?

> P.P.S. Похоже желательно перстартовать cron, если у него
> есть конкретные часы запуска, он на ходу не отслеживает
> изменения времени.

Говорят, что отслеживает (man cron @CentOS 5.x):
{{{
   Daylight Saving Time and other time changes

       Local time changes of less than three hours, such as those
       caused by the start or end of Daylight Saving Time, are handled
       specially.  This  only  applies  to  jobs that run at a
       specific time and jobs that are run with a granularity greater
       than one hour.  Jobs that run more frequently are scheduled
       normally.

       If  time  has  moved forward, those jobs that would have run in
       the interval that has been skipped will be run immediately.
       Conversely, if time has moved backward, care is taken to avoid
       running jobs twice.

       Time changes of more than 3 hours are considered to be
       corrections to the clock or timezone, and the new time is used
       immediately.
}}}
-- 
Eygene Ryabinkin, National Research Centre "Kurchatov Institute"

Always code as if the guy who ends up maintaining your code will be
a violent psychopath who knows where you live.


More information about the RU-NGI mailing list