anchor.diff:      command_name    check_jboss_datasource
       command_line    $USER1$/nagios-plugin-jbossas7/check_jbossas7.py -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -u $ARG3$ -p $ARG4$ -d $ARG5$ -s $ARG6$ -W $ARG7$ -C $ARG8$
    }
  +
  + define command {
  +    command_name    check_jboss_threading
  +    command_line    $USER1$/nagios-plugin-jbossas7/check_jbossas7.py -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -u $ARG3$ -p $ARG4$ -t $ARG5$ -W $ARG6$ -C $ARG7$
  + }
    
   (add -D to the command if you want to add perfdata to the output)
   Then you can reference it like the following.
  
positive.code: 
  ==== Threading ====
  
  ===== Check total started thread count =====
  
  
  ==== DataSource ====
  
  Following statistics are supported:
  
  .Table Datasource Monitoring Metrics
  [cols="3*", options="header"]
  
negative.code: 
  |===
  
  ==== Messaging ====
  
  ===== Check JMS Queue Depth =====
  