TROUBLESHOOTING: Upload BES Console/Admin dump files
Log In or Register to download the BES file, and more.

0 Votes

Description

In BES 7.0, first time failure data capture has been improved specifically for application exceptions by using dump files. A BESConsole.dmp or BESAdmin.dmp file will now be generated when an unexpected C++ exception is encountered by the BES Console or BES Admin applications.

This task detects computers that have a BES Console/Admin dump file, and allows you to upload those files to the BES Server so it can be provided to BigFix Support. By default, the uploaded files will be placed in a subfolder under "%ProgramFiles%\BigFix Enterprise\BES Server\UploadManagerData\BufferDir\sha1" on the BES Server. The dump files are minidumps, so their size is typically less than 100kB.


Property Details

ID382
TitleTROUBLESHOOTING: Upload BES Console/Admin dump files
CategoryTroubleshooting
Download Size0
SourceBigFix
Source ID<Unspecified>
Source Severity<Unspecified>
Source Release Date3/3/2008 12:00:00 AM
KeywordsBES Console Admin files dump
Added by on 10/17/2012 1:15:16 PM
Last Modified by on 10/17/2012 1:15:16 PM
Counters 5105 Views / 1 Download
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 19 fixlets   * Results in a true/false
Show indented relevance
version of client >= "7.0"
Used in 5 fixlets   * Results in a true/false
Show indented relevance
name of operating system as lowercase contains "win"
Used in 1 fixlet   * Results in a true/false
Show indented relevance
((exists regapp "BESConsole.exe") AND (version of regapp "BESConsole.exe" >= "7.0")) OR ((exists regapp "BESAdmin.exe") AND (version of regapp "BESAdmin.exe" >= "7.0"))
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists (((value "Local AppData" of it as string & "\BigFix\" ) of keys "Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" of current user keys (logged on users) of registry)) whose (exists file (it as string & "BESConsole.dmp") or exists file (it as string & "BESAdmin.dmp"))

Actions

Action 1 (default)

Action Link Click here to upload BES Console and/or BES Admin dump files to the BES Server and remove the dump files from the clients.
Script Type BigFix Action Script
// create batch script to copy BESConsole.dmp and BESAdmin.dmp files from logged on users' Local AppData dirs to c:\winnt\temp\bfdmp, if they exist
delete __appendfile
delete client.bat
appendfile @ECHO OFF
appendfile mkdir "{pathname of windows folder & "\temp\bfdmp"}" > NUL 2>NUL
appendfile del "{pathname of windows folder & "\temp\bfdmp\*.dmp"}" > NUL 2>NUL
appendfile {concatenation of ("move %22" & it & "%22 %22" & pathname of windows folder & "\temp\bfdmp\" & (preceding text of first "\" of following text of first "gs\" of it as string) & ".BESConsole.dmp%22%0d%0a") of ((value "Local AppData" of it as string & "\BigFix\BESConsole.dmp") of keys "Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" of current user keys (logged on users) of registry) }
appendfile {concatenation of ("move %22" & it & "%22 %22" & pathname of windows folder & "\temp\bfdmp\" & (preceding text of first "\" of following text of first "gs\" of it as string) & "." & following text of last "\" of it as string & "%22%0d%0a") of (((value "Local AppData" of it as string & "\BigFix\BESAdmin.dmp"; value "Local AppData" of it as string & "\BigFix\BESConsole.dmp") of keys "Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" of current user keys (logged on users) of registry) whose (it as string does not contain "\Default User\")) whose (exists file it)}
move __appendfile client.bat
waithidden client.bat
// set max size to 10485760 to prevent too much data. If the zip file is to bigger than 10MBs the upload won't occur
setting "_BESClient_ArchiveManager_MaxArchiveSize"="10485760" on "{parameter "action issue date" of action}" for client
setting "_BESClient_ArchiveManager_OperatingMode"="2" on "{parameter "action issue date" of action}" for client
// set the entire bfdmp dir to upload
setting "_BESClient_ArchiveManager_FileSet-dmp"="{pathname of windows folder & "\temp\bfdmp\*.*"}" on "{parameter "action issue date" of action}" for client
// send results
archive now
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!