title: Nagios - how to use logical operators in args passed to NRPE server
body: <p>I need to use logical operators on the passed argument to NRPE as Strings.  the operator is also used by NRPE as the FIELD separator. Which is the splat or ! token. </p>
  
  <p>different ways of quoting the passed arg.  no affect. </p>
  
  <pre><code>Nagios Command.cfg
  define command{
          command_name    check_remote_container_broker_health
          command_line    $USER1$/check_jmx4perl $ARG1$ $ARG2$ $ARG3$
          }
  
  Nagios Remote Service
  define service{
          use                             generic-service
          host_name                       alphprdfuse1i
          service_description             Container IPRCMT1 Broker Health
          check_command                   check_nrpe!check_remote_container_broker_health!-a '--user iprcmtx --password G00gl3M3 --url http://localhost:9091/jolokia --mbean org.apache.activemq:type=Broker,brokerName=amq,service=Health --attribute CurrentStatus --string --critical '!Good''
          }
  </code></pre>
  
  <p>NRPE server
  NRPE.cfg</p>
  
  <pre><code>command[check_remote_container_non_heap_used]=/usr/local/nagios/libexec/check_jmx4perl $ARG1$ $ARG2$
  </code></pre>
  
  <p>When NRPE evaluates the statement, it should perform as 
  if return.string NOT EQUAL Good</p>
  
  <p>but, NRPE is seeing this as a Field Delimiter</p>
  
  <p>thank you</p>