We just tried to upgrade our nagios xi from centos 7 to rhel9. We mostly had a successful transition except for a few parts.
1.) Whenever we do apply configuration. We get this issue.
Code: Select all
<div>Error: Service description, host name, or check command is NULL</div><div>Error: Could not register service (config file '/usr/local/nagios/etc/services/DC-HOSTNAME-1.cfg', starting on line 16)</div>
When I run this command to verify that everything works, I run into a completely different issue:
Code: Select all
#/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.4.13
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2023-06-01
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Drive C: Disk Usage' on host 'webHOSTNAME.DOMAIN.NAME' (config file '/usr/local/nagios/etc/services/Base-WINDOWS-C-USAGE.cfg', starting on line 16)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 2467 services.
Checked 288 hosts.
Checked 42 host groups.
Checked 0 service groups.
Checked 31 contacts.
Checked 4 contact groups.
Checked 151 commands.
Checked 35 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 288 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 35 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
2.) We had a problem with the Monitoring Engine and Performance Grapher showing as red. We get the same issue as the problem description herehttps://support.nagios.com/kb/article/n ... d-533.html. When we apply it, it does turn those green, but the problem description still occurs. Is there anything else we could possibly do
We are using Nagios XI 2024R1.1.2. Could upgrading solve this issue?
Just out of curiosity, would y'all recommend just using the already built centos 9 steam image by nagios because we are facing these issues, or would you recommend facing them head on?