Forum Discussion

Photo_G_84660's avatar
Photo_G_84660
Icon for Nimbostratus rankNimbostratus
Aug 21, 2007

Support Snapshot?

Is there a method to execute System > Support > Support Snapshot so that a tech.out is created (which can then be downloaded using System.ConfigSync.download_file)? If not, are there any other options available to creat a QKview using iControl?

 

 

Thanks in advance,

 

Scott H.

7 Replies

  • A quick browse through the iControl API docs didn't turn anything up, so I'm guessing there isn't any way to do that. It looks like you could use the ConfigSync iControl stuff to download some of the configuration stuff, though I don't see any way to trigger a qkview or .ucs export.
  • Thanks. My SDK search ended the same, but I hoped that there was something that I was missing.
  • There are not currently any methods to generate support qkview files from iControl. You can save full .ucs configurations with System::ConfigSync::save_configuration() and you can download files (with constraints) with the System::ConfigSync::download_file() and System::ConfigSync::download_configuration() methods.

     

     

    -Joe
  • Thanks Joe,

     

     

    I have the download_file method working fine. So, I guess the only way to do this is to cron the execution of qkview on the LTM, and then use iControl to pull the tech.out file to a centralized server. This alleviates the need to manage a local script on each LTM, but the cron entry would need to be added back if the LTM was reloaded. That seems like a fair compromise.

     

     

    Do you think that System > Support > Support Snapshot will ever be added to available methods?

     

     

    Take care,

     

    Scott H.

     

  • ...also Joe, are there any other constraints that you can think of to the System::ConfigSync::download_file() method, besides the chunking problem (potential endless loop if the file size changes during transfer), and /var/log access? Are there any static file size restrictions?

     

     

    Thanks again,

     

    Scott H.
  • No constraints that I'm aware of. Just make sure that the chunk size you use is not too large. I recommend a size between 4096 and 65536. Anything larger than that can cause some slowness in responses due to the memory requirements on the server side. There are no restrictions that I know of regarding physical file sizes.

     

     

    Also, beware of active log files. They tend to grow and if you have iControl logging turned on you could be causing the log to grow for each iControl method resulting in, as you mentioned, an endless loop. Downloading gzipped up files should not cause any problems.

     

     

    -Joe