NCPA Plugin Return Code of 127
Posted: Thu Aug 08, 2019 8:51 pm
Hello,
I'm getting an error of "Return code of 127 is out of bounds. Check if plugin exists" when trying to check services with NCPA. I've uninstalled the plugin and reinstalled the plugin; still getting the same error. I've verified that there is data within the check_ncpa.py file. The permissions match the rest of the plugins. I'm running the VMware image of XI version 5.6.5. I've ran a couple discovery commands from other threads and have listed the output below.
I'm getting an error of "Return code of 127 is out of bounds. Check if plugin exists" when trying to check services with NCPA. I've uninstalled the plugin and reinstalled the plugin; still getting the same error. I've verified that there is data within the check_ncpa.py file. The permissions match the rest of the plugins. I'm running the VMware image of XI version 5.6.5. I've ran a couple discovery commands from other threads and have listed the output below.
Code: Select all
[root@***edit***NAGIOS libexec]#
[root@***edit***NAGIOS libexec]# ./check_ncpa.py -H ***edited*** -t '***edited***' -P -M cpu/percent -w 20 -c 40 -q 'aggregate=avg'
: No such file or directory
[root@***edit***NAGIOS libexec]#
Code: Select all
[root@***edit***NAGIOS libexec]# ./check_ncpa.py
: No such file or directory
[root@***edit***NAGIOS libexec]#
Code: Select all
[root@***edit***NAGIOS libexec]# file check_ncpa.py
check_ncpa.py: a /usr/bin/env python\015 script text executable
[root@***edit***NAGIOS libexec]#
Code: Select all
[root@***edit***NAGIOS libexec]# ls -la ./check_ncpa.py
-rwxrwxr-x 1 apache nagios 10567 Aug 7 16:15 ./check_ncpa.py
[root@***edit***NAGIOS libexec]#