Question about host checks
Simone Felici
s.felici at alpikom.it
Wed Nov 26 08:54:33 CET 2008
Please help, noone has an idea?
Ah, my Nagios version (Nagios 3.0.3).
Also why all my hosts are checked more or less every 4 seconds? :(
Thank's!
simon
Simone Felici ha scritto:
> Hi to all!
>
> I'm using nagios for a long time and this is the first time I ask a question... it means until today all is gone
> perfectly, great product!
> A week ago I've installed 'ndoutils-1.4b7' to log into a MySQL server.
> After some days I've seen the table 'nagios_hostchecks' is groving up very fast, its 3 times bigger than
> 'nagios_servicechecks' even if I've 688 hosts and 1346 services, also more services than hosts.
> Analyzing the content of the 'nagios_hostchecks' table, I've seen It seems Nagios is checking the host status VERY OFTEN.
> Also checking the nagios Queue and the "Last Check Time" of my hosts, the date/time is updating every few seconds.
> Should not nagios check the host state only on demand when needed? It happens on all my hosts.
> I paste an example of one host configuration:
>
>
> host...
>
> define host {
> host_name <cut_my_host>
> alias Windows 2000 Server
> address <cut_my_ip>
> use host_alarm_A
> parents <cut_my_sw_parent>
> contact_groups noc-group,tech24h-group
> }
>
>
> ...template...
>
> define host {
> name host_alarm_A
> process_perf_data 0
> retain_status_information 1
> flap_detection_enabled 0
> retain_nonstatus_information 1
> active_checks_enabled 1
> passive_checks_enabled 0
> check_period 24hx7
> obsess_over_host 0
> check_freshness 0
> check_command check-host-alive
> max_check_attempts 2
> event_handler_enabled 0
> notifications_enabled 1
> notification_interval 3600
> notification_period 24hx7
> notification_options d,u,r
> register 0
> }
>
> ...check
>
> define command {
> command_name check-host-alive
> command_line /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c
> 5000.0,100% -p 1
> }
>
>
> Any suggestion?
>
> Thank's!
>
> Simon
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list