How do I create low interval snapshot stats on the ProxySG?

book

Article ID: 166068

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

How do I create low interval snapshot stats on the ProxySG?
Blue Coat Support is requesting low interval snapshot stats.  How do I lower the time interval?
 

Resolution

By default, the SGOS keeps snapshots of your ProxySG's sysinfo and the sysinfo_stats.  The sysinfo snapshot is taken once per day and the sysinfo_stats are taken once per hour.  Blue Coat Support may ask that you create a low interval sysinfo_stats snapshot so they can obtain troubleshooting information.  This document will help you create a low interval sysinfo_stats job.  You can create a low-interval snapshot from the GUI or command line interface (CLI).  Please create it using one or the other, but not both.  Please do the following items.

 

CREATING LOW LEVEL SNAPSHOTS VIA THE MANAGEMENT CONSOLE (GUI)

1.)  Login to the Management Console on the ProxySG.  The Management Console is found at:  https://<ip.address.of.proxysg>:8082

2.)  Click on the Maintenance tab > Service Information > Snapshots.

3.)  In the snapshots tab, you should see sysinfo and sysinfo_stats.  NOTE:  There may be additional snapshots in there as those snapshots may have been created on a previous Blue Coat Support service request.

4.)  Click on the New button.  When the "Add Snapshot Job" shows up, type in sysinfo_stats_5min.  Click on the OK button and then click on ApplyNOTE:  You cannot start the name of the snapshot job with a number, such as 5min_sysinfo_stats.  If you do, when you click on the apply button, you will receive an "Error in Committing Changes".  If you click on the Yes button to see what the error says, in red you will see "Identifier must begin with a letter [a-zA-Z]".  So if you name this something other than sysinfo_stats_5min, make sure the snapshot name starts with a letter.

5.)  Once the new job has successfully saved, highlight the recently created snapshot rule and click on the Edit button.  The Edit Snapshot dialogue box will appear.  Make the following changes (or do whatever Blue Coat Support instructs you to do as they may suggest settings other than the settings below):

Target:/sysinfo-stats
Interval (minutes):5
Total Number To Take:Check next to infinite
Maximum Number To Store100
EnabledPlace a check next to Enabled

Make sure you click on the OK button.  Below is a screen shot of the job.

 

6.)  The newly created snapshot is up and running.  When the problem occurs again, make sure you upload the data as instructed by Blue Coat Technical Support to your service request. 

7.)  OPTIONAL:  If you want to create a lower interval (1 hour) snapshot of your sysinfo, you can repeat steps 4 - 6 above and change the target to /sysinfo and the interval to 60 minutes.

 

CREATING LOW LEVEL INTERVAL SNAPSHOTS VIA THE PROXYSG'S COMMAND LINE INTERFACE (CLI)

Please connect to the CLI via the serial console, SSH, or telnet (if enabled).  Here are the list of commands that you need to enable a five minute snapshot

ProxySG>enable
Enable Password:
ProxySG#config t
Enter configuration commands, one per line.  End with CTRL-Z.
ProxySG#(config)diagnostics
ProxySG#(config diagnostics)snapshot create sysinfo_stats_5min
  ok
ProxySG#(config diagnostics)snapshot edit sysinfo_stats_5min
ProxySG#(config snapshot sysinfo_stats_5min)target /sysinfo-stats
  ok
ProxySG#(config snapshot sysinfo_stats_5min)interval 5
  ok
ProxySG#(config snapshot sysinfo_stats_5min)keep 100
  ok
ProxySG#(config snapshot sysinfo_stats_5min)enable
  ok
ProxySG#(config snapshot sysinfo_stats_5min)exit
ProxySG#(config diagnostics)exit
ProxySG#(config)exit
ProxySG#