cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
122
Views
0
Helpful
0
Replies
Highlighted
Beginner

Send log messages through emails from ASA, using group name instead of IP address?

I want to send emails when a firewalls with vpn detects that a VPN is down. I have this message in the cisco asa buffer:

4|Nov 21 2016 12:04:32|113019: Group = 190.81.188.124, Username = 190.81.188.124, IP = plm-sdu-gsni-1-internet, Session disconnected. Session Type: LAN-to-LAN, Duration: 0h:07m:43s, Bytes xmt: 25740, Bytes rcv: 25740, Reason: Lost Service

I also receive this message as an email:

<163>Nov 21 2016 12:04:32 plm-cagw-gsni-10 : %ASA-3-713123: Group = 190.81.188.124, IP = 190.81.188.124, IKE lost contact with remote peer, deleting connection (keepalive type: DPD)

But I would like to receive the message using the name , not the IP address. How can I do that?

This is part of my configuration:

name 190.81.188.124 plm-sdu-gsni-1-internet

logging enable
logging timestamp
logging list lista01 level informational class vpn
logging list lista01 message 713259
logging buffer-size 128000
logging console warnings
logging monitor warnings
logging buffered warnings
logging trap lista01
logging history warnings
logging asdm debugging
logging mail lista01
logging from-address tu_amigo_el_cagw10@ecampus.com.pe
logging recipient-address slizarraga@pe.ibm.com level errors
logging recipient-address jnahuero@pe.ibm.com level errors
logging device-id hostname
logging host sbb ir-syslog
logging class auth buffered debugging
logging class webvpn buffered debugging
logging class svc buffered debugging
logging class ssl buffered debugging
logging message 111009 level errors

Everyone's tags (1)