Page 1 of 1

How to check nrpe service status/start/stop under xinetd?

Posted: Mon Oct 03, 2016 10:30 am
by srikgali
can i know how to check nrpe agent start/stop/status, which is running under xinetd?

Re: How to check nrpe service status/start/stop under xinetd

Posted: Mon Oct 03, 2016 1:22 pm
by avandemore
Easiest way is use "netstat -plnt | grep 5666" it may require installing netstat depending on your distro/version.

Did this resolve your issue?

Re: How to check nrpe service status/start/stop under xinetd

Posted: Mon Oct 03, 2016 2:14 pm
by lmiltchev
If NRPE is running under xinetd, you can just check if xinetd is running.

Code: Select all

service xinetd status

Re: How to check nrpe service status/start/stop under xinetd

Posted: Tue Oct 04, 2016 1:52 pm
by srikgali
Thanks for your reply, but i am not sure how to start/stop nrpe under xinetd.

Re: How to check nrpe service status/start/stop under xinetd

Posted: Tue Oct 04, 2016 4:06 pm
by lmiltchev
To stop:

Code: Select all

service xinetd stop
To start:

Code: Select all

service xinetd start
To restart:

Code: Select all

service xinetd restart