Hello, we are happy to help you.
First of all, we recommend that you consult this link within the OpenNebula documentation.
This explains how you can create your own hooks and get the value of the variables passed to the script.
And about the arguments, these are the arguments that are passed to the script you want to execute. And in the previously shared link you can see how to use them.
Please, any questions just let us know.