Re: [Nagios-devel] Antwort: Re: Antwort: Host check retries -
Posted: Tue Jun 17, 2008 5:12 am
[email protected] wrote:
[email protected] schrieb
am 17.06.2008 14:33:31:
> First, the host
> define host {
> Â Â Â Â Â Â Â name WAN-Instituicao
> Â Â Â Â Â Â Â check_command check_instituicao
> Â Â Â Â Â Â Â max_check_attempts 10
> Â Â Â Â Â Â Â check_interval 0
> Â Â Â Â Â Â Â check_period 24x7
> Â Â Â Â Â Â Â obsess_over_host 0
> Â Â Â Â Â Â Â active_checks_enabled 1
> Â Â Â Â Â Â Â notification_interval 10
> Â Â Â Â Â Â Â notification_period 24x7
> Â Â Â Â Â Â Â notifications_enabled 1
> Â Â Â Â Â Â Â register 0
> Â Â Â Â Â Â Â notification_options d,r
> Â Â Â Â Â Â Â hostgroups WAN
> Â Â Â Â Â Â Â contact_groups admins,prevencao
> }
This one looks odd to me...
You have check_interval 0 and
active_checks_enabled
1.
That doesn't make sense to me and I am not sure if
this has a defined
behaviour. Literally spoken it means you want
nagios
to actively check
the host every 0 minutes - which means check as
often
as possible.
Therefor nagios won't care for servicechecks and
the
max_check_attempts when
executing the hostcheck, as it schedules the
hostcheck
actively anyways.
So a hard host down getting inbetween soft service
criticals is expected
behaviour for me.
No, the check_interval 0 means to don't
perform regularly scheduled host
checks as indicated in the nagios manual. This is a nagios 3.x new
value.
The active_checks_enabled
1 is necessary to nagios execute on demand host checks.
With these 2 values nagios 3.x runs the same way nagios 2.x, where
there weren't regularly scheduled host
checks.
Regards,
Emanuel Massano
Regards
    Sascha
--
Sascha Runschke
Netzwerk-  und  Systemmanagement
Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201)
102-1102105
GFKL
Financial Services AG
Vorstand:
Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Till Ergenzinger, Dr. Tom
Haverkamp
Vorsitzender
des Aufsichtsrats: Dr. Georg F. Thoma
Sitz:
Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php</
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]