We have this configuration:
CentOS release 5.4 (Final); 32 bit; Nagios XI 2014R1.3; No special configurations.Using Google Chrome.
We have already installed several plugins in our NAgios XI box, and based on our experience we have followed
the NRPE-Troubleshooting-and-Common-Solutions.pdf guide.
We want to monitor a SAP system using SAP CCMS plugin;
http://exchange.nagios.org/directory/Pl ... ns/details
We already compiled and from our nagios box it runs fine.
But when we try to configure in Nagios GUI the command we are getting (Return code of 127 is out of bounds - plugin may be missing)
The SAP CCMS plugin was installed directly in NAgios, and as mentioned; when you run from nagios command line you get
this output:
Code: Select all
[nagios@nagioscwp libexec]$ ./check_sap 0 SRG
Freespace=138751MB | Freespace=138751MB;50.000000;25.000000;0;
[nagios@nagioscwp libexec]$ ./check_sap 100 SRG
ResponseTime=360msec | ResponseTime=360msec;3000.000000;5000.000000;0;
[nagios@nagioscwp libexec]$ pwd
/usr/local/nagios/libexec
[nagios@nagioscwp libexec]$ ls -lrt check_sap
-rwxr-xr-x 1 nagios users 9836 Aug 15 14:56 check_sap
[nagios@nagioscwp libexec]$ more /etc/redhat-release
CentOS release 5.4 (Final)
[nagios@nagioscwp libexec]$ uname -a
Linux nagioscwp 2.6.18-164.9.1.el5 #1 SMP Tue Dec 15 21:04:57 EST 2009 i686 i686 i386 GNU/Linux
[nagios@nagioscwp libexec]$Code: Select all
Testing check from command line...
COMMAND: /usr/local/nagios/libexec/check_sap 0 SRG
OUTPUT: Where else should we look for more clues?