Nagios Performance Issue

trm asn trm.nagios at gmail.com
Mon Nov 1 09:32:39 CET 2010


On 30 October 2010 21:23, trm asn <trm.nagios at gmail.com> wrote:

> Dear List ,
>
> I am getting frequent Nagios screen issue. The checks are not updating
> properly . Below is my nagios.cfg  file with nagiostats. Please let me know
> is there anywhere I can fine tune the Nagios. I am using a Xeon 2.0 GH X 2 ,
> 4 GB RAM , .
>
>
>
> log_file=/usr/local/nagios/var/nagios.log
> cfg_file=/usr/local/nagios/etc/objects/commands.cfg
> cfg_file=/usr/local/nagios/etc/objects/contacts.cfg
> cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg
> cfg_file=/usr/local/nagios/etc/objects/contactgroups.cfg
> cfg_file=/usr/local/nagios/etc/objects/dependencies.cfg
> cfg_file=/usr/local/nagios/etc/objects/escalations.cfg
> cfg_file=/usr/local/nagios/etc/objects/hosts.cfg
> cfg_file=/usr/local/nagios/etc/objects/hostgroups.cfg
> cfg_file=/usr/local/nagios/etc/objects/services.cfg
> cfg_file=/usr/local/nagios/etc/objects/servicegroups.cfg
> object_cache_file=/usr/local/nagios/var/objects.cache
> precached_object_file=/usr/local/nagios/var/objects.precache
> resource_file=/usr/local/nagios/etc/resource.cfg
> status_file=/usr/local/nagios/var/status.dat
> aggregate_status_updates=0
> status_update_interval=10
> nagios_user=nagios
> nagios_group=nagios
> check_external_commands=1
> command_check_interval=-1
> command_file=/usr/local/nagios/var/rw/nagios.cmd
> external_command_buffer_slots=4096
> lock_file=/usr/local/nagios/var/nagios.lock
> temp_file=/usr/local/nagios/var/nagios.tmp
> temp_path=/tmp
> event_broker_options=-1
> log_rotation_method=d
> log_archive_path=/usr/local/nagios/var/archives
> use_syslog=1
> 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_checks=1
> service_inter_check_delay_method=s
> max_service_check_spread=30
> service_interleave_factor=s
> host_inter_check_delay_method=s
> max_host_check_spread=30
> max_concurrent_checks=0
> check_result_reaper_frequency=5
> max_check_result_reaper_time=20
> check_result_path=/usr/local/nagios/var/spool/checkresults
> max_check_result_file_age=3600
> cached_host_check_horizon=15
> cached_service_check_horizon=15
> enable_predictive_host_dependency_checks=1
> enable_predictive_service_dependency_checks=1
> soft_state_dependencies=0
> auto_reschedule_checks=0
> auto_rescheduling_interval=30
> auto_rescheduling_window=180
> sleep_time=0.25
> service_check_timeout=120
> 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/retention.dat
> retention_update_interval=60
> use_retained_program_state=1
> use_retained_scheduling_info=1
> retained_host_attribute_mask=0
> retained_service_attribute_mask=0
> retained_process_host_attribute_mask=0
> retained_process_service_attribute_mask=0
> retained_contact_host_attribute_mask=0
> retained_contact_service_attribute_mask=0
> interval_length=60
> use_aggressive_host_checking=0
> execute_service_checks=1
> accept_passive_service_checks=1
> execute_host_checks=1
> accept_passive_host_checks=1
> enable_notifications=1
> enable_event_handlers=1
> process_performance_data=0
> obsess_over_services=0
> obsess_over_hosts=0
> translate_passive_host_checks=0
> passive_host_checks_are_soft=0
> check_for_orphaned_services=1
> check_for_orphaned_hosts=1
> check_service_freshness=1
> service_freshness_check_interval=60
> check_host_freshness=0
> host_freshness_check_interval=60
> additional_freshness_latency=15
> enable_flap_detection=1
> 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
> p1_file=/usr/local/nagios/bin/p1.pl
> enable_embedded_perl=1
> use_embedded_perl_implicitly=1
> illegal_object_name_chars=`~!$%^*|'"<>?,()=
> illegal_macro_output_chars=`~$&|'"<>
> use_regexp_matching=0
> use_true_regexp_matching=0
> daemon_dumps_core=0
> use_large_installation_tweaks=0
> enable_environment_macros=1
> debug_level=2
> debug_verbosity=2
> debug_file=/usr/local/nagios/var/nagios.debug
> max_debug_file_size=1000000
> broker_module=/usr/local/lib/mk-livestatus/livestatus.o
> /usr/local/nagios/var/rw/live
> event_broker_options=-1
>
>
> -----------------------------------------------------------------------------------------------------------------------------------
>
> CURRENT STATUS DATA
> ------------------------------------------------------
> Status File:                            /usr/local/nagios/var/status.dat
> Status File Age:                        0d 0h 0m 4s
> Status File Version:                    3.0.3
>
> Program Running Time:                   0d 0h 10m 55s
> Nagios PID:                             21581
> Used/High/Total Command Buffers:        0 / 0 / 4096
>
> Total Services:                         6747
> Services Checked:                       6747
> Services Scheduled:                     6747
> Services Actively Checked:              6747
> Services Passively Checked:             0
> Total Service State Change:             0.000 / 41.580 / 0.077 %
> Active Service Latency:                 0.090 / 351.086 / 191.014 sec
> Active Service Execution Time:          0.013 / 60.096 / 0.472 sec
> Active Service State Change:            0.000 / 41.580 / 0.077 %
> Active Services Last 1/5/15/60 min:     365 / 1365 / 1747 / 5490
> Passive Service Latency:                0.000 / 0.000 / 0.000 sec
> Passive Service State Change:           0.000 / 0.000 / 0.000 %
> Passive Services Last 1/5/15/60 min:    0 / 0 / 0 / 0
> Services Ok/Warn/Unk/Crit:              6539 / 82 / 13 / 113
> Services Flapping:                      4
> Services In Downtime:                   0
>
> Total Hosts:                            1925
> Hosts Checked:                          1925
> Hosts Scheduled:                        1925
> Hosts Actively Checked:                 1925
> Host Passively Checked:                 0
> Total Host State Change:                0.000 / 23.550 / 5.055 %
> Active Host Latency:                    0.000 / 124.702 / 111.270 sec
> Active Host Execution Time:             0.014 / 4.335 / 0.089 sec
> Active Host State Change:               0.000 / 23.550 / 5.055 %
> Active Hosts Last 1/5/15/60 min:        521 / 1925 / 1925 / 1925
> Passive Host Latency:                   0.000 / 0.000 / 0.000 sec
> Passive Host State Change:              0.000 / 0.000 / 0.000 %
> Passive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0
> Hosts Up/Down/Unreach:                  1907 / 18 / 0
> Hosts Flapping:                         8
> Hosts In Downtime:                      0
>
> Active Host Checks Last 1/5/15 min:     633 / 3345 / 9068
>    Scheduled:                           625 / 3297 / 8997
>    On-demand:                           8 / 48 / 71
>    Parallel:                            625 / 3303 / 9007
>    Serial:                              0 / 0 / 0
>    Cached:                              8 / 43 / 61
> Passive Host Checks Last 1/5/15 min:    0 / 0 / 0
> Active Service Checks Last 1/5/15 min:  421 / 1948 / 2452
>    Scheduled:                           421 / 1948 / 2452
>    On-demand:                           0 / 0 / 0
>    Cached:                              0 / 0 / 0
> Passive Service Checks Last 1/5/15 min: 0 / 0 / 0
>
> External Commands Last 1/5/15 min:      0 / 0 / 0
>
>
>
>
> Thanks & Regards,
> dE
>

Hi List,

What are the parameter needs to be enable for a large scale ( above 2000
host & above 6500 service check) of monitroing with Nagios 3.0.


/\
dE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101101/3af36cf0/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
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