title: Nagios NRPE: Command not defined
body: <p>In my <code>nrpe_local.cfg</code> added following command:</p>
  
  <pre><code>command[check_mycommand]=/usr/lib/nagios/plugins/check_command 30 35
  </code></pre>
  
  <p>and then restarted nrpe daemon.</p>
  
  <p>When I execute this command using <code>nrpe</code> I'm getting the following error:</p>
  
  <pre><code>NRPE: Command 'check_mycommand' not defined
  </code></pre>
  
  <p>I used following command to execute:</p>
  
  <pre><code>/usr/lib/nagios/plugins/check_nrpe -H hostname -c check_mycommand
  </code></pre>
  
  <p>I am unable to get any clue.</p>
  
  <p>In my <code>nrpe_local.cfg</code> there are 10 more commands added and they are working properly.</p>