difficulties in upgrading the Nagios Core

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Nagios_kelvin
Posts: 1
Joined: Tue May 25, 2021 4:38 am

difficulties in upgrading the Nagios Core

Post by Nagios_kelvin »

We are upgrading our Nagios Core from 4.3.2 to 4.4.6 following https://assets.nagios.com/downloads/nag ... l#pack2src.

Every step is fine until this one step "Important: If you are upgrading from version 4.3.3 or before, to version 4.3.4 or after, there are changes that need to made to the initialization script, and to your main Nagios configuration file."

[root@sysmon nagios-4.4.6]# make install-init
/bin/install -c -m 755 -d -o root -g root /lib/systemd/system
/bin/install -c -m 755 -o root -g root startup/default-service /lib/systemd/system/nagios.service
[root@sysmon nagios-4.4.6]# INITFILE=$(grep ^INIT_DIR= Makefile | sed 's/.*=//' | sed 's/.*/&\/nagios/') && grep ^NagiosRunFile $INITFILE
grep: /lib/systemd/system/nagios: No such file or directory

Could anyone advise where my initialization script lives? And how to find out the value of my new lock file since the recommended command does not work?
Locked