Get values from IPmonitor

I need to take an automated action depends on IPmonitor alert job.

For example:

I have a monitor job to monitor internet lines. when one line is down, the alert will start then I need to take the output value to a script to do some commands on cisco router to move the traffic to another line.

Is there something to do that ?