where are custom macros located in mysql database
Posted: Wed Mar 16, 2016 8:52 am
Hello,
I am working on a Wake On Lan script that requires MAC address of a host to work. Because we use DHCP for our workstations I needed to write another script to find a hosts mac address using snmp. I now need to add the mac address to each host and would like to do it with a custom macro. Does anyone know how I can add a custom macro to a host using a script? I figure there has to be a way to add this information in to mysql database programmatically.
I am working on a Wake On Lan script that requires MAC address of a host to work. Because we use DHCP for our workstations I needed to write another script to find a hosts mac address using snmp. I now need to add the mac address to each host and would like to do it with a custom macro. Does anyone know how I can add a custom macro to a host using a script? I figure there has to be a way to add this information in to mysql database programmatically.