Is it possible to pass variables to event handler scripts?
My event handler script runs, but when I try to pass a variable like the following example it doesn't work:
Edit Host->Service Checks->Exceptions->Eventhandler: restart_vpn.sh %VPN_RESTART:1% %VPN_RESTART:2% %VPN_RESTART:3% %VPN_RESTART:4%
VPN_RESTART is my variable, which includes vpn router IP, username, password and remote peer IP.
The script runs, but the variable resolves the to the variable name ( etc. %VPN_RESTART:4%)
Did I miss anything?
Regards - Mads