title: Nagios Plugin Error: (No output on stdout) ... failed. errno is 2: No such file or directory
body: <p>I am using custom Nagios plugins for the first time and am running into this error when I create a service for the plugin.</p>
  
  <pre><code>(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_load.py, ...) failed. errno is 2: No such file or directory
  </code></pre>
  
  <p>The plugin works when I run it on the command line, however does not work when it runs within Nagios.</p>
  
  <p>I followed these steps to get the plugin into Nagios
  <a href="https://assets.nagios.com/downloads/nagiosxi/docs/Managing-Plugins-in-Nagios-XI.pdf" rel="noreferrer">https://assets.nagios.com/downloads/nagiosxi/docs/Managing-Plugins-in-Nagios-XI.pdf</a></p>
  
  <p><a href="http://i.stack.imgur.com/ZJ2Kj.png" rel="noreferrer">Here is what it looks like in the Nagios UI</a></p>
  
  <p>The plugin is in the correct path: /usr/local/nagios/libexec and the resource.cfg file has the same path within it.</p>
  
  <p>I tried two separate plugins, both which work on the command line, and the result is the same error.</p>
  
  <p>The error indicates the file location is incorrect, however the plugin is in the specified directory and runs with no errors within that directory. </p>
  
  <p>I am totally stumped and appreciate any help.</p>