Support,
Can we track the user access info of Cisco Terminal Server ? Requirement are as below:
event1: when a user logs in
event2: when a user accessing any device through terminal server
action1: capture user info with time-stamp and append into a file in tftp server
action2: generate syslog messages with same info and report to syslog server
base template to capture user info is as below but it does not track device access info:
!
conf t
!
logging buffered 7
!
username bob password cisco
!
event manager applet test2
event cli pattern "enable" sync no skip no
action 1 cli command "enable"
action 1.2 cli command "term length 0"
action 2.1 cli command "show clock | append tftp://10.10.10.10/userinfo.txt"
action 2.2 cli command "show clock"
action 3 syslog msg "$_cli_result"
action 4.1 cli command "who | append tftp://10.10.10.10/userinfo.txt"
action 4.2 cli command "who"
action 5 syslog msg "$_cli_result"
!
!
line vty 0 4
!
login local
!
end