sadat khan
2012-10-25 11:28:29 UTC
sadat khan [http://community.zenoss.org/people/sadat.ali.khan] created the discussion
"calling script from transform..."
To view the discussion, visit: http://community.zenoss.org/message/69526#69526
--------------------------------------------------------------
hello,
       i am calling a script from my transform and i have to pass evt.message as an arguement to the script... i am setting my command as
cmd = '<script path>' + evt.message
os.system(cmd)
   but the transform does not seemt to run... is there a special way to pass evt.message as an arguement ?
regards
Sadat
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69526#69526]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"calling script from transform..."
To view the discussion, visit: http://community.zenoss.org/message/69526#69526
--------------------------------------------------------------
hello,
       i am calling a script from my transform and i have to pass evt.message as an arguement to the script... i am setting my command as
cmd = '<script path>' + evt.message
os.system(cmd)
   but the transform does not seemt to run... is there a special way to pass evt.message as an arguement ?
regards
Sadat
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69526#69526]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]