title: How do I use a Nagios Perl Plugin?
body: <p>I am trying to monitor my CAS server using a Nagios plugin listed on the JASIG site.</p>
  
  <p>The script runs fine from the command line, so I put it in <code>/usr/local/nagios/libexec</code>, made it executable and restarted Nagios.</p>
  
  <p>The command I used is:</p>
  
  <pre><code>define command {
      command_name    check_cas
      command_line    check_cas.pl -H cas.baba.org -u "/cas/login" -p 8443 -l abc -a booey -r "Log In Successful"
  }
  </code></pre>
  
  <p>From what I can tell, the plugin is not being found:</p>
  
  <pre><code> (Return code of 127 is out of bounds - plugin may be missing) 
  </code></pre>
  
  <p>Is there something else I need to do?</p>