lostnytechie_55
Apr 15, 2011Nimbostratus
Node Status change to trigger Script
Hi All,
Hope someone can help me with this. I'm currently using GTM Version 10.2.1 and I have a wideIP setup with a pool that has two members. Member 1 is set to Priority 3 and Member 2 is set to Priority 1. Whenever the status of one of these members changes, I would like a script to run. Normally with Tcl I would use either open or exec but they're both on the Disabled list. So how do I run a script that's located at /var/scripts/
So far this is what I have for my iRULE
when LB_SELECTED {
if { [LB::status] eq "up" or "down"}{
}
}
Any and all help on this would be extremely gratefully appreciated.
Thanks
Sam