Create a device action for Wake on LAN on K1000 6.2 Appliance
I would like to create a custom device action to use a program I have for Wake on LAN. But the problem is I need to give the IP and the MAC address in parameters to wake up the computer. For the IP I can use the KACE_HOST_IP variable but how can I recover the MAC address with a variable?
Thank you in advance for your reply.
Community Chosen Answer
You can create a Custom Inventory Rule that grabs the MAC Address and then use the Custom Inventory Rule name as variable in the Device Action.
From the K1000 documentation:
Device actions can be executed against known unmanaged and managed systems. During execution of a device action, the K1000 will replace action variables with their respective values. Currently supported variables are:
The * should be replaced with the software name which has a custom inventory rule. Upon performing Device Action, the name is replaced with the custom inventory rule value for the device. The software name should be added in upper case. Only allowed characters are [A-Z0-9.-]."
Hope this helps ;-)
Marco = StockTrader