Nagios Core 4.4.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2020-04-28
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Could not open config directory '/etc/nagios/conf.d' for reading.
Error: Invalid max_check_attempts value for host 'localhost'
Error: Could not register host (config file '/etc/nagios/objects/localhost.cfg', starting on line 21)
Error processing object config files!
One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data definitions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
Following 3 steps to have a localhost entry to see localhost got monitor from http://localhost/nagios/
* yum install nagios-plugins-ping
* mkdir /etc/nagios/conf.d && chgrp nagios /etc/nagios/conf.d
* systemctl start nagios httpd
/etc/nagios/conf.d was a mistake, see #1504306.
I accidentally pulled it in again using autosetup, as it was not commented out in patch list.
That directory shouldn't be used.
I'm making a new release of nagios to fix all these problems
This update has been submitted for testing by tartina.
This update's test gating status has been changed to 'ignored'.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'ignored'.
I see the fix here. chmod -x /builddir/build/BUILDROOT/nagios-4.4.6-2.el7.x86_64/usr/lib/systemd/system/nagios.service
This update has been pushed to testing.
Here is my fresh install test notes
Following 3 steps to have a localhost entry to see localhost got monitor from http://localhost/nagios/ * yum install nagios-plugins-ping * mkdir /etc/nagios/conf.d && chgrp nagios /etc/nagios/conf.d * systemctl start nagios httpd
nagios-4.4.6 on fedora-34 is OK using my extra post-install notes above.
sorry, I tested on fedora-33, not 34.
/etc/nagios/conf.d was a mistake, see #1504306. I accidentally pulled it in again using autosetup, as it was not commented out in patch list. That directory shouldn't be used. I'm making a new release of nagios to fix all these problems
This update has been unpushed.
Thanks @tartina