I have a doubt referer to nagios.log, in this log appears recorded every check, but only with the 4.1 version and after:
Code: Select all
[1475065887] INITIAL SERVICE STATE: server1;Memory;OK;HARD;1;Total memory used : 6% ram used : 46%, swap used 0%
[1475065887] INITIAL SERVICE STATE: RscVpn01;Memory;OK;HARD;1;Total memory used : 7% ram used : 52%, swap used 0%
[1475065944] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 9% ram used : 53%, swap used 0%
[1475066003] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 10% ram used : 55%, swap used 0%
[1475066123] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 6% ram used : 45%, swap used 0%
[1475066184] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 6% ram used : 46%, swap used 0%
[1475066244] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 9% ram used : 52%, swap used 0%
[1475066303] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 10% ram used : 55%, swap used 0%
[1475066364] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 11% ram used : 56%, swap used 0%
[1475066424] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 6% ram used : 47%, swap used 0%
[1475066483] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 6% ram used : 46%, swap used 0%
[1475066544] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 10% ram used : 54%, swap used 0%
[1475066603] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 14% ram used : 63%, swap used 0%
[1475066664] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 10% ram used : 54%, swap used 0%
[1475066724] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 6% ram used : 47%, swap used 0%
[1475066783] SERVICE ALERT: server1;Memory;OK;HARD;1;Total memory used : 6% ram used : 46%, swap used 0%
The nagios.cfg:
Code: Select all
cfg_file=/nagios/etc/hostTemplates.cfg
cfg_file=/nagios/etc/hosts.cfg
cfg_file=/nagios/etc/serviceTemplates.cfg
cfg_file=/nagios/etc/services.cfg
cfg_file=/nagios/etc/misccommands.cfg
cfg_file=/nagios/etc/checkcommands.cfg
cfg_file=/nagios/etc/contactgroups.cfg
cfg_file=/nagios/etc/contactTemplates.cfg
cfg_file=/nagios/etc/contacts.cfg
cfg_file=/nagios/etc/hostgroups.cfg
cfg_file=/nagios/etc/servicegroups.cfg
cfg_file=/nagios/etc/timeperiods.cfg
cfg_file=/nagios/etc/escalations.cfg
cfg_file=/nagios/etc/dependencies.cfg
cfg_file=/nagios/etc/meta_commands.cfg
cfg_file=/nagios/etc/meta_contact.cfg
cfg_file=/nagios/etc/meta_contactgroup.cfg
cfg_file=/nagios/etc/meta_dependencies.cfg
cfg_file=/nagios/etc/meta_escalations.cfg
cfg_file=/nagios/etc/meta_host.cfg
cfg_file=/nagios/etc/meta_hostgroup.cfg
cfg_file=/nagios/etc/meta_services.cfg
cfg_file=/nagios/etc/meta_timeperiod.cfg
resource_file=/nagios/etc/resource.cfg
log_file=/nagios/var/nagios.log
temp_file=/nagios/var/nagios.tmp
status_file=/nagios/var/status.log
status_update_interval=15
nagios_user=nagios
nagios_group=nagios
enable_notifications=1
execute_service_checks=1
accept_passive_service_checks=1
enable_event_handlers=1
log_rotation_method=d
log_archive_path=/nagios/var/archives/
check_external_commands=1
command_file=/nagios/var/rw/nagios.cmd
lock_file=/nagios/var/nagios.lock
retain_state_information=1
state_retention_file=/nagios/var/status.sav
retention_update_interval=60
use_retained_program_state=1
use_retained_scheduling_info=0
use_syslog=0
log_notifications=1
log_service_retries=0
log_host_retries=1
log_event_handlers=1
log_initial_states=1
log_external_commands=1
service_inter_check_delay_method=s
service_interleave_factor=2
max_concurrent_checks=600
max_service_check_spread=5
check_result_reaper_frequency=5
interval_length=60
enable_flap_detection=0
low_service_flap_threshold=25.0
high_service_flap_threshold=50.0
low_host_flap_threshold=25.0
high_host_flap_threshold=50.0
soft_state_dependencies=0
service_check_timeout=60
host_check_timeout=10
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
ochp_timeout=5
perfdata_timeout=5
obsess_over_services=0
process_performance_data=1
service_perfdata_command=process-service-perfdata
service_perfdata_file_mode=2
check_for_orphaned_services=0
check_service_freshness=1
date_format=euro
illegal_object_name_chars=~!$%^&*"|'<>?,()=
illegal_macro_output_chars=`~$^&"|'<>
admin_email=admin
admin_pager=admin@localhost
use_large_installation_tweaks=1
free_child_process_memory=0
child_processes_fork_twice=0
enable_environment_macros=0
debug_file=/nagios/var/debug.log
debug_level=0
debug_verbosity=0
daemon_dumps_core=0
check_for_orphaned_hosts=0
use_aggressive_host_checking=0
check_for_updates=0
thanks.