Network Management
VPN Tunnel History report shows the last 2 to 7 days of data
This article will explain why the predefine 'VPN Tunnel History - Last 30 Days' reports displays 2 to 7 days of data.
First published date
Last published date
Overview
Webconsole > Report > Manage Report > Remote Access VPN Tunnel History - Last 30 Days
Product section
Cause
The default setting for NPM_Settings_ASA_RemoteAccess_RetainDownTunnels_Days is 2 days
The default setting for NPM_Settings_ASA_RemoteAccess_Retain_Days is 7 days
Resolution
Steps To Resolve
- Remote to the SolarWinds server
- Open the Database Manager
- Click Add Orion Server
- Find the SolarWinds database (i.e SolarWindsOrion)
- From the left pane, select the Settings table
- To filter only the RemoteAccess setting, run the following query below:
-
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. SELECT TOP 1000 * FROM [dbo].[Settings] where settingid like '%ASA%'
- Find the setting NPM_Settings_ASA_RemoteAccess_Retain_Days
- Select Enable table editing
- Adjust the CurrentValue, which by default is 7-days, up to the maximum of 30 days.
- After updating the value, click Enter button
- Find the setting NPM_Settings_ASA_RemoteAccess_RetainDownTunnels_Days
- This correlates to the disconnection of the sessions, if only retained for 2 days, even if you change the "Days of Data Retention", a report will most likely still only show the last 3 days
- Adjust the CurrentValue, which by default is 2 days, up to the maximum of 365 days.
- After updating the value, click Enter button