Hi all,
i have a python script that i need to be executed when a certain type of server is discovered.
Information is provided by HostMetaData.
For example:
<hostname> ILO=<ilo_ip>
I need to execute the mention above script upon discovery, and provide it with hostname and ilo_ip from the metadata.
Anybody can point me please in the correct direction ?
I know that i need to create an autoregistrtion action "remote command", and then select "custom script", but how can i parse the values from metadata and provide it as arguments?
i have a python script that i need to be executed when a certain type of server is discovered.
Information is provided by HostMetaData.
For example:
<hostname> ILO=<ilo_ip>
I need to execute the mention above script upon discovery, and provide it with hostname and ilo_ip from the metadata.
Anybody can point me please in the correct direction ?
I know that i need to create an autoregistrtion action "remote command", and then select "custom script", but how can i parse the values from metadata and provide it as arguments?
Comment