Issue with manage_services.sh script...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vishfx
Posts: 134
Joined: Tue Apr 24, 2018 12:30 pm

Issue with manage_services.sh script...

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Issue with manage_services.sh script...

Post 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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
vishfx
Posts: 134
Joined: Tue Apr 24, 2018 12:30 pm

Re: Issue with manage_services.sh script...

Post by vishfx »

Perfect, Thanks , now it works !!!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Issue with manage_services.sh script...

Post by scottwilkerson »

vishfx wrote:Perfect, Thanks , now it works !!!
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked