Thales_92506
Sep 13, 2011Nimbostratus
How to send a email if a condition is executed?
Hi guys. I'm new to iRules and i need to make a rule where an email must be sent if a condition is verified.
In other topics i saw that we need to use a log statement and then link this to a email notification. How do i do this?
My real problem is this: we have a monitor for pool members and it makes a http request to check if the they are responding. We need to check if a word comes in the receive string, but it seems that the receive string does not contain the entire web page requested. How can i do to get this entire string?
And if the word does not come in the string, how to send an email to notify us?
Like i said, i'm new to it, so sorry if i wrote any illogical thing.
Thanks!