Bad Scheduling


#1

I’m running Nagios 2.5 over Debian.
I’have 11 services checks running over 10 hosts.
Services are next:

  • 1 MySQL
  • 1 HTTP
  • 1 Samba
  • 8 video streamings

My problem happens when Nagios reschedule checks , in fact one of more of the critical state streamings checks ( some of the streamings not playing usually but this not a problem ).
This checks ( often only one ) are scheduled bad, planifying next check like this: last check + 1 hour.
This only happens with critical services.
Every service is defined with the same template so i dont know why happens this.
I read a lot of times scheduling docs and tried a lot of configurations for services and main parameters but i didnt found the solution.

The duration of streamings check aproximately it’s about 48 seconds.

This are the most important directives in service template i’ve define:
max_check_attempts 5
active_checks_enabled 1
passive_checks_enabled 1
parallelize_check 1
check_freshness 60
event_handler_enabled 1
retry_check_interval 60s
normal_check_interval 2

The directives in nagios.cfg:
aggregate_status_updates=1
status_update_interval=15
execute_service_checks=1
accept_passive_service_checks=1
execute_host_checks=1
accept_passive_host_checks=1
enable_event_handlers=1
check_external_commands=1
use_aggressive_host_checking=0
retain_state_information=0
sleep_time=0.50
service_inter_check_delay_method=s
max_service_check_spread=30
service_interleave_factor=s
max_concurrent_checks=0
service_reaper_frequency=15
host_inter_check_delay_method=s
max_host_check_spread=30
command_check_interval=-1
soft_state_dependencies=1
interval_length=60
auto_reschedule_checks=0
auto_rescheduling_interval=60
auto_rescheduling_window=180
check_host_freshness=1
host_freshness_check_interval=15
service_freshness_check_interval=60
check_service_freshness=1
check_for_orphaned_services=1
service_check_timeout=60
host_check_timeout=30

Well maybe you could told me what i 'm doing wrong with scheduling parameters or service definition.

Waiting your answers.
Thanks.

P.D.: forgive my english.