Config:
[root@icinga etc]# egrep -v "^$|^#" icinga.cfg
log_file=/usr/local/icinga/var/icinga.log
cfg_file=/usr/local/icinga/etc/global/host_templates.cfg
cfg_file=/usr/local/icinga/etc/global/checkcommands.cfg
cfg_file=/usr/local/icinga/etc/global/contactgroups.cfg
cfg_file=/usr/local/icinga/etc/global/contacts.cfg
cfg_file=/usr/local/icinga/etc/global/misccommands.cfg
cfg_file=/usr/local/icinga/etc/global/service_templates.cfg
cfg_file=/usr/local/icinga/etc/global/timeperiods.cfg
cfg_file=/usr/local/icinga/etc/collector/extended_host_info.cfg
cfg_file=/usr/local/icinga/etc/collector/extended_service_info.cfg
cfg_file=/usr/local/icinga/etc/collector/hostgroups.cfg
cfg_file=/usr/local/icinga/etc/collector/hosts.cfg
cfg_file=/usr/local/icinga/etc/collector/servicegroups.cfg
cfg_file=/usr/local/icinga/etc/collector/services.cfg
object_cache_file=/usr/local/icinga/var/objects.cache
precached_object_file=/usr/local/icinga/var/objects.precache
resource_file=/usr/local/icinga/etc/resource.cfg
status_file=/usr/local/icinga/var/status.dat
status_update_interval=10
icinga_user=icinga
icinga_group=icinga
check_external_commands=1
command_check_interval=-1
command_file=/usr/local/icinga/var/rw/icinga.cmd
external_command_buffer_slots=4096
lock_file=/usr/local/icinga/var/icinga.lock
temp_file=/usr/local/icinga/var/icinga.tmp
temp_path=/tmp
event_broker_options=-1
broker_module=/usr/local/icinga/bin/idomod.o
config_file=/usr/local/icinga/etc/idomod.cfg
log_rotation_method=h
log_archive_path=/usr/local/icinga/var/archives
use_daemon_log=1
use_syslog=0
use_syslog_local_facility=0
syslog_local_facility=5
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=0
log_current_states=1
log_external_commands=1
log_passive_checks=0
log_external_commands_user=0
log_long_plugin_output=0
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=10
max_check_result_reaper_time=30
check_result_path=/usr/local/icinga/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=60
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/icinga/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=1
host_perfdata_command=process-host-perfdata
service_perfdata_command=process-service-perfdata
obsess_over_services=1
ocsp_command=send_service_check
obsess_over_hosts=0
translate_passive_host_checks=1
passive_host_checks_are_soft=0
check_for_orphaned_services=1
check_for_orphaned_hosts=1
service_check_timeout_state=u
check_service_freshness=1
service_freshness_check_interval=30
check_host_freshness=1
host_freshness_check_interval=30
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=euro
p1_file=/usr/local/icinga/bin/p1.pl
enable_embedded_perl=1
use_embedded_perl_implicitly=1
stalking_event_handlers_for_hosts=0
stalking_event_handlers_for_services=0
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
illegal_macro_output_chars=`~$&|'"<>
use_regexp_matching=0
use_true_regexp_matching=0
[email protected]
admin_pager=pageicinga@localhost`
daemon_dumps_core=0
use_large_installation_tweaks=0
enable_environment_macros=1
debug_level=256
debug_verbosity=1
debug_file=/usr/local/icinga/var/icinga.debug
max_debug_file_size=1000000
event_profiling_enabled=0
thanks,
Leon
Van: Michael Friedrich [mailto:[email protected]]
Verzonden: vrijdag 10 juni 2011 9:25
Aan: [email protected]
Onderwerp: Re: [icinga-users] FW: false stale messages
Leon Blokland wrote:
Update!
After setting the "log_passive_checks" to 1, all passive hosts got in a
Critial state because the results are stale.
Could it be some issue with the nsca process? Maybe not able to process
the data?
egrep the configs and post them.
egrep -v "^$|^#" icinga.cfg
Thanks,
Leon
Van: Leon Blokland [mailto:[email protected]]
Verzonden: vrijdag 10 juni 2011 8:58
Aan: [email protected]
Onderwerp: [icinga-users] false stale messages
Dear all,
Recently, after some time of testing, I was starting to take my Icinga
box (currently on 1.4.1) in production migrating all monitored hosts
from my old Nagios box.
However all active checks are working fine, the passive checks are not
running as expected.
Some hosts/servers are almost all the time in 'not-ok' states.
I have set up my passive checks with freshness checks because I want to
know that the passive checks are still being send by the hosts and
received by my Icinga box.
Messages appearing in the icinga.log file are like this:
Warning: The results of service 'cpu_status' on host 'hostname' are
stale by 0d 0h 0m 31s (threshold=0d 0h 1m 0s). I'm forcing an immediate
check of the service.
The values of 'stale vary from 1 second to 35, but they will always stay
under the threshold.
Changing freshness values won't matter, even not setting it to 1 hour.
Can anyone help me out on this one?
Cheers,
Leon
------------------------------------------------------------------------
------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users
--
DI (FH) Michael Friedrich
Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria
email: [email protected]
phone: +43 1 4277 14359
mobile: +43 664 60277 14359
fax: +43 1 4277 14338
web: http://www.univie.ac.at/zid
http://www.aco.net
Icinga Core & IDOUtils Developer
http://www.icinga.org
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users