XI 5.4.0 Disappeared plugins

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

XI 5.4.0 Disappeared plugins

Post 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?
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: XI 5.4.0 Disappeared plugins

Post 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
Previous Nagios employee
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: XI 5.4.0 Disappeared plugins

Post 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...
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: XI 5.4.0 Disappeared plugins

Post 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?
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: XI 5.4.0 Disappeared plugins

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: XI 5.4.0 Disappeared plugins

Post 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.
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: XI 5.4.0 Disappeared plugins

Post 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!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: XI 5.4.0 Disappeared plugins

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked