<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>I am sorry for my bad english. My nagios server 
is not running in virtual server.  Nagios3.2.0 + Suse10-sp2 
x86_64 + 8 GB mem + 4 x 
( Xeon(R) CPU  E7420  @ 2.13GHz ), I 
think this hardware is enough.</FONT></DIV>
<DIV><FONT face=Verdana 
size=2> "I use vmstate to capture system performance", 
vmstate is a command in SUSE10,not a virtual server. </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>My configuration is like below,I don't know which 
parameter should I optimize,could you give me suggestions, thanks~</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV>
<DIV>cfg_file=/usr/local/nagios/etc/hosts.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/services.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/misccommands.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/checkcommands.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/contactgroups.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/contacts.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/hostgroups.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/servicegroups.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/timeperiods.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/escalations.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/dependencies.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/hostextinfo.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/meta_commands.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/meta_contactgroup.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/meta_contact.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/meta_dependencies.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/meta_escalations.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/meta_hostgroup.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/meta_host.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/meta_services.cfg</DIV>
<DIV>cfg_file=/usr/local/nagios/etc/meta_timeperiod.cfg</DIV>
<DIV>resource_file=/usr/local/nagios/etc//resource.cfg</DIV>
<DIV>log_file=/usr/local/nagios/var/nagios.log</DIV>
<DIV>temp_file=/usr/local/nagios/var/nagios.tmp</DIV>
<DIV>status_file=/usr/local/nagios/var/status.log</DIV>
<DIV>p1_file=/usr/local/nagios/bin/p1.pl</DIV>
<DIV>status_update_interval=15</DIV>
<DIV>nagios_user=nagios</DIV>
<DIV>nagios_group=nagios</DIV>
<DIV>enable_notifications=1</DIV>
<DIV>execute_service_checks=1</DIV>
<DIV>accept_passive_service_checks=1</DIV>
<DIV>execute_host_checks=1</DIV>
<DIV>accept_passive_host_checks=1</DIV>
<DIV>enable_event_handlers=1</DIV>
<DIV>log_rotation_method=d</DIV>
<DIV>log_archive_path=/usr/local/nagios/var/archives/</DIV>
<DIV>check_external_commands=1</DIV>
<DIV>command_check_interval=1s</DIV>
<DIV>command_file=/usr/local/nagios/var/rw/nagios.cmd</DIV>
<DIV>lock_file=/usr/local/nagios/var/nagios.lock</DIV>
<DIV>retain_state_information=1</DIV>
<DIV>retention_update_interval=60</DIV>
<DIV>use_retained_program_state=1</DIV>
<DIV>use_retained_scheduling_info=1</DIV>
<DIV>use_syslog=1</DIV>
<DIV>log_notifications=1</DIV>
<DIV>log_service_retries=1</DIV>
<DIV>log_host_retries=1</DIV>
<DIV>log_event_handlers=1</DIV>
<DIV>log_initial_states=1</DIV>
<DIV>log_external_commands=1</DIV>
<DIV>sleep_time=1</DIV>
<DIV>service_inter_check_delay_method=s</DIV>
<DIV>service_interleave_factor=s</DIV>
<DIV>max_concurrent_checks=2000</DIV>
<DIV>service_reaper_frequency=5</DIV>
<DIV>interval_length=60</DIV>
<DIV>use_agressive_host_checking=1</DIV>
<DIV>enable_flap_detection=0</DIV>
<DIV>low_service_flap_threshold=25.0</DIV>
<DIV>high_service_flap_threshold=50.0</DIV>
<DIV>low_host_flap_threshold=25.0</DIV>
<DIV>high_host_flap_threshold=50.0</DIV>
<DIV>service_check_timeout=60</DIV>
<DIV>host_check_timeout=10</DIV>
<DIV>event_handler_timeout=30</DIV>
<DIV>notification_timeout=30</DIV>
<DIV>ocsp_timeout=5</DIV>
<DIV>ochp_timeout=5</DIV>
<DIV>perfdata_timeout=5</DIV>
<DIV>process_performance_data=1</DIV>
<DIV>host_perfdata_command=107</DIV>
<DIV>service_perfdata_command=process-service-perfdata</DIV>
<DIV>host_perfdata_file=/usr/local/pnp4nagios/var/host-perfdata</DIV>
<DIV>service_perfdata_file=/usr/local/pnp4nagios/var/service-perfdata</DIV>
<DIV>host_perfdata_file_template=DATATYPE::HOSTPERFDATA      TIMET::$TIMET$  HOSTNAME::$HOSTNAME$    HOSTPERFDATA::$HOSTPERFDATA$    HOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$        HOSTSTATE::$HOSTSTATE$  HOSTSTATETYPE::$HOSTSTATETYPE$</DIV>
<DIV>service_perfdata_file_template=DATATYPE::SERVICEPERFDATA        TIMET::$TIMET$  HOSTNAME::$HOSTNAME$    SERVICEDESC::$SERVICEDESC$SERVICEPERFDATA::$SERVICEPERFDATA$      SERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$      HOSTSTATE::$HOSTSTATE$  HOSTSTATETYPE::$HOSTSTATETYPE$      SERVICESTATE::$SERVICESTATE$    SERVICESTATETYPE::$SERVICESTATETYPE$</DIV>
<DIV>host_perfdata_file_mode=a</DIV>
<DIV>service_perfdata_file_mode=a</DIV>
<DIV>host_perfdata_file_processing_interval=30</DIV>
<DIV>service_perfdata_file_processing_interval=30</DIV>
<DIV>host_perfdata_file_processing_command=process-host-perfdata-file</DIV>
<DIV>service_perfdata_file_processing_command=process-service-perfdata-file</DIV>
<DIV>check_service_freshness=1</DIV>
<DIV>date_format=euro</DIV>
<DIV>illegal_object_name_chars=~!$%^&*"|'<>?,()=</DIV>
<DIV>illegal_macro_output_chars=`~$^&"|'<></DIV>
<DIV>admin_email=admin</DIV>
<DIV>admin_pager=admin@localhost</DIV>
<DIV>broker_module=/usr/local/nagios/bin/ndomod-3x.o config_file=/usr/local/nagios/etc/ndomod.cfg</DIV>
<DIV>event_broker_options=-1</DIV>
<DIV>use_large_installation_tweaks=1</DIV>
<DIV>child_processes_fork_twice=0</DIV>
<DIV>enable_environment_macros=0</DIV>
<DIV>debug_file=/usr/local/centreon/log/Debug-Graphs.log</DIV>
<DIV>debug_level=-1</DIV>
<DIV>max_debug_file_size=600000000</DIV>
<DIV>check_result_reaper_frequency=10</DIV>
<DIV>max_check_result_reaper_time=20</DIV></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV> </DIV>
<DIV>HongRui Wang</DIV>
<DIV>Mail:wwanghongrui@cebbank.com</DIV>
<DIV>2010-06-30</DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV align=left>
<DIV align=left><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT face=Verdana 
size=2><SPAN>wwanghongrui</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2>2010-06-30</FONT></FONT></DIV></DIV>
<DIV><FONT face=Verdana size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发件人:</STRONG> Andreas 
Ericsson</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发送时间:</STRONG> 
2010-06-29 20:24:12</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>收件人:</STRONG> wwanghongrui; Nagios 
Users List</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>抄送:</STRONG> shadih 
rahman</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>主题:</STRONG> Re: [Nagios-users] how 
to fix excessive latency</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>On 06/29/2010 03:57 AM, wwanghongrui wrote:</DIV>
<DIV>> Thanks your reply. We are writing to mysql database by ndoutils.We don't use nsca. About external_command_buffer_slots, we don't set it up.</DIV>
<DIV>> status_update_interval =15</DIV>
<DIV>> </DIV>
<DIV>> I use vmstate to capture system performance,like below.Maybe the bottleneck is not at system.</DIV>
<DIV>> </DIV>
<DIV></DIV>
<DIV>Endeavour to not run Nagios on a virtual server. If you must use a virtual server,</DIV>
<DIV>make very sure that your checkresult spooldirectory and status data files are on</DIV>
<DIV>a ramdisk, or you will certainly run into trouble.</DIV>
<DIV></DIV>
<DIV>-- </DIV>
<DIV>Andreas Ericsson                   andreas.ericsson@op5.se</DIV>
<DIV>OP5 AB                             www.op5.se</DIV>
<DIV>Tel: +46 8-230225                  Fax: +46 8-230231</DIV>
<DIV></DIV>
<DIV>Considering the successes of the wars on alcohol, poverty, drugs and</DIV>
<DIV>terror, I think we should give some serious thought to declaring war</DIV>
<DIV>on peace.</DIV></FONT></DIV></BODY></HTML>