Forum Discussion
Hebex_35785
Nimbostratus
Mar 11, 2009Generic command in user_alert.conf
Hi,
I would like to execute a generic command when the state of a instance change
Is it possible to keep the message and pass it to my commande
Ex:
alert BIGIP_GTMD_MONITOR_INSTANCE_STATE_CHANGE "Monitor instance (.*) (.*).*) (.*) --> (.*) from (.*) (.*)"
{
exec command="/usr/local/bin/my_command $LOG"
}
With result :
/usr/local/bin/my_command Monitor instance HTTP x.x.x.x:80 DOWN --> UP from x.x.y.y (state: success)
Tanks
Romain
11 Replies
- Ed_Hammond_2611
Nimbostratus
See also
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects