[Nagios-devel] how long does a check_tcp service check take?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] how long does a check_tcp service check take?

Post by Guest »

Good morning,

i am in the process of trying to squeeze as much out of my box as
possible and have some problems understanding what is happening.

i started out on a P-II 350 with 384M RAM. i added about 1400
services most of which are check_tcp checks. These checks report that the
response came in 0 seconds. i know that this isn't a true reading but it at
least tells me that it took less than 1 second.

It actually takes about 17 minutes to complete these checks. Doing
the math 1400/(17*50) it is taking about 3/4 seconds per check.

i moved this installation (physically moved the hdd) to a P-4 800
(Non-Celeron). i was hoping for an improvement. i didn't see one. It
still takes 17 minutes.


Is there any way of speeding this up or am i now at the mercy of the
network?

What would happen if i add another NIC? Would the load be balanced?

i have diddled with varios settings in my nagios.cfg but nothing
seems to help.

thanks in advance,
dean


nagios.cfg
----------
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
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
#global_host_event_handler=somecommand
#global_service_event_handler=somecommand
inter_check_delay_method=s
service_interleave_factor=s
max_concurrent_checks=0
service_reaper_frequency=2
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=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=process-host-perfdata
service_perfdata_command=process-service-perfdata
obsess_over_services=0
#ocsp_command=somecommand
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
date_format=euro
admin_email=nagios
admin_pager=pagenagios





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: dean.bishop@tcdsb.org
Locked