TSM Backup Audit - Windows
Log In or Register to download the BES file, and more.

0 Votes

Collections (part of 1 collection)

Tivoli Storage Manager (TSM)

Description

See http://bigfix.me/analysis/details/2994716 for a later, more dynamic, but much more complex version of this analysis. In the newer version I dynamically locate TSM services, DSM.OPT files, and dsmsched.log files, and get more result details out of the logs. I also check for a dsmsched.log.bak file if the dsmsched.log is locked and unreadable.

Report on Windows TSM Statuses.

Taken with thanks from JGStew at bigfix.me

Learn more about this analysis online: http://bigfix.me/cdb/analysis/62

Customized slightly by Jason Walker, 2013-04-22; added TSM Client Acceptor to services list for relevance; fixed some issues with tabs and comments ("*") and trimming the results.


Property Details

ID94
TitleTSM Backup Audit - Windows
DomainBESC
KeywordsTSM, Tivoli Storage Manager, Backup Audit
Added by on 4/26/2013 4:28:14 PM
Last Modified by on 9/10/2014 10:02:18 AM
Counters 5120 Views / 34 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Properties

Exists TSM sched log?
Period 12 hours
 
  * Results in a "string"/number
Show indented relevance
exists file "C:\Program Files\Tivoli\TSM\baclient\dsmsched.log"
Last Sched Success - ERROR
Period 7 days
 
  * Results in a true/false
Show indented relevance
if(not exists file "C:\Program Files\Tivoli\TSM\baclient\dsmsched.log") then "<dsmsched log missing>" else if(not exists file "C:\Program Files\Tivoli\TSM\baclient\dsmsched.log" whose(exists lines of it)) then "<file locked by TSM>" else ((lines whose(it contains "' completed successfully." AND it contains " Scheduled event '" AND line number of it = (maximum of line numbers of lines whose(it contains "' completed successfully." AND it contains " Scheduled event '") of file "C:\Program Files\Tivoli\TSM\baclient\dsmsched.log")) of file "C:\Program Files\Tivoli\TSM\baclient\dsmsched.log") as string)
TSM version installed
Period 1 day
 
  * Results in a true/false
Show indented relevance
if(not exists key whose("IBM Tivoli Storage Manager Client" = value "DisplayName" of it) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry) then "<TSM not installed>" else if(not exists key whose("IBM Tivoli Storage Manager Client" = value "DisplayName" of it AND exists value "DisplayVersion" of it) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry) then "<TSM dv reg entry missing>" else (value "DisplayVersion" of key whose("IBM Tivoli Storage Manager Client" = value "DisplayName" of it AND exists value "DisplayVersion" of it) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string)
Last Successful Backup
Period 6 hours
 
  * Results in a true/false
Show indented relevance
if(not exists file "C:\Program Files\Tivoli\TSM\baclient\tsmstats.ini") then "<tsmstats file missing>" else (modification time of file "C:\Program Files\Tivoli\TSM\baclient\tsmstats.ini" as string)
Num of crashes
Period 1 day
 
  * Results in a true/false
Show indented relevance
if(not exists file "C:\Program Files\Tivoli\TSM\baclient\dsmcrash.log") then "<no dsmcrash log>" else (number of lines whose (it contains "IBM Tivoli Storage Manager") of file "C:\Program Files\Tivoli\TSM\baclient\dsmcrash.log" as string)
Client exe Version
Period 1 day
 
  * Results in a true/false
Show indented relevance
if(not exists file "C:\Program Files\Tivoli\TSM\baclient\dsm.exe") then "<dsm.exe missing>" else if(not exists version of file "C:\Program Files\Tivoli\TSM\baclient\dsm.exe") then "<dsm.exe version missing>" else (version of file "C:\Program Files\Tivoli\TSM\baclient\dsm.exe" as string)
Last crash?
Period 1 day
 
  * Results in a true/false
Show indented relevance
if(not exists file "C:\Program Files\Tivoli\TSM\baclient\dsmcrash.log") then "<dsmcrash log missing>" else (modification time of file "C:\Program Files\Tivoli\TSM\baclient\dsmcrash.log" as string)
VC++2010x86?
Period 1 day
 
Used in 2 fixlets   * Results in a true/false
Show indented relevance
exists key whose (value "DisplayName" of it as string contains "Microsoft Visual C++ 2010" AND (it >= "10.0.40219" as version) of (value "DisplayVersion" of it as string as version)) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry
VC++2010x64?
Period 1 day
 
  * Results in a true/false
Show indented relevance
if (x64 of operating system AND exists x64 registry) then (exists key whose (value "DisplayName" of it as string contains "Microsoft Visual C++ 2010" AND (it >= "10.0.40219" as version) of (value "DisplayVersion" of it as string as version)) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x64 registry) as string else "<n/a - 32bit Machine>"
TSM Sched Service Running?
Period 6 hours
 
  * Results in a true/false
Show indented relevance
exists running service "TSM Scheduler Service"
Last Activity in TSM
Period 6 hours
 
  * Results in a true/false
Show indented relevance
if(not exists file "C:\Program Files\Tivoli\TSM\baclient\dsmsched.log") then "<dsmsched log missing>" else (modification time of file "C:\Program Files\Tivoli\TSM\baclient\dsmsched.log" as string)
TSM Server
Period 1 day
 
  * Results in a true/false
Show indented relevance
if(not exists file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt") then "<no dsm opt>" else if(not exists line whose(it as uppercase contains "TCPSERVERADDRESS") of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt") then "<no tcpserveraddress>" else ( following text of first "TCPSERVERADDRESS" of (it as uppercase) of line whose( ( if it does not contain "*" then it else preceding text of first "*" of it) as uppercase contains "TCPSERVERADDRESS" ) of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt" as trimmed string)
TSM Node Name
Period 2 days
 
  * Results in a true/false
Show indented relevance
if(not exists file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt") then "<no dsm opt>" else if(not exists line whose( (if it does not contain "*" then it else preceding text of first "*" of it) as uppercase contains "NODENAME") of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt") then "<no nodename>" else ( following text of first "NODENAME" of (it as uppercase) of line whose( ( if it does not contain "*" then it else preceding text of first "*" of it) as uppercase contains "NODENAME" ) of file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt" as trimmed string)
TSM Client Acceptor Service Running?
Period 6 hours
 
  * Results in a true/false
Show indented relevance
exists running service "TSM Client Acceptor"

Relevance

isWindows (Relevance 1172)
Used in 1130 fixlets and 535 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 1 analsis   * Results in a true/false
Show indented relevance
(exists key whose("IBM Tivoli Storage Manager Client" = value "DisplayName" of it) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry) OR (exists file "C:\Program Files\Tivoli\TSM\baclient\dsmsched.log") OR (exists file "C:\Program Files\Tivoli\TSM\baclient\tsmstats.ini") OR (exists file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt") OR (exists file "C:\Program Files\Tivoli\TSM\baclient\dsmcrash.log") OR (exists file "C:\Program Files\Tivoli\TSM\baclient\dsm.exe") OR (exists service "TSM Scheduler Service") OR (exists service "TSM Client Acceptor")

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
JasonWalker -
See http://bigfix.me/analysis/details/2994716 for a later, more dynamic, but much more complex version of this analysis. In the newer version I dynamically locate TSM services, DSM.OPT files, and dsmsched.log files, and get more result details out of the logs. I also check for a dsmsched.log.bak file if the dsmsched.log is locked and unreadable.