Page 1 of 1

XI 5.4.0 Disappeared plugins

Posted: Mon Mar 06, 2017 3:03 pm
by gormank
Missing on the Nagios host but there on a client:
/usr/local/nagios/etc/nrpe/common
/usr/local/nagios/etc/nrpe/common/asterisk.cfg
/usr/local/nagios/etc/nrpe/common/common.cfg
/usr/local/nagios/libexec/check_init_service

The check_mysql_health command has also disappeared, but the script still exists, so I can recreate the command.

Should I just install the latest nrpe on the Nagios XI host?

Re: XI 5.4.0 Disappeared plugins

Posted: Mon Mar 06, 2017 3:57 pm
by avandemore
Generally, NRPE client isn't run on the XI host. Installing the client there shouldn't be an issue, but the /usr/local/nagios/etc/nrpe/common isn't need for a NRPE client to run. I believe that mostly comes from this installer:

https://assets.nagios.com/downloads/nag ... _Agent.pdf

However I believe this one will give you a newer NRPE version without some of the extra parts:

https://assets.nagios.com/downloads/nag ... e/NRPE.pdf

Re: XI 5.4.0 Disappeared plugins

Posted: Mon Mar 06, 2017 4:26 pm
by gormank
Installing Nagios XI brings along xinetd and xinetd runs nrpe, or the commands get executed directly. Since I had to add the Nagios XI hosts to /etc/xinetd.d/nrpe on the Nagios XI hosts to get checks to run on the Nagios XI hosts in order to monitor the Nagios XI hosts, it would seem nrpe is used.

I haven't installed nrpe. I still have the nagiosxi install dir, and no linux-nrpe-agent.

Still looking for a valid answer to my questions...

Re: XI 5.4.0 Disappeared plugins

Posted: Mon Mar 06, 2017 5:25 pm
by ssax
I see the differences in the XI NRPE install vs the linux-nrpe-agent install (it just copies the common stuff and also sets up the check_init_service as you've found), I've reached out to the developers to get clarification on this, I think it should be added to the XI NRPE install as well but they may have done it for a reason), I will let you know what they say.

As for your check_mysql_health command being missing, was this a fresh install of 5.4.0 or an upgrade?

Re: XI 5.4.0 Disappeared plugins

Posted: Mon Mar 06, 2017 5:39 pm
by gormank
Fresh install on new servers and monitoring new servers on all on RHEL 7.3.
There are lots of things that have changed, commands disappeared, new ones added, etc. Then again my old system is 2014R2.6, so things may have been changing for a while.
In checking available commands and what happens when wizards are run, I see things starting to lean toward the new API and new check_ci_* commands. Looks like there's a promising check_xi_mysql command in the list.

Re: XI 5.4.0 Disappeared plugins

Posted: Mon Mar 06, 2017 5:48 pm
by ssax
I talked to the devs and they said that they weren't sure why it's missing but it propbably was never added because you don't usually check the localhost with NRPE and it was likely an oversight not to include it since you may be checking other XI servers through NRPE.

I've requested that this feature be added:

Code: Select all

XI - fullinstall/upgrade - NRPE doesn't add common.cfg/asterisk.cfg/check_init_service like linux-nrpe-agent adds
- I added this note as well:
I think it should add them in the event you are checking other XI servers through NRPE as well, that way they don't have to change anything.
You should just be able to run the linux-nrpe-agent installer and it will set those up, there should not be any harm done to the system since it uses the same paths.

Re: XI 5.4.0 Disappeared plugins

Posted: Mon Mar 06, 2017 6:33 pm
by gormank
I monitor the XI hosts just like all other hosts so the nrpe setup needs to be the same. Maybe that's strange...
I'll install it on the nagios boxes and see how it goes.

This can be closed.

Thanks!

Re: XI 5.4.0 Disappeared plugins

Posted: Tue Mar 07, 2017 10:54 am
by cdienger
We'll close this thread as requested. Feel free to open a new thread if needed for the install or PM me if you'd like to reopen this one.