Forum Discussion
hooleylist
Aug 17, 2006Cirrostratus
Hello,
You can use the 'log' statement in a rule to log an event. There are a few other processes to configure to parse that log info and generate an email.
The general flow is from the rule to syslog-ng to alertd to postfix. You also need to configure a custom SNMP trap--but SNMP isn't actually used to send the alert.
The log statement in a rule can be used like this (where local0.info is the syslog facility.syslog severity) and the quoted string is the message that is generated:
log local0.info "My log statement"
To configure a custom SNMP trap see SOL3727:Click here
To configure the triggering of an email based on an SNMP trap, see SOL3667:Click here
To configure Postfix to actually send the email, see SOL3664:Click here
So there are a few steps to go through, but each of them is fairly well documented.
All but the actual iRule log statement is outside the scope of DevCentral, so if you have questions or configuration issues, please contact support.
Thanks,
Aaron