WOL Function

I read through this thread about using a WOL application. I was successfully able to do this without a batch file using the mc-wol app. I just put the app on C: and used this command:

c:\mc-wol [Device.MacAddressesColumn]

It works great. The problem is, I have to create that for every single device manually. I was wondering if any good programmers out there know of a way to have this created automatically for every device that gets discovered on the network. Try to create this manually for almost 300 devices would be quite tedious. Thanks!

I am not sure how you plan to use it… Where are you placing it to create it on each device?

From reading a couple of your posts maybe this will help…

Create a New tool, put your command in the tool and assign it to all devices or pick a specific device type…
wol.JPG
Then you can right click on a device and select that tool.

There is also a function that can run “execute” for example You could make 2 probes, one, tests both ping and http through the logic type of probe and two, a WOL probe that runs the execute function, then you could tie that to a new notification… if the probe pinghttp is down call the probe.WOL… Although I have not done it, it looks possible.

Also you can have it so the WOL only works on certain days or times…

NOTES FOR EXECUTE function … executes program, returns array of three elements - return code, standard output, standard error. return code is -1 if error occurs. Only first parameter mandatory. First paramerter - command, second - parameters, third - path, forth - input string to pass to program, fifth - timeout in seconds (default 5.0)

HTH

Very helpful, that was it exactly. Thanks!