The following configuration example will kill any telnet session that has been running for 15 minutes. It does not distinguish between an idle session and a session actively being used. Refer to our Signoff Sentry application to configure telnet sessions to be stopped after being IDLE (no input) for a certain amount of time.
——
# ALRTFILE.DAT
# Detect telnet sessions lasting longer than 15 minutes
[Alert = 15]
Type = Process
Name = ADXHSIuL
LifetimeMinutes = 15
Interval = 1
Action ID = 1, 10, 26
——
# ACTNFILE.DAT
# Stop a telnet session
[Action = 26]
Type = Stop Program
NodeID = %m
Program Name = ADXHSIuL
Leave A Comment