Hello, i just install Nagios Core 4.4.3 on FreeBSD 12.0-RELEASE and trying to monitor windows machine with check_ncpa.py, but it returns Return code of 127 is out of bounds. Check if plugin exists).
/usr/local/nagios/libexec]# which python
/usr/local/bin/python
/usr/local/nagios/libexec]# /usr/local/nagios/libexec/check_ncpa.py -V
check_ncpa.py, Version 1.1.3
/usr/local/nagios/libexec]# head -1 /usr/local/nagios/libexec/check_ncpa.py
#!/usr/bin/env python
commands.cfg
define command {
command_name check_ncpa
command_line $USER1$/check_ncpa.py -H $HOSTADDRESS$ $ARG1$
}
check_ncpa.py Return code of 127
Re: check_ncpa.py Return code of 127
What does the service definition look like? Are you able to run the full command on the command line?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.