init.d/nagios script for the Nagios startup file is missing

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
vipinvgeorge
Posts: 1
Joined: Tue Aug 06, 2019 6:55 am

init.d/nagios script for the Nagios startup file is missing

Post by vipinvgeorge »

Hi Team,

I am a new user to Nagios tool. I have installed Nagios core(Nagios Core 4.4.4) on RHEL 7 version. I have followed the installation step mentioned in Nagios site. I remember that I used make install-init command while configuring the setup. However I am seeing that Nagios script is missing in this path /etc/rc.d/init.d/. I have installed Nagios as root user and I followed all the steps during installation.
Can someone please advice how to fix this issue. I did a re installation one time and still the same result.
# uname -a
Linux lrkxrxxxxx 3.10.0-957.5.1.el7.x86_64 #1 SMP Wed Dec 19 10:46:58 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.4.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-07-29
License: GPL
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: init.d/nagios script for the Nagios startup file is miss

Post by scottwilkerson »

On RHEL 7 you should be getting a systemd service file created in

Code: Select all

/usr/lib/systemd/system/nagios.service

Code: Select all

systemctl status nagios
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked