Return code of 127 for check of service ... was out of bound
Posted: Tue Mar 29, 2011 2:57 am
I have just installed a custom plugin and I keep on getting "Make sure the plugin you're trying to run actually exists".
Below is my command definition
Following is the service definition
Even more evidence that the plugin does exist
I could not figure out why it is complaining that the plugin does not exist. Am I missing something?
Below is my command definition
Following is the service definition
Even more evidence that the plugin does exist
Code: Select all
$ ls -l /usr/local/nagios/libexec/Automation/check_linux_uptime
-rwxr-xr-x 1 nagios nagios 1063 Mar 29 03:34 /usr/local/nagios/libexec/Automation/check_linux_uptime
$ file /usr/local/nagios/libexec/Automation/check_linux_uptime
/usr/local/nagios/libexec/Automation/check_linux_uptime: Korn shell script text executable
$ /usr/local/nagios/libexec/Automation/check_linux_uptime duk1srv0150
Uptime check for host duk1srv0150 completed with status COMPLETED
I could not figure out why it is complaining that the plugin does not exist. Am I missing something?