Forum Discussion
youssef1
Jan 18, 2019Cumulonimbus
Hi,
So First of you have to create your Icall.
create sys icall my_icall_name
Then create your Icall Handler :
create sys icall handler triggered my_icall_name
In Your Irule set a specific logs that will be trigged by "/config/user_alert.conf"
when HTTP_REQUEST {
if { [HTTP::uri] contains "/exp" } {
log local0. "TRIG"
}
}
Then edit /config/user_alert.conf and add the following alert
alert testing "TRIG" {
exec command="tmsh generate sys icall event my_icall_name"
}
Keep me in touch if you need more details.
regards