Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
This directive is used to specify a file in which a cached copy of object definitions should be stored. The cache file is (re)created every time Nagios is (re)started and is used by the CGIs. It is intended to speed up config file caching in the CGIs and allow you to edit the source object config files while Nagios is running without affecting the output displayed in the CGIs.
[root@netmon1 nagios]# /usr/sbin/nagios -v /etc/nagios/nagios.cfg
Nagios Core 4.3.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2017-05-09
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Warning: use_embedded_perl_implicitly is deprecated and will be removed.
Warning: enable_embedded_perl is deprecated and will be removed.
Warning: p1_file is deprecated and will be removed.
Warning: sleep_time is deprecated and will be removed.
Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
Read main config file okay...
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
WARNING: The retry_check_interval attribute is deprecated and will be removed in future versions. Please use retry_interval instead.
WARNING: The normal_check_interval attribute is deprecated and will be removed in future versions. Please use check_interval instead.
Warning: Duplicate definition found for service 'ping' on host 'rp-t-d-web2' (config file '/etc/nagios/lulu/all/services/basic-windows.cfg', starting on line 48)
Warning: Duplicate definition found for service 'ping' on host 'rp-t-d-sql1' (config file '/etc/nagios/lulu/all/services/basic-windows.cfg', starting on line 48)
Warning: Duplicate definition found for service 'ping' on host 'rp-t-d-admin1' (config file '/etc/nagios/lulu/all/services/basic-windows.cfg', starting on line 48)
Warning: Duplicate definition found for service 'ping' on host 'winconvert2.dur-test' (config file '/etc/nagios/lulu/all/services/basic-windows.cfg', starting on line 48)
Warning: Duplicate definition found for service 'ping' on host 'winconvert1.dur-test' (config file '/etc/nagios/lulu/all/services/basic-windows.cfg', starting on line 48)
Warning: Duplicate definition found for service 'ping' on host 'pitstop2.test.dur' (config file '/etc/nagios/lulu/all/services/basic-windows.cfg', starting on line 48)
Warning: Duplicate definition found for service 'ping' on host 'pitstop1.test.dur' (config file '/etc/nagios/lulu/all/services/basic-windows.cfg', starting on line 48)
Warning: Duplicate definition found for service 'ping' on host 'rp-t-d-web1' (config file '/etc/nagios/replayphotos/all/services/web.cfg', starting on line 35)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 745 services.
Checked 118 hosts.
Checked 59 host groups.
Checked 23 service groups.
Checked 23 contacts.
Checked 13 contact groups.
Checked 151 commands.
Checked 6 time periods.
Checked 0 host escalations.
Checked 3 service escalations.
Checking for circular paths...
Checked 118 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 6 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
[root@netmon1 nagios]# service nagios restart
Redirecting to /bin/systemctl restart nagios.service
Job for nagios.service failed because a timeout was exceeded. See "systemctl status nagios.service" and "journalctl -xe" for details.
[root@netmon1 nagios]# service crond restart
Redirecting to /bin/systemctl restart crond.service
[root@netmon1 nagios]# service crond status
Redirecting to /bin/systemctl status crond.service
● crond.service - Command Scheduler
Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2017-10-24 16:15:31 EDT; 4s ago
Main PID: 4763 (crond)
CGroup: /system.slice/crond.service
└─4763 /usr/sbin/crond -n
Oct 24 16:15:31 nagios-host systemd[1]: Started Command Scheduler.
Oct 24 16:15:31 nagios-host systemd[1]: Starting Command Scheduler...
Oct 24 16:15:31 nagios-host crond[4763]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 48% if used.)
Oct 24 16:15:31 nagios-host crond[4763]: (CRON) INFO (running with inotify support)
Oct 24 16:15:31 nagios-host crond[4763]: (CRON) INFO (@reboot jobs will be run at computer's startup.)
[root@netmon1 nagios]# service nagios restart
Redirecting to /bin/systemctl restart nagios.service
Job for nagios.service failed because a timeout was exceeded. See "systemctl status nagios.service" and "journalctl -xe" for details.
Complete hunch based on some other errors I've seen, but if you go to Process Info in the UI on the left panel and the disable notifications, do you still have this issue?
Also, I notice you are on 4.3.2 and the latest is 4.3.4. There are some file lock issues in 4.3.2 and 4.3.3, so I would highly suggest either going back to your previous version or upgrading to 4.3.4.