Page 1 of 1

Nagios Init file in RHEL7

Posted: Fri Jan 17, 2020 2:18 am
by rajasegar
This is my first instance in RHEL7.

I noticed there is no more /etc/init.d/nagios
Whatever I put in /etc/sysconfig/nagios does not get executed like in RHEL6.
I had some commands to create nagios specific directories in the ramdisk and set relevant permissions

Please advice where is this init file in RHEL7 and how to get the same behaviour.

Thanks.

Re: Nagios Init file in RHEL7

Posted: Fri Jan 17, 2020 9:10 am
by scottwilkerson
RHEL7 uses systemd for the services

There is specific setting for ram disk setup for RHEL7 machine creating a new unit file

See:
https://assets.nagios.com/downloads/nag ... giosXI.pdf