[Bug 292357] net-mgmt/nagios4: Update to 4.5.10

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Jan 2026 19:12:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292357

--- Comment #9 from Fabian Wenk <fabian@wenks.ch> ---
I did apply the patch on FreeBSD 13.5-RELEASE-p6 and build and install Nagios
4.5.10. Technically it is running so far (with php 8.4.16). But I have some
minor things in GUI which do not work or look any more as they did with 4.5.1.
I did dig into it and found this "solutions":

1) The default page does not go to "Tactical Overview" (/cgi-bin/tac.cgi) any
more and loads the main.php. As far as I see, this part of the code did not
change in index.php.
-> I was able to do a workaround with below line change in index.php from:
$url = 'main.php';
to:
$url = 'cgi-bin/tac.cgi';
But of course this will be broken again after next update.

2) Dark theme seems only to work for the menu on the left side and main.php,
but not for all the other (cgi) pages. Setting '$cfg['theme']='light';' in
config.inc.php does help to at least make everything show in light theme again.
More info in https://github.com/NagiosEnterprises/nagioscore/issues/1001

3) The really cool dynamic "Force Map" (default_statusmap_layout=10 in cgi.cfg,
based on
https://library.nagios.com/docs/nagios-core/configuration/Nagios-Core-Status-Map-Customization)
is not available any more. As far as I have figured out this is gone with the
removal of the AngularJS framework
(https://github.com/NagiosEnterprises/nagioscore/issues/960) in 4.5.3. So I
have switched back to default_statusmap_layout=6.
More info in https://github.com/NagiosEnterprises/nagioscore/issues/1000


Best regards,
Fabian

-- 
You are receiving this mail because:
You are the assignee for the bug.