Thanks jfrickson,
Attached you will find the files requested but nagios.service is not inside the directory that you have mentioned but in two different locations:
/etc/systemd/system/nagios.service (attached)
/etc/systemd/system/multi-user.target.wants/nagios.service
I have stopped Nagios and started afresh. I have added a check to test the reload:
NAGIOS STARTED:
Code: Select all
[1472620492] Nagios 4.2.0 starting... (PID=1916)
[1472620492] Local time is Wed Aug 31 06:14:52 BST 2016
[1472620492] LOG VERSION: 2.0
[1472620492] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1472620492] qh: core query handler registered
[1472620492] nerd: Channel hostchecks registered successfully
[1472620492] nerd: Channel servicechecks registered successfully
[1472620492] nerd: Channel opathchecks registered successfully
[1472620492] nerd: Fully initialized and ready to rock!
[1472620492] wproc: Successfully registered manager as @wproc with query handler
[1472620492] wproc: Registry request: name=Core Worker 1921;pid=1921
[1472620492] wproc: Registry request: name=Core Worker 1925;pid=1925
[1472620492] wproc: Registry request: name=Core Worker 1924;pid=1924
[1472620492] wproc: Registry request: name=Core Worker 1922;pid=1922
[1472620492] Successfully launched command file worker with pid 1934
kill -HUP (did not reload but re-started the service; all hosts are in PENDING status)
Code: Select all
[1472620680] Caught SIGHUP, restarting...
[1472620680] Event broker module 'NERD' deinitialized successfully.
[1472620680] Nagios 4.2.0 starting... (PID=1916)
[1472620680] Local time is Wed Aug 31 06:18:00 BST 2016
[1472620680] LOG VERSION: 2.0
[1472620680] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1472620680] qh: core query handler registered
[1472620680] nerd: Channel hostchecks registered successfully
[1472620680] nerd: Channel servicechecks registered successfully
[1472620680] nerd: Channel opathchecks registered successfully
[1472620680] nerd: Fully initialized and ready to rock!
[1472620680] wproc: Successfully registered manager as @wproc with query handler
[1472620680] wproc: Registry request: name=Core Worker 2043;pid=2043
[1472620680] wproc: Registry request: name=Core Worker 2046;pid=2046
[1472620680] wproc: Registry request: name=Core Worker 2044;pid=2044
[1472620680] wproc: Registry request: name=Core Worker 2045;pid=2045
/etc/init.d/nagios reload (did not reload not changes in log output)
systemctl reload nagios (Failed)
root@dev-nagios-01: systemctl reload nagios
Failed to reload nagios.service: Job type reload is not applicable for unit nagios.service.
Thank you for your time