Forum Discussion
bsb
Dec 29, 2017Nimbostratus
iRule to trigger email for captured logs
team,
have an iRule for capturing logs which works as expected.
now i would like to send the log which was captured with commment.
irule used
when CLIENT_ACCEPTED {
if { not [class match [IP::cl...
nitass
Employee
this is mine.
// config
[root@ve13a:Active:In Sync] config cat user_alert.conf
alert TEST "Rejecting this request (.*)" {
email toaddress=
fromaddress="root@bigip.local"
body="The test of this Solution worked!"
}
// log
[root@ve13a:Active:In Sync] config tail /var/log/ltm
Dec 29 18:42:49 ve13a info root: Rejecting this request 1.2.3.4
// email
-----Original Message-----
From: root@bigip.local [mailto:root@bigip.local]
Sent: Friday, December 29, 2017 6:43 PM
To:
Subject: Rejecting this request 1.2.3.4
The test of this Solution worked!
bsb
Dec 29, 2017Nimbostratus
@jaikumar_f5 I had a query in one of the post which you posted, not sure how to route this question directly to you, posted in forum with subnet " Fetch all details about VS, POOLS, Nodes, etc.", could you please guide on that.
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