I am having an issue with a very basic event handler on Nagios 3.2.3.  I have the event handler defined with 3 macros: $HOSTSTATE$ $HOSTSTATETYPE$ $HOSTADDRESS$ all passed to a wrapper shell script that takes each macro as $1, $2, and $3.  In the wrapper script I added some echo statements as part of my troubleshooting to figure out why my script wasn't working.  If I run the script manually and pass the arguments as I expect, the script runs fine.  When Nagios executes it, as verified in the log, nothing is happening and it is because the first 2 arguments are not being passed to the script.  Interestingly, the third one is passed to the script.  <div>
<br></div><div>So, what could be the issue with the command definition not passing the first 2 arguments?</div><div><br></div><div>Thanks,</div><div>Chris</div>