From: Simone F. <s.f...@al...> - 2008-11-27 17:01:15
|
Marc Powell ha scritto: > On Nov 27, 2008, at 2:36 AM, Simone Felici wrote: > >> Good morning. >> With time_interval do you mean interval_lenght? > > I did, sorry about that. > >> I've set it to "1". In this way I've set all checks in seconds, >> because I need for certain services a retry interval of 30seconds. > > Good to know. > >> Here additional infos: >> >> ######################################## >> # NAGIOS STATUS FILE >> # >> # THIS FILE IS AUTOMATICALLY GENERATED >> # BY NAGIOS. DO NOT MODIFY THIS FILE! >> ######################################## >> >> <<cut>> >> >> hoststatus { >> host_name=<<MY-WINDOWS-EXAMPLE-SERVER>> >> modified_attributes=3 >> check_command=check-host-alive >> check_period=24hx7 >> notification_period=24hx7 >> check_interval=5.000000 > > Nagios is configured to check this host every 5 seconds (5 x > interval_length). If you meant this to be 5 minutes, the value should > be 300. > > - > Marc Thank's Marc, but let me understood... Should Nagios perform host checks only if needed? I.e. if a service goes critical or change state? Or are true both questions? Simon |