Nagios - Scheduled Active Check

Giovanni Ciampi Giovanni.Ciampi at enterpriseda.com
Thu May 22 15:23:55 CEST 2008


Hi folks,

 

I have Nagios with perfparse and Mysql, but there are problems with
scheduled active check. Although normal check interval is 3 minutes (I
try with 10 minutes too), Nagios plugins doesn't work. If I select
re-schedule the next check of this service
<http://10.28.28.18/nagios/cgi-bin/cmd.cgi?cmd_typ=7&host=Nagios1_HD1&se
rvice=cpu+idle>  on Nagios Interface, the check works good.

 

I see that Next Scheduled Active Check move your clock every minute
without to execute Nagios check. Can Nagios support 37 hosts and 173
services? What's wrong?

 

This is the section of my nagios.cfg 

 

------------------------------------------------------------------------
----

log_file=/usr/local/nagios/var/nagios.log

object_cache_file=/usr/local/nagios/var/objects.cache

temp_file=/usr/local/nagios/var/nagios.tmp

status_file=/usr/local/nagios/var/status.dat

aggregate_status_updates=1

status_update_interval=15

nagios_user=nagios

nagios_group=nagios

enable_notifications=1

execute_service_checks=1

accept_passive_service_checks=1

execute_host_checks=1

accept_passive_host_checks=1

enable_event_handlers=1

log_rotation_method=d

log_archive_path=/usr/local/nagios/var/archives/

check_external_commands=1

command_check_interval=-1

command_file=/usr/local/nagios/var/rw/nagios.cmd

downtime_file=/usr/local/nagios/var/downtime.dat

comment_file=/usr/local/nagios/var/comments.dat

lock_file=/usr/local/nagios/var/nagios.lock

retain_state_information=1

state_retention_file=/usr/local/nagios/var/retention.dat

retention_update_interval=60

use_retained_program_state=0

use_retained_scheduling_info=1

use_syslog=1

log_notifications=1

log_service_retries=1

log_host_retries=1

log_event_handlers=1

log_initial_states=0

log_external_commands=1

log_passive_checks=1

sleep_time=0.25

service_inter_check_delay_method=s

host_inter_check_delay_method=s

service_interleave_factor=s

max_concurrent_checks=0

max_service_check_spread=10

max_host_check_spread=30

service_reaper_frequency=10

interval_length=60

auto_reschedule_checks=1

auto_rescheduling_interval=30

auto_rescheduling_window=180

use_agressive_host_checking=0

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

soft_state_dependencies=0

service_check_timeout=60

host_check_timeout=30

event_handler_timeout=30

notification_timeout=30

ocsp_timeout=5

perfdata_timeout=5

obsess_over_services=0

process_performance_data=1

service_perfdata_command=process-service-perfdata

service_perfdata_file=/usr/local/nagios/var/perfdata.log

service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED
ESC$||$SERVICEOUTPUT$||$SERVICESPERDATA$

service_perfdata_file_mode=a

service_perfdata_file_processing_interval=30

service_perfdata_file_processing_command=process-service-perfdata

check_for_orphaned_services=0

check_service_freshness=1

check_host_freshness=1

host_freshness_check_interval=60

date_format=us

illegal_object_name_chars=`~!$%^&*|'"<>?,()'=

illegal_macro_output_chars=`~$&|'"<>

use_regexp_matching=0

use_true_regexp_matching=0

admin_email=nagios

admin_pager=pagenagios

broker_module=/usr/local/nagios/bin/ndomod.o
config_file=/usr/local/nagios/etc/ndomod.cfg

event_broker_options=-1

 

------------------------------------------------------------------------
----

 

My service template is

 

 

------------------------------------------------------------------------
----

 

        is_volatile                     0

        max_check_attempts                      3

        normal_check_interval           5

        retry_check_interval            1

        active_checks_enabled           1

        check_period                    24x7

        parallelize_check                       1

        obsess_over_service             1

        flap_detection_enabled          1

        process_perf_data                       1

        retain_status_information               1

        retain_nonstatus_information    1

        notification_interval           0

        notification_period             24x7

        notification_options            w,u,c,r,f

        notifications_enabled           1

 

------------------------------------------------------------------------
----

 

 

Any ideas?

Thanks a lot.

Giovanni

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080522/d96c3b73/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- 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