08-27-2008 06:47 PM - edited 03-09-2019 09:21 PM
We have an ASA5550. What do you normally setup for Email notification? Do you setup Alerts, Notifications, Warnings, Emergency, Critical, etc.? Do these notifications also send to the Sys Log server in addition to the email notification?
Thanks.
Diane
08-27-2008 10:44 PM
Yes it will send logs to both syslog and Email. Also you can setup different sev levels.
here is an example for sending notifications to Email and syslog server :-
logging on
logging from myasa1@xyz.com
logging recipient-address admin@xyz.com
logging mail 3
smtp-server
logging host DMZ
--- setting a log sev-level is recommended, otherwise the mail server will be flooded. "logging mail 3" should be OK for Email notifications, sending only emergency, critical, alert and error logs only.
Also on the SMTP server, allow the ASA IP to send emails.
08-31-2008 08:47 PM
Thanks for your prompt response and information.
1. When I typed "logging host", I only got 3 choices: Inside, Outside, Management. So, I selected Inside
2. I typed your commands. However, when I typed Show Run, I got these statements instead. Do they mean the same thing as yours? I am running 7.1(2)
3. How do I test email notification? By the way, I have two SMTP servers.
logging enable
logging mail errors
logging from-address myasa1@xyz.com
logging recipient-address admin@xyz.com level errors
smtp-server 192.168.1.10 192.168.1.11
logging host Inside 192.168.1.1
Thanks.
Diane
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide