CPU Load and scheduling queue

louafi sebastien.louafi at e-qual.fr
Tue Jun 3 09:54:11 CEST 2003


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have a problem with my nagios.

I have 1800 services on 130 hosts.

All my services have the same configuration :

define service{
        host_name 42.42.42.42
        service_description CPU:CPU_1
        check_command
check_unix_cpu!500!0!1000!0!.1.3.6.1.4.1.2021.10.1.3.1!public
        max_check_attempts 4
        normal_check_interval 5
        retry_check_interval 5
        active_checks_enabled 1
        passive_checks_enabled 0
        check_period 24x7
        parallelize_check 1
        check_freshness 0
        flap_detection_enabled 0
        process_perf_data 1
        retain_status_information 1
        retain_nonstatus_information 1
        notification_interval 60
        notification_period 24X7
        notification_options w,c,r
        notifications_enabled 0
        stalking_options o,w,u,c
}

My nagios.cfg is :

log_file=/opt/nagios-1.0-test/var/nagios.log
cfg_file=/opt/nagios-1.0-test/etc/commands.cfg
cfg_file=/opt/nagios-1.0-test/etc/contactgroups.cfg
cfg_file=/opt/nagios-1.0-test/etc/contacts.cfg
cfg_file=/opt/nagios-1.0-test/etc/hostgroups.cfg
cfg_file=/opt/nagios-1.0-test/etc/hosts.cfg
cfg_file=/opt/nagios-1.0-test/etc/services.cfg
cfg_file=/opt/nagios-1.0-test/etc/timeperiods.cfg
cfg_dir=/opt/nagios-1.0-test/etc/hosts
cfg_dir=/opt/nagios-1.0-test/etc/services
resource_file=/opt/nagios-1.0-test/etc/resource.cfg
status_file=/opt/nagios-1.0-test/var/status.log
nagios_user=nagios
nagios_group=nagios
check_external_commands=1
command_check_interval=2
command_file=/opt/nagios-1.0-test/var/rw/nagios.cmd
comment_file=/opt/nagios-1.0-test/var/comment.log
downtime_file=/opt/nagios-1.0-test/var/downtime.log
lock_file=/opt/nagios-1.0-test/var/nagios.lock
temp_file=/opt/nagios-1.0-test/var/nagios.tmp
log_rotation_method=d
log_archive_path=/opt/nagios-1.0-test/var/archives
use_syslog=0
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=0
log_external_commands=1
log_passive_service_checks=1
inter_check_delay_method=s
service_interleave_factor=s
max_concurrent_checks=10000
service_reaper_frequency=10
sleep_time=1
service_check_timeout=30
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=15
perfdata_timeout=60
retain_state_information=1
state_retention_file=/opt/nagios-1.0-test/var/status.sav
retention_update_interval=10
use_retained_program_state=1
interval_length=60
use_agressive_host_checking=0
execute_service_checks=1
accept_passive_service_checks=1
enable_notifications=1
enable_event_handlers=1
process_performance_data=1
host_perfdata_command=host_perfdata
service_perfdata_command=service_perfdata
xpdfile_host_perfdata_file=/opt/nagios-1.0-test/var/hostperf
xpdfile_service_perfdata_file=/opt/nagios-1.0-test/var/svcperf
xpdfile_host_perfdata_template=$HOSTNAME$\n
xpdfile_service_perfdata_template=$HOSTNAME$\n
check_for_orphaned_services=0
check_service_freshness=0
freshness_check_interval=60
aggregate_status_updates=1
status_update_interval=5
enable_flap_detection=0
low_service_flap_threshold=5.0
high_service_flap_threshold=20.0
low_host_flap_threshold=5.0
high_host_flap_threshold=20.0
date_format=us
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
illegal_macro_output_chars=~
admin_email=XXX at XXX
admin_pager=pagenagios

My perfdata function enter the check result in RRD and in a mysql
database to generate statistics.

Nagios schedules the check, but the check are not executed at the
scheduling time. For example a sheduled check at 9:42 is executed at
9:55... My average CPU load is not high (load average: 2.27, 1.41,
1.18).

My computer is a bi P3 1,26GHz

I have tried inter_check_delay_method=0.01 without best result. The
schedule is different (more aggressive) but the check are late.

Any ideas ? Thanks a lot.


Sébastien LOUAFI
Chef de projet Système, Réseau et Sécurité.

e-Qual - Avenue du Futuroscope - Arobase 2, Téléport 1
86360 Chasseneuil du Poitou - FRANCE


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPtxUI+L+f7HHv3GYEQK3ZwCgrfLSttgjsMnLx92ri13FKluUSfAAoJkf
uvPwcF+7mimJsiUyjwe07Tms
=cFp7
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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