nrpe launch with /etc/init vs xinetd

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

nrpe launch with /etc/init vs xinetd

Post by awilson »

Hi.
A server team builds the infrastructure servers and our team monitors the servers. Our standard (expected) scenario is that nrpe is launched using xinetd on Linux systems and as a daemon on AIX systems.

Occasionally we encounter Linux systems that have nrpe running as a daemon. It is also configured to start with xinetd. This stops the active checks from running. The daemon is started using /etc/init/nrpe.conf.

Which install method causes this because I want to tell them to stop using it.

Thanks!

Code: Select all

[root@remoteserver init]# cat nrpe.conf
# nrpe - the Nagios Remote Plugin Executor
#
# nrpe is a program that runs plugins on this host
# and reports the results back to a nagios server
#
# Copyright (c) 2016 Nagios(R) Core(TM) Development Team

description             "the Nagios Remote Plugin Executor"

oom -10

start on started network
stop on runlevel [!2345]

respawn

exec /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -f
[root@remoteserver init]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: nrpe launch with /etc/init vs xinetd

Post by tgriep »

There are a lot of different way to install the agent and different version of the agents and the installer changes how it installed by OS and release, it is hard to give a definitive answer.

From what I have seen, the packages not provided by Nagios install the agent as a daemon for the most part.

The linux installer that is accessible / downloaded in the XI GUI is started using xinetd.
https://assets.nagios.com/downloads/nag ... _Agent.pdf
https://assets.nagios.com/downloads/nag ... ent.tar.gz
Be sure to check out our Knowledgebase for helpful articles and solutions!
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: nrpe launch with /etc/init vs xinetd

Post by awilson »

Thank. You can close this.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: nrpe launch with /etc/init vs xinetd

Post by tgriep »

Will do.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked