CPU Load and scheduling queue
Subhendu Ghosh
sghosh at sghosh.org
Tue Jun 3 18:09:38 CEST 2003
On Tue, 3 Jun 2003, louafi wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I have a problem with my nagios.
>
> I have 1800 services on 130 hosts.
>
> All my services have the same configuration :
>
> define service{
> host_name 42.42.42.42
> service_description CPU:CPU_1
> check_command
> check_unix_cpu!500!0!1000!0!.1.3.6.1.4.1.2021.10.1.3.1!public
> max_check_attempts 4
> normal_check_interval 5
> retry_check_interval 5
> active_checks_enabled 1
> passive_checks_enabled 0
> check_period 24x7
> parallelize_check 1
> check_freshness 0
> flap_detection_enabled 0
> process_perf_data 1
> retain_status_information 1
> retain_nonstatus_information 1
> notification_interval 60
> notification_period 24X7
> notification_options w,c,r
> notifications_enabled 0
> stalking_options o,w,u,c
> }
>
> My nagios.cfg is :
>
<snip>
> inter_check_delay_method=s
> service_interleave_factor=s
> max_concurrent_checks=10000
> service_reaper_frequency=10
> sleep_time=1
<snip>
>
> My perfdata function enter the check result in RRD and in a mysql
> database to generate statistics.
>
> Nagios schedules the check, but the check are not executed at the
> scheduling time. For example a sheduled check at 9:42 is executed at
> 9:55... My average CPU load is not high (load average: 2.27, 1.41,
> 1.18).
>
> My computer is a bi P3 1,26GHz
>
> I have tried inter_check_delay_method=0.01 without best result. The
> schedule is different (more aggressive) but the check are late.
>
> Any ideas ? Thanks a lot.
>
You are using a "smart" check interleave factor. That allows to Nagios to
schedule the time of the actual check within a time boundary. It will not
be the same interval every time, but close.
Look at the docs for check interleave factor if you want precise control.
--
-sg
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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