We are yet to support automation actions for On-Premise Poller. Executing any commands in the On-Premise Poller machine as part of automation is not possible for now. However, you can add automation actions in the respective monitors.
As an example, you can add automation action like Invoke API for a ping monitor that is being monitored by On-Premise Poller. To do this, create an IT Automation template by navigating to Admin > IT Automation Templates > Add Automation Templates.
You can add additional incident parameters to the API requests which will be executed from Site24x7.
To associate an automation template to an existing monitor, edit the monitor and choose the template under Configuration Profiles. You can specify when the automation should be executed like when monitor goes Down, Critical etc.
Hope this helps you.