Nagios latency

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Tue Dec 10 17:16:46 CET 2002


The only significant difference we have is that the Average Check Interval
is 300.00 in my case.

Here's my nagios.cfg (without the comments and blank lines):

log_file=/usr/local/nagios/var/nagios.log
cfg_file=/usr/local/nagios/etc/checkcommands.cfg
cfg_file=/usr/local/nagios/etc/misccommands.cfg
cfg_file=/usr/local/nagios/etc/contactgroups.cfg
cfg_file=/usr/local/nagios/etc/contacts.cfg
cfg_file=/usr/local/nagios/etc/dependencies.cfg
cfg_file=/usr/local/nagios/etc/escalations.cfg
cfg_file=/usr/local/nagios/etc/hostgroups.cfg
cfg_file=/usr/local/nagios/etc/hosts.cfg
cfg_file=/usr/local/nagios/etc/services.cfg
cfg_file=/usr/local/nagios/etc/timeperiods.cfg
cfg_dir=/usr/local/nagios/etc/configs
resource_file=/usr/local/nagios/etc/resource.cfg
status_file=/usr/local/nagios/var/status.log
nagios_user=nagios
nagios_group=nagios
check_external_commands=1
command_check_interval=-1
command_file=/usr/local/nagios/var/rw/nagios.cmd
comment_file=/usr/local/nagios/var/comment.log
downtime_file=/usr/local/nagios/var/downtime.log
lock_file=/usr/local/nagios/var/nagios.lock
temp_file=/usr/local/nagios/var/nagios.tmp
log_rotation_method=d
log_archive_path=/usr/local/nagios/var/archives
use_syslog=0
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=1
log_external_commands=1
log_passive_service_checks=1
inter_check_delay_method=s
service_interleave_factor=s
max_concurrent_checks=400
service_reaper_frequency=5
sleep_time=1
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5
retain_state_information=1
state_retention_file=/usr/local/nagios/var/status.sav
retention_update_interval=60
use_retained_program_state=0
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
xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log
xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$
xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log
xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPU
T$\t$PERFDATA$
obsess_over_services=0
check_for_orphaned_services=0
check_service_freshness=1
freshness_check_interval=60
aggregate_status_updates=1
status_update_interval=15
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
soft_state_dependencies=1
date_format=us
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
illegal_macro_output_chars=`~$&|'"<>
admin_email=nagios
admin_pager=pagenagios

HTH.

jc

> -----Original Message-----
> From: Jasmine Chua [mailto:jasmine.chua at securecirt.com]
> Sent: Tuesday, December 10, 2002 9:07 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios latency
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I am currently facing a problem with latency on my
> Nagios-1.0 
> I am in a hurry to bring it down. Just wonder if anyone could help
> me, I have sent my problem to the mailing list a couple of 
> times, but to no
> avail. Have been trying to tweak with my 
> max_concurrent_checks and service
> reaper, but things just dont work out right. Nagios is able 
> to receive and
> process service checks now, but has an average latency of 206 
> secs and my
> average execution time is 2.438 secs.
> 
> SERVICE SCHEDULING INFORMATION
>         -------------------------------
>         Total services:             156
>         Total hosts:                21
> 
>         Command check interval:     -1 sec
>         Check reaper interval:      5 sec
> 
>         Inter-check delay method:   SMART
>         Average check interval:     60.000 sec
>         Inter-check delay:          0.385 sec
> 
>         Interleave factor method:   SMART
>         Average services per host:  7.429
>         Service interleave factor:  8
> 
>         Initial service check scheduling info:
>         --------------------------------------
>         First scheduled check:      1039532077 -> Tue Dec 10 
> 22:54:37 2002
>         Last scheduled check:       1039532138 -> Tue Dec 10 
> 22:55:38 2002
> 
>         Rough guidelines for max_concurrent_checks value:
>         -------------------------------------------------
>         Absolute minimum value:     13
>         Recommend value:            39
> 
> command_check_interval=-1
> max_concurrent_checks=39
> service_reaper_frequency=5
> service_check_timeout=90
> host_check_timeout=20
> aggregate_status_updates=1
> status_update_interval=15
> 
> 
> 
> - --
> Jasmine Chua
> Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd)
> http://www.securecirt.com
> 
> - -- 
> Jasmine Chua
> Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd)
> http://www.securecirt.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE99gMGNgvTa7Hj2AURAm7vAKCrn/qEnn9Wqb1k8mHq97hBVC1RGwCgvAmQ
> U/0MrWa9GI89VCQzgTXK96o=
> =8PMw
> -----END PGP SIGNATURE-----
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list