<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Marc Powell wrote:
<blockquote
 cite="midA7B0A9F02975A74A845FE85D0B95B8FA03929346@misex01.ena.com"
 type="cite">
  <pre wrap="">
  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a> [<a class="moz-txt-link-freetext" href="mailto:nagios-users">mailto:nagios-users</a>-
<a class="moz-txt-link-abbreviated" href="mailto:bounces@lists.sourceforge.net">bounces@lists.sourceforge.net</a>] On Behalf Of Morris, Patrick
Sent: Wednesday, April 25, 2007 10:16 PM
To: James; <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>
Subject: Re: [Nagios-users] nagios service check latency

    </pre>
    <blockquote type="cite">
      <pre wrap="">Ok i have a question about setting priority to service checks

since i have a handful of service check checking clusters of
servers i'd like the priority of those service checks as high
as for instance...</pre>
    </blockquote>
  </blockquote>
</blockquote>
I'm running about 120 services.<br>
My Nagios seemed pretty speedy before until recently i dunno what
changes i made to do this but most of them should've been just to add a
few services.<br>
After  i noticed pretty delayed notifications and then some latency i
started making changes and it still hasn't changed all that much<br>
<br>
here's my nagios.cfg tho<br>
###############BEGIN CFG#############################<br>
<small>cfg_file=/usr/local/nagios/etc/hosts.cfg<br>
cfg_file=/usr/local/nagios/etc/services.cfg<br>
cfg_file=/usr/local/nagios/etc/misccommands.cfg<br>
cfg_file=/usr/local/nagios/etc/checkcommands.cfg<br>
cfg_file=/usr/local/nagios/etc/contactgroups.cfg<br>
cfg_file=/usr/local/nagios/etc/contacts.cfg<br>
cfg_file=/usr/local/nagios/etc/hostgroups.cfg<br>
cfg_file=/usr/local/nagios/etc/servicegroups.cfg<br>
cfg_file=/usr/local/nagios/etc/timeperiods.cfg<br>
cfg_file=/usr/local/nagios/etc/escalations.cfg<br>
cfg_file=/usr/local/nagios/etc/dependencies.cfg<br>
cfg_file=/usr/local/nagios/etc/hostextinfo.cfg<br>
cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg<br>
cfg_file=/usr/local/nagios/etc/meta_commands.cfg<br>
cfg_file=/usr/local/nagios/etc/meta_contact.cfg<br>
cfg_file=/usr/local/nagios/etc/meta_contactgroup.cfg<br>
cfg_file=/usr/local/nagios/etc/meta_dependencies.cfg<br>
cfg_file=/usr/local/nagios/etc/meta_escalations.cfg<br>
cfg_file=/usr/local/nagios/etc/meta_host.cfg<br>
cfg_file=/usr/local/nagios/etc/meta_hostgroup.cfg<br>
cfg_file=/usr/local/nagios/etc/meta_services.cfg<br>
cfg_file=/usr/local/nagios/etc/meta_timeperiod.cfg<br>
resource_file=/usr/local/nagios/etc/resource.cfg<br>
log_file=/usr/local/nagios/var/nagios.log<br>
object_cache_file=/usr/local/nagios/var/objects.cache<br>
temp_file=/usr/local/nagios/var/nagios.tmp<br>
status_file=/usr/local/nagios/var/status.dat<br>
p1_file=/usr/local/nagios/bin/p1.pl<br>
aggregate_status_updates=1<br>
status_update_interval=15<br>
nagios_user=nagios<br>
nagios_group=nagios<br>
enable_notifications=1<br>
execute_service_checks=1<br>
accept_passive_service_checks=1<br>
execute_host_checks=1<br>
accept_passive_host_checks=1<br>
enable_event_handlers=1<br>
log_rotation_method=d<br>
log_archive_path=/usr/local/nagios/var/archives/<br>
check_external_commands=1<br>
command_check_interval=-1<br>
command_file=/usr/local/nagios/var/rw/nagios.cmd<br>
downtime_file=/usr/local/nagios/var/downtime.dat<br>
comment_file=/usr/local/nagios/var/comments.dat<br>
lock_file=/usr/local/nagios/var/nagios.lock<br>
retain_state_information=1<br>
state_retention_file=/usr/local/nagios/var/retention.dat<br>
retention_update_interval=60<br>
use_retained_program_state=1<br>
use_retained_scheduling_info=0<br>
log_initial_states=0<br>
sleep_time=0.25<br>
service_inter_check_delay_method=s<br>
host_inter_check_delay_method=s<br>
service_interleave_factor=s<br>
max_concurrent_checks=55<br>
max_service_check_spread=30<br>
max_host_check_spread=30<br>
service_reaper_frequency=10<br>
interval_length=60<br>
auto_rescheduling_interval=30<br>
auto_rescheduling_window=180<br>
enable_flap_detection=0<br>
low_service_flap_threshold=5.0<br>
high_service_flap_threshold=20.0<br>
low_host_flap_threshold=5.0<br>
high_host_flap_threshold=20.0<br>
service_check_timeout=60<br>
host_check_timeout=30<br>
event_handler_timeout=30<br>
notification_timeout=30<br>
ocsp_timeout=5<br>
perfdata_timeout=5<br>
process_performance_data=1<br>
host_perfdata_command=process-host-perfdata<br>
service_perfdata_command=process-service-perfdata<br>
check_for_orphaned_services=1<br>
service_freshness_check_interval=60<br>
host_freshness_check_interval=60<br>
date_format=us<br>
illegal_object_name_chars=`~!$%^&*|'"<>?,()=<br>
illegal_macro_output_chars=`~$&|'"<><br>
use_regexp_matching=0<br>
use_true_regexp_matching=0<br>
admin_email=nagios<br>
admin_pager=pagenagios<br>
</small>###############END CFG#############################<br>
<br>
Here's the service template i'm using:<br>
################BEGIN SERVICE TEMPLATE ##############<br>
define service{<br>
        name                            local-service<br>
        service_description             local-service<br>
        use                             generic-service<br>
        max_check_attempts                      10<br>
        normal_check_interval           1<br>
        retry_check_interval            1<br>
        check_period                    24x7<br>
        notification_interval           15<br>
        notification_period             24x7<br>
        notification_options            w,c,r<br>
        notifications_enabled           1<br>
        contact_groups                  admins<br>
        stalking_options                        o<br>
        register                                0<br>
}<br>
################END SERVICE TEMPLATE ##################<br>
<br>
and here's the host template i'm using<br>
################ BEGIN HOST TEMPLATE ###################<br>
define host{<br>
        name                            linux-server<br>
        use                             generic-host<br>
        alias                           servers<br>
        check_command                   Check_ICMP!1<br>
        max_check_attempts                      10<br>
        check_interval                  0<br>
        check_period                    24x7<br>
        contact_groups                  admins<br>
        notification_interval           15<br>
        notification_period             24x7<br>
        notification_options            d,r<br>
        notifications_enabled           1<br>
        register                                0<br>
}<br>
################ END HOST TEMPLATE #####################<br>
<br>
<br>
any recommendations on changes?<br>
<br>
i tried going through the tweak guide but no luck that i've noticed.<br>
<br>
when i take a host down i noticed it doesn't detect it for about 5-10
minutes<br>
same with detecting it after it comes back up<br>
<br>
<br>
</body>
</html>