check_xi_by_ssh

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
aquinlan
Posts: 2
Joined: Tue Sep 24, 2013 7:06 pm

check_xi_by_ssh

Post by aquinlan »

Recently installed a CentOS virtual host loaded with preconfigured NagiosXI. I'm trying to use the SSH Wizard but each time I try to configure a system I get '(Return code of 127 is out of bounds - plugin may be missing)'. The system being monitored is a Solaris 8 system so I don't think that nrpe is an option.

The service configuration file has these entries:

host_name italy
service_description Total Processes
use generic-service
check_command check_xi_by_ssh!-C "/usr/local/nagios/libexec/check_procs -w 150 -c 170"
...

I can find no check_xi_by_ssh executable on the nagios server. I looked or check_by_ssh but found no linux executable for that either.

What's wrong here?

Thanks for any help
aquinlan
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_xi_by_ssh

Post by slansing »

check_by_ssh should be located in:

Code: Select all

/usr/local/nagios/libexec
Do you get the same error when you manually run the command from the CLI?
aquinlan
Posts: 2
Joined: Tue Sep 24, 2013 7:06 pm

Re: check_xi_by_ssh

Post by aquinlan »

That's where I looked but it wasn't there. I was unable to find a check_xi_by_ssh anywhere either. Without finding the executables, how can I test the configuration file entry?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_xi_by_ssh

Post by scottwilkerson »

Actually, the path to the executable is

Code: Select all

/usr/local/nagios/libexec/check_by_ssh
check_xi_by_ssh is the name of the command.

If somehow you are missing the plugin, you can to the following and it should compile it

Code: Select all

wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd /tmp/nagiosxi/subcomponents/nagiosplugins/
./install
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked