Execute local script before and after upgrades

Hello,

I need to connect Big Fix with an external monitoring tool.
The idea is to inform the monitoring tool before a server is rebooted and to inform the monitoring tool after.
I have a binary installed on the BIG FIX server which is able to communicate with the monitoring tool.

Do you know if there it is possible to execute a local custom scripts on the BIG FIX server with target server as an argument?

Thanks.

Is this answered by your other post? Target computer in action script