Page 1 of 1
Issue with manage_services.sh script...
Posted: Wed Nov 21, 2018 11:18 pm
by vishfx
Hi Nagios Team,
NagiosXI 5.5.5 ( installed from nagiosxi repo)
OS: RHEL 7.5
Noticed that manage_services.sh is not reporting correct status.
managed_services_issue_Capture.PNG
managed_services_issue_Capture-2.PNG
Regards,
Vish.
Re: Issue with manage_services.sh script...
Posted: Mon Nov 26, 2018 11:53 am
by lmiltchev
This is happening because you stopped/started NPCD via the init script or the "old" commands:
Code: Select all
service npcd stop
service npcd start
Try running:
Code: Select all
systemctl stop npcd
systemctl start npcd
then schedule an immediate check from the web UI. Are you getting the expected result now?
Note: In the future versions of XI, we will improve the way manage_services script works, and may even add npcd as a service in systemd, but for now you could start/stop the daemon using the systemctl commands as a "workaround".
Let us know if this helped. Thanks!
Re: Issue with manage_services.sh script...
Posted: Tue Nov 27, 2018 12:14 am
by vishfx
Perfect, Thanks , now it works !!!
Re: Issue with manage_services.sh script...
Posted: Tue Nov 27, 2018 9:17 am
by scottwilkerson
vishfx wrote:Perfect, Thanks , now it works !!!
Great!
Locking thread