Lua - Preprocessing Script passing event.hostname to an action

Discussion created by swright on Aug 13, 2009
Latest reply on Aug 15, 2009 by swright

I'm trying to pass the hostname of an event in a preprocessor rule to a Lua script:


--I can pass the hostname to a print statement, but it does not pass to the action.ping statement.  I get attempt to index global 'action' ( a nil value ).  I've also tried passing event.hostname to the ping, same result. Ideas?