I'm trying to get email sent when a value reach a certain number. In my case it's the number of nat sessions (let's say 10000).
I'm probably missing one step because emails are never sent.
Settings:
1) It's installed and enabled in Plugin Management
2) In Utilities > User Management I selected Send Test Email for my user
3) I installed settings and I receive an email when I select "send a test email" in Configuration > Settings > Mail/DNS
I think Settings is working just fine
Thold:
4) It's installed and enabled in Plugin Management
5) In Utilities > User Management I selected Configure Threshold Templates, Configure Thresholds, Manage Notification Lists, View Thresholds for my user
6) I created a list in Management > Notification Lists a list called "Test" and specified on mail address
7) I created one threshold alarm called "FW1 Sessions", Threshold Enabled is enabled, Threshold Type=High/Low Values, Re-Alert Cycle=1 minute, Warning High Threshold=9990, High Threshold=10000, for both of them Breach Duration=1mn, Warning Notification List and Alert Notification List and set with the list name "Test"
8.) If I select Management > Thresholds after some time i see that the line is red
Code: Select all
FW1 Sessions High/Low 10000 2000 1 Minute Every Minute 14826 yes Enabled
9) When i look at /var/log/maillog I see when the test email is sent with Configuration > Settings > Mail/DNS / Send Test Email but nothing when Thold should send the email
10) In the logs I see messages such as
Code: Select all
12/04/2011 11:41:07 AM - Threshold Breached ID: 1 DataTemplate: FW1 Sessions - 5 Minute Sessions DataSource: 5min_sessions Type: High/Low Enabled: on Current: 14826 High: 10000 Low: 2000 Trigger: 1 Minute Warning High: 9990 Warning Low: 3000 Warning Trigger: 1 Minute SentTo: myemail@isp.com
12/04/2011 11:41:07 AM - THOLD: Sending email to 'myemail@isp.com'
12/04/2011 11:41:06 AM - THOLD: Preparing to send email
12/04/2011 11:41:06 AM - THOLD: Alerting is necessary