title: Const command not found
body: <p>I am setting up Nagios <code>check_hpjd</code> plugin, but it doesn't recognize "const" command.</p>
  
  <p>I am using Nagios 4.x on a Linux server, and was setting up some network printers to monitor and decided to add <code>check_hpjd</code> plugin, for more detailed information, but unfortunately it started to give me:</p>
  
  <blockquote>
    <p>/libexec/check_hpjd: line 1: const: command not found.</p>
  </blockquote>
  
  <p>I think it is pointless to copy the whole <code>check_hpjd</code> plugin code here, I just copy the first line here, the system gave me error on:</p>
  
  <pre><code>const char *option_summary = "-H host [-C community]\n";
  </code></pre>
  
  <p>Should I define the const character somehow or how can I fix it, tried to look from several sources on web aswell, but there is very little info about it unfortunately.</p>