-
Notifications
You must be signed in to change notification settings - Fork 726
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New template: cisco_asa_show_vpn-sessiondb (#636)
- Loading branch information
Showing
4 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
Value ANYCONNECT_CLIENT_ACTIVE (\d+) | ||
Value ANYCONNECT_CLIENT_CUMULATIVE (\d+) | ||
Value ANYCONNECT_CLIENT_PEAK_CONCURRENT (\d+) | ||
Value ANYCONNECT_CLIENT_INACTIVE (\d+) | ||
Value SSL_TLS_DTLS_ACTIVE (\d+) | ||
Value SSL_TLS_DTLS_CUMULATIVE (\d+) | ||
Value SSL_TLS_DTLS_PEAK_CONCURRENT (\d+) | ||
Value SSL_TLS_DTLS_PEAK_INACTIVE (\d+) | ||
Value CLIENTLESS_VPN_ACTIVE (\d+) | ||
Value CLIENTLESS_VPN_CUMULATIVE (\d+) | ||
Value CLIENTLESS_VPN_PEAK_CONCURRENT (\d+) | ||
Value VPN_BROWSWER_ACTIVE (\d+) | ||
Value VPN_BROWSWER_CUMULATIVE (\d+) | ||
Value VPN_BROWSWER_PEAK_CONCURRENT (\d+) | ||
Value TOTAL_ACTIVE_AND_INACTIVE (\d+) | ||
Value TOTAL_CUMULATIVE (\d+) | ||
Value DEVICE_TOTAL_VPN_CAPACITY (\d+) | ||
Value DEVICE_LOAD_PERCENT (\d+) | ||
Value TUNNELS_SUMMARY_CLIENTLESS_ACTIVE (\d+) | ||
Value TUNNELS_SUMMARY_CLIENTLESS_CUMULATIVE (\d+) | ||
Value TUNNELS_SUMMARY_CLIENTLESS_PEAK_CONCURRENT (\d+) | ||
Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_ACTIVE (\d+) | ||
Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_CUMULATIVE (\d+) | ||
Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_PEAK_CONC (\d+) | ||
Value TUNNELS_SUMMARY_SSLTUNNEL_ACTIVE (\d+) | ||
Value TUNNELS_SUMMARY_SSLTUNNEL_CUMULATIVE (\d+) | ||
Value TUNNELS_SUMMARY_SSLTUNNEL_PEAK_CONCURRENT (\d+) | ||
Value TUNNELS_SUMMARY_DTLSTUNNEL_ACTIVE (\d+) | ||
Value TUNNELS_SUMMARY_DTLSTUNNEL_CUMULATIVE (\d+) | ||
Value TUNNELS_SUMMARY_DTLSTUNNEL_PEAK_CONCURRENT (\d+) | ||
Value TOTALS_ACTIVE (\d+) | ||
Value TOTALS_CUMULATIVE (\d+) | ||
|
||
Start | ||
^\s*\-+\s*$$ | ||
^\s*VPN\s+Session\s+Summary\s*$$ | ||
^\s*Active\s+:\s+Cumulative\s+:\s+Peak\s+Concur\s+:\s+Inactive\s*$$ | ||
^\s*AnyConnect\s+Client\s+:\s+${ANYCONNECT_CLIENT_ACTIVE}\s+:\s+${ANYCONNECT_CLIENT_CUMULATIVE}\s+:\s+${ANYCONNECT_CLIENT_PEAK_CONCURRENT}\s+:\s+${ANYCONNECT_CLIENT_INACTIVE}\s*$$ | ||
^\s*SSL/TLS/DTLS\s+:\s+${SSL_TLS_DTLS_ACTIVE}\s+:\s+${SSL_TLS_DTLS_CUMULATIVE}\s+:\s+${SSL_TLS_DTLS_PEAK_CONCURRENT}\s+:\s+${SSL_TLS_DTLS_PEAK_INACTIVE}\s*$$ | ||
^\s*Clientless\s+VPN\s+:\s+${CLIENTLESS_VPN_ACTIVE}\s+:\s+${CLIENTLESS_VPN_CUMULATIVE}\s+:\s+${CLIENTLESS_VPN_PEAK_CONCURRENT}\s*$$ | ||
^\s*Browser\s+:\s+${VPN_BROWSWER_ACTIVE}\s+:\s+${VPN_BROWSWER_CUMULATIVE}\s+:\s+${VPN_BROWSWER_PEAK_CONCURRENT}\s*$$ | ||
^\s*Total\s+Active\s+and\s+Inactive\s+:\s+${TOTAL_ACTIVE_AND_INACTIVE}\s+Total\s+Cumulative\s+:\s+${TOTAL_CUMULATIVE}\s*$$ | ||
^\s*Device\s+Total\s+VPN\s+Capacity\s+:\s+${DEVICE_TOTAL_VPN_CAPACITY} | ||
^\s*Device\s+Load\s+:\s+${DEVICE_LOAD_PERCENT}%\s*$$ | ||
^\s*Tunnels\s+Summary\s* | ||
^\s*Active\s+:\s+Cumulative\s+:\s+Peak\s+Concurrent\s*$$ | ||
^\s*Clientless\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_PEAK_CONCURRENT} | ||
^\s*AnyConnect\-Parent\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_PEAK_CONC}\s*$$ | ||
^\s*SSL\-Tunnel\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_PEAK_CONCURRENT}\s*$$ | ||
^\s*DTLS\-Tunnel\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_PEAK_CONCURRENT}\s*$$ | ||
^\s*Totals\s+:\s+${TOTALS_ACTIVE}\s+:\s+${TOTALS_CUMULATIVE}\s*$$ -> Record | ||
^\s*$$ | ||
^. -> Error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--------------------------------------------------------------------------- | ||
VPN Session Summary | ||
--------------------------------------------------------------------------- | ||
Active : Cumulative : Peak Concur : Inactive | ||
---------------------------------------------- | ||
AnyConnect Client : 38 : 330351 : 442 : 0 | ||
SSL/TLS/DTLS : 38 : 330351 : 442 : 0 | ||
Clientless VPN : 0 : 1040 : 9 | ||
Browser : 0 : 1040 : 9 | ||
--------------------------------------------------------------------------- | ||
Total Active and Inactive : 38 Total Cumulative : 331391 | ||
Device Total VPN Capacity : 5000 | ||
Device Load : 1% | ||
--------------------------------------------------------------------------- | ||
--------------------------------------------------------------------------- | ||
Tunnels Summary | ||
--------------------------------------------------------------------------- | ||
Active : Cumulative : Peak Concurrent | ||
---------------------------------------------- | ||
Clientless : 0 : 1040 : 9 | ||
AnyConnect-Parent : 38 : 330351 : 442 | ||
SSL-Tunnel : 38 : 985244 : 392 | ||
DTLS-Tunnel : 37 : 2227003 : 386 | ||
--------------------------------------------------------------------------- | ||
Totals : 113 : 3543638 | ||
--------------------------------------------------------------------------- |
34 changes: 34 additions & 0 deletions
34
tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
parsed_sample: | ||
- anyconnect_client_active: "38" | ||
anyconnect_client_cumulative: "330351" | ||
anyconnect_client_inactive: "0" | ||
anyconnect_client_peak_concurrent: "442" | ||
ssl_tls_dtls_active: "38" | ||
ssl_tls_dtls_cumulative: "330351" | ||
ssl_tls_dtls_peak_concurrent: "442" | ||
ssl_tls_dtls_peak_inactive: "0" | ||
clientless_vpn_active: "0" | ||
clientless_vpn_cumulative: "1040" | ||
clientless_vpn_peak_concurrent: "9" | ||
vpn_browswer_active: "0" | ||
vpn_browswer_cumulative: "1040" | ||
vpn_browswer_peak_concurrent: "9" | ||
total_active_and_inactive: "38" | ||
total_cumulative: "331391" | ||
device_total_vpn_capacity: "5000" | ||
device_load_percent: "1" | ||
tunnels_summary_clientless_active: "0" | ||
tunnels_summary_clientless_cumulative: "1040" | ||
tunnels_summary_clientless_peak_concurrent: "9" | ||
tunnels_summary_anyconnect_parent_active: "38" | ||
tunnels_summary_anyconnect_parent_cumulative: "330351" | ||
tunnels_summary_anyconnect_parent_peak_conc: "442" | ||
tunnels_summary_ssltunnel_active: "38" | ||
tunnels_summary_ssltunnel_cumulative: "985244" | ||
tunnels_summary_ssltunnel_peak_concurrent: "392" | ||
tunnels_summary_dtlstunnel_active: "37" | ||
tunnels_summary_dtlstunnel_cumulative: "2227003" | ||
tunnels_summary_dtlstunnel_peak_concurrent: "386" | ||
totals_active: "113" | ||
totals_cumulative: "3543638" |