Apache Upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
matson-itops
Posts: 108
Joined: Wed Nov 18, 2015 11:19 pm

Apache Upgrade

Post by matson-itops »

My nagios server is currently running httpd-2.4.37-39.module+el8.4.0+12865+a7065a39.1.x86_64
I need to upgrade it to latest.

How do I do this and ensure I keep the config? I specifically need to know if
there are any configs outside of "conf" and "conf.d" I might need to check for.

NOTE : this apache set up is pretty basic default and only for nagios/nagios xi so no customizations, etc.
bbahn
Posts: 112
Joined: Thu Jan 12, 2023 5:42 pm

Re: Apache Upgrade

Post by bbahn »

Hello @matson-itops,

When you update Apache, your package manager should preserve your configuration files and if any changes were made to the default configurations, they should be created alongside your existing configurations with the tag .rpmnew.

That said, it's always a good idea to back up your configurations before updating. You can check which configuration file Apache is using with the command httpd -S. Note that this will/may miss configurations defined in .htaccess files and any conditional blocks such as <IfModule>.
April: Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
Post Reply