Page 1 of 1

Issue with check_init_service plugin

Posted: Mon Mar 18, 2019 12:40 pm
by bsivavani
Hi,

We are trying to monitor kafka-manager service using check_init_service plugin and kafka-manager service available in /etc/init.d/kafka-manager

When we check the status of service, we are getting service is in stopped state even though it is running at backend and getting the same message in Nagios console.
[root@XXXX libexec]# service kafka-manager status
kafka-manager is not running.
[root@XXXX libexec]#

Kindly advice ?

Re: Issue with check_init_service plugin

Posted: Mon Mar 18, 2019 2:59 pm
by cdienger
Do you see it running if you run:

Code: Select all

/bin/systemctl is-active kafka-manager
?

One other thing to consider is it may be starting via a different method outside of an init script. I

Re: Issue with check_init_service plugin

Posted: Mon Mar 18, 2019 11:55 pm
by bsivavani
We are RHEL 6 server.

Systemctl is RHEL 7 command.

Re: Issue with check_init_service plugin

Posted: Tue Mar 19, 2019 9:04 am
by cdienger
Ticket received. Closing thread.