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.

0 Comments   [ + ] Show Comments


Please log in to comment

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 ;-)
 Kind regards,
Marco = StockTrader
Answered 12/04/2014 by: StockTrader
Red Belt

Please log in to comment



My problem is the custom inventory rule. I don't know how to recover the MAC address of a computer. Do you know if it's possible to recover the MAC address from the Kace database ?

Answered 12/04/2014 by: dude87
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity