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
check_xi_by_ssh
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_xi_by_ssh
check_by_ssh should be located in:
Do you get the same error when you manually run the command from the CLI?
Code: Select all
/usr/local/nagios/libexecRe: check_xi_by_ssh
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
Actually, the path to the executable is
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
/usr/local/nagios/libexec/check_by_sshIf 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