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.

So, what could be the issue with the command definition not passing the
first 2 arguments?

Thanks,
Chris
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to