ccwells

rsp probe mechanics: mapping Lua script functions for discovery

Discussion created by ccwells on Jan 26, 2011

Is there any way to map Lua script functions outside of the rsp probe GUI?


It looks like the mappings end up being stored in the rsp.cfg file, albeit encrypted in some fashion:

 

 

---8<--- <LuaScripts>    <discover_cpu>       <WINDOWS>          command = RGEGmZD3ZSaAgSz7UqxAoQ==          function = Z7eLiV9737Owmw/F3Sx5jA==          script = EDU0+Dbnq3z0vddCya0E1Q==       </WINDOWS>       <AIX>          command = 0JVkK/BLBCMdlugyuG6JU1HnFzuZExkcs2knqCb5R1g=          function = uQyegrFfp6LiaxtCrI2oBCB51UDMuFDliPQZEyCM/wI=          script = EDU0+Dbnq3z0vddCya0E1Q==       </AIX>       <SOLARIS>          command = X8cFnMZI1rCL8RVR4I7y82Z1tT9f1shQ2hGDL+mowgE=          function = p7aG0YOfrvoMG5QB76XuqQ==          script = EDU0+Dbnq3z0vddCya0E1Q==       </SOLARIS>       <LINUX>          command = Wq9J9+haDl4KodUjU+m8j+U9xDUJ35BCvDaGlr1/lPg=          function = F6Zqg0ouJradr090KDi82xaJ44bCPtlSO3FtbEv6idY=          script = EDU0+Dbnq3z0vddCya0E1Q==       </LINUX>       <HP-UX>          command = w5LK072LVKsd4VcIPbMPoB0umh/4x35b1O3ZElt5FVc=          function = ocoVPWAcpsj91YxbkP+0XQ==          script = EDU0+Dbnq3z0vddCya0E1Q==       </HP-UX>       <OSF1>          command = /bwWbPO9foRknPwrHHV1Vd1ZCctfiKMOAqQmP3cURzUTnDKVh4atUKzXgl9LhoOL          function = ZPa6kmm8P4SN2LNHRNmmwg==          script = EDU0+Dbnq3z0vddCya0E1Q==       </OSF1>       <IRIX>          command = w5LK072LVKsd4VcIPbMPoGZ1tT9f1shQ2hGDL+mowgE=          function = 6HmVQk7lOa1IsbK17StmPA==          script = EDU0+Dbnq3z0vddCya0E1Q==       </IRIX>    </discover_cpu> --->8---

 

 

 

I'm documenting the process to add support for Mac OS X, however the Script->Function->Command mapping is a tedious and error-prone step that I would prefer to avoid if possible.

 

Thanks,


Charlie


Outcomes