I've got a vendor that supports some specialized equipment, the network engineer before me set them up with remote access VPN terminating to a Cisco ASA 5510 so they can remotely administer/troubleshoot the system.
The requirements is to get alert/notification (E-mail or syslog) when the VPN connection is established and when it is disconnected. this is mainly for billing purposes i.e when they vendor claims they spent X hours doing work, we would like some verification method.
I'm hoping someone can point me in the right direction, or if there is a better way of doing this, I'm open to ideas ?
EDIT to show what I've attempted so far
This is the config I have on the ASA from when I tried it last time, didn't work.
logging enable logging timestamp logging buffered notifications logging trap critical logging history notifications logging asdm informational logging from-address [ASA email] logging recipient-address [myemail address] level critical logging host inside [syslog server] logging class vpn mail debugging logging class vpnc mail debugging