/build/static/layout/Breadcrumb_cap_w.png

Create a device action for Wake on LAN on K1000 6.2 Appliance

Hi,

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

Answers (2)

Posted by: StockTrader 9 years ago
Red Belt
1
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:
KACE_HOST_IP
KACE_HOST_NAME
KACE_CUSTOM_INVENTORY_*
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
Posted by: SITEL 9 years ago
Purple Belt
0

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 ?

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ