New Nagios 4.4.5 installation is failing
Posted: Wed Jan 15, 2020 3:36 pm
I am standing up a new installation of Nagios Core 4.4.5 on a RHEL 7 server to monitor all our RHEL 7 servers.
I am getting the error below and have attached my config files
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov systemd[1]: Starting Nagios Core 4.4.5...
-- Subject: Unit nagios.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit nagios.service has begun starting up.
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Nagios Core 4.4.5
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Copyright (c) 2009-present Nagios Core Development Team and Community Contribu
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Copyright (c) 1999-2009 Ethan Galstad
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Last Modified: 2019-08-20
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: License: GPL
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Website: https://www.nagios.org
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Reading configuration data...
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Read main config file okay...
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Error: Template 'SCServer' specified in host definition could not be not found
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Error: Invalid max_check_attempts value for host 'rhel7workdd.rtord.epa.gov'
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Error: Could not register host (config file '/usr/local/nagios/etc/objects/loc
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Error processing object config files!
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: ***> One or more problems was encountered while processing the config files...
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Check your configuration file(s) to ensure that they contain valid
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: directives and data definitions. If you are upgrading from a previous
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: version of Nagios, you should be aware that some variables/definitions
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: may have been removed or modified in this version. Make sure to read
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: the HTML documentation regarding the config files, as well as the
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: 'Whats New' section to find out what has changed.
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov systemd[1]: nagios.service: control process exited, code=exited status=1
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov systemd[1]: Failed to start Nagios Core 4.4.5.
-- Subject: Unit nagios.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit nagios.service has failed.
--
I am getting the error below and have attached my config files
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov systemd[1]: Starting Nagios Core 4.4.5...
-- Subject: Unit nagios.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit nagios.service has begun starting up.
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Nagios Core 4.4.5
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Copyright (c) 2009-present Nagios Core Development Team and Community Contribu
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Copyright (c) 1999-2009 Ethan Galstad
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Last Modified: 2019-08-20
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: License: GPL
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Website: https://www.nagios.org
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Reading configuration data...
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Read main config file okay...
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Error: Template 'SCServer' specified in host definition could not be not found
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Error: Invalid max_check_attempts value for host 'rhel7workdd.rtord.epa.gov'
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Error: Could not register host (config file '/usr/local/nagios/etc/objects/loc
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Error processing object config files!
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: ***> One or more problems was encountered while processing the config files...
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: Check your configuration file(s) to ensure that they contain valid
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: directives and data definitions. If you are upgrading from a previous
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: version of Nagios, you should be aware that some variables/definitions
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: may have been removed or modified in this version. Make sure to read
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: the HTML documentation regarding the config files, as well as the
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov nagios[28413]: 'Whats New' section to find out what has changed.
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov systemd[1]: nagios.service: control process exited, code=exited status=1
Jan 15 15:13:11 rhel7workdd.rtord.epa.gov systemd[1]: Failed to start Nagios Core 4.4.5.
-- Subject: Unit nagios.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit nagios.service has failed.
--