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

1 Votes

Description

Report on Windows Tivoli Storage Manager configuration and backup results.

Most results in this Analysis also specify the dsmsched.log file from which the result was retrieved.

Original queries taken with thanks from JGStew at bigfix.me.

v3.1

  • Additional error handling for missing/unreadable dsmsched.log files, dynamic lookups of service names, better handling of multiple dsm.opt and dsmsched.log files.

v3:

  • Now uses dynamic lookups, finding the Services, then finding the DSM.OPT associated with the services, then the dsmsched.log associated with each dsm.opt.  This allows for pulling values from nonstandard dsm.opt and dsmsched.log locations and from multiple services.

v2:

  • Checks for a dsmsched.log.bak if dsmsched.log is unreadable (the file is often locked by TSM itself).
  • A Policy Action may be used to backup the dsmsched.log file to dsmsched.log.bak periodically

Property Details

ID2994716
StatusQA - Ready for Production Level Testing
TitleTSM Backup Audit v3.1 - Windows
DomainSYST
KeywordsTivoli Storage Manager, tsm, dsm.opt, text file, registry, error handling
Added by on 9/10/2014 9:59:41 AM
Last Modified by on 9/10/2014 9:59:41 AM
Counters 3329 Views / 28 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 2 ratings. ** Log In or Register to add your rating.

Properties

TSM Installed - Product Registry Path
Period 1 day
 
  * Results in a true/false
Show indented relevance
exists key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry
TSM Installed - Uninstall Registry Path
Period 1 day
 
  * 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)
TSM version installed - Registry
Period 1 day
 
  * Results in a true/false
Show indented relevance
if exists (key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry) whose (exists value "PtfLevel" of it) then value "PtfLevel" of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry as string else "<none>"
TSM version installed - Client exe
Period 1 day
 
  * Results in a true/false
Show indented relevance
(if(not exists file "dsm.exe" of it) then "<dsm.exe missing>" else if(not exists version of file "dsm.exe" of it) then "<dsm.exe version missing>" else (version of file "dsm.exe" of it as string)) of (value "Path" of it as folder)of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry
Multiple TSM Installations Found in Registry
Period 1 day
 
  * Results in a true/false
Show indented relevance
number of (keys of (key "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall" of native registry)) whose (value "DisplayName" of it = "IBM Tivoli Storage Manager Client") > 1
TSM Service Names
Period 1 day
 
  * Results in a true/false
Show indented relevance
names of values whose (it as string as trimmed string != "") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry
dsm.opt file paths
Period 1 day
 
  * Results in a true/false
Show indented relevance
unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string) as lowercase
dsmsched.log file paths
Period 1 day
 
  * Results in a true/false
Show indented relevance
unique values of ( concatenation of substrings separated by "%22" of it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
TSM Server
Period 1 day
 
  * Results in a true/false
Show indented relevance
(if(not exists file it) then "<" & it & " missing>" else if(not exists line whose(it as uppercase contains "TCPSERVERADDRESS") of file it) then "<missing in " & it & ">" 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 it as trimmed string & " (" & it & ")")) of unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string) as lowercase
TSM Node Name
Period 2 days
 
  * Results in a true/false
Show indented relevance
(if(not exists file it) then "<" & it & " missing>" else if(not exists line whose(it as uppercase contains "NODENAME") of file it) then "<missing in " & it & ">" 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 it as trimmed string & " (" & it & ")")) of unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string) as lowercase
VC++2010x86 Installed
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 Installed
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>"
Num of crashes
Period 1 day
 
  * Results in a true/false
Show indented relevance
(if(not exists file "dsmcrash.log" of it) then "<no dsmcrash log>" else (number of lines whose (it contains "IBM Tivoli Storage Manager") of file "dsmcrash.log" of it as string)) of (value "Path" of it as folder)of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry
Last crash?
Period 1 day
 
  * Results in a true/false
Show indented relevance
(if(not exists file "dsmcrash.log" of it) then "<dsmcrash log missing>" else (modification time of file "dsmcrash.log" of it as string)) of (value "Path" of it as folder)of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry
TSM Sched Service Running?
Period 6 hours
 
  * Results in a true/false
Show indented relevance
((exists running service (it)) as string & " (" & it as string & ")") of names of values whose (it as string as trimmed string = "Client Scheduler Service") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry
TSM Client Acceptor Service Running?
Period 6 hours
 
  * Results in a true/false
Show indented relevance
((exists running service (it)) as string & " (" & it as string & ")") of names of values whose (it as string as trimmed string = "Client Acceptor Service") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry
Exists TSM sched log?
Period 12 hours
 
  * Results in a true/false
Show indented relevance
((exists file it ) as string & " (" & it & ")") of unique values of ( concatenation of substrings separated by "%22" of it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
TSM Node Missing or Password Error
Period 1 day
 
  * Results in a true/false
Show indented relevance
(item 0 of it as string & " (" & pathname of item 1 of it & ")") of ((exists it whose (it contains "ANS2050E") of substrings separated by "|||" of following text of last "Scheduler has been started by Dsmcad." of concatenation "|||" of lines of it) as string, it) of (file it) of (if (exists files(it; it & ".bak") whose (exists lines of it)) then (tuple string item 0 of concatenation ", " of (pathnames of files (it; it & ".bak") whose (exists lines of it))) else (error ("file not found (" & it & ")" ))) of unique values of (if it contains "%22" then concatenation of substrings separated by "%22" of it as lowercase else it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
TSM Server Connection Error
Period 6 hours
 
  * Results in a true/false
Show indented relevance
(item 0 of it as string & " (" & pathname of item 1 of it & ")" ) of (((exists it whose (it contains "ANS1017E") of substrings separated by "|||" of following text of last "Scheduler has been started by Dsmcad." of concatenation "|||" of lines of it) as string), it) of (file it) of (if (exists files(it; it & ".bak") whose (exists lines of it)) then (tuple string item 0 of concatenation ", " of (pathnames of files (it; it & ".bak") whose (exists lines of it))) else (error ("file not found (" & it & ")" ))) of unique values of (if it contains "%22" then concatenation of substrings separated by "%22" of it as lowercase else it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
Last Activity in TSM
Period 6 hours
 
  * Results in a true/false
Show indented relevance
((if not exists file it then "<missing>" else modification time of file it as string) & " (" & it & ")") of unique values of ( concatenation of substrings separated by "%22" of it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
Most recent backup status
Period 6 hours
 
  * Results in a true/false
Show indented relevance
(if (not exists lines whose (it as string contains "Scheduled event '") of it) then "<no schedule result found>" & " (" & pathname of it & ")" else (item 0 of it as string & " (" & pathname of item 1 of it & ")") of (following text of last "' " of lines (maximum of line numbers of (lines of it) whose (it as string contains "Scheduled event '")) of it, it)) of (file it) of (if (exists files(it; it & ".bak") whose (exists lines of it)) then (tuple string item 0 of concatenation ", " of (pathnames of files (it; it & ".bak") whose (exists lines of it))) else (error ("file not found (" & it & ")" ))) of unique values of (if it contains "%22" then concatenation of substrings separated by "%22" of it as lowercase else it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
Last Sched Result
Period 6 hours
 
  * Results in a true/false
Show indented relevance
(if (not exists lines whose (it as string contains "Scheduled event '") of it) then "<no schedule result found>" & " (" & pathname of it & ")" else (item 0 of it as string & " (" & pathname of item 1 of it & ")") of (lines (maximum of line numbers of (lines of it) whose (it as string contains "Scheduled event '")) of it, it)) of (file it) of (if (exists files(it; it & ".bak") whose (exists lines of it)) then (tuple string item 0 of concatenation ", " of (pathnames of files (it; it & ".bak") whose (exists lines of it))) else (error ("file not found (" & it & ")" ))) of unique values of (if it contains "%22" then concatenation of substrings separated by "%22" of it as lowercase else it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
Last Successful Backup
Period 6 hours
 
  * Results in a true/false
Show indented relevance
(if(not exists file "tsmstats.ini" of it) then "<tsmstats file missing>" else ((year of it as string & "_" & month of it as two digits as string & "_" & day_of_month of it as two digits as string) of date (local time zone) of it & "(tsmstats.ini)") of (modification time of file "tsmstats.ini" of it)) of (value "Path" of it as folder)of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry
All Recent Schedule Results
Period 6 hours
 
  * Results in a true/false
Show indented relevance
( (item 0 of it & " (" & pathname of item 1 of it & ")") of (((lines of it) whose (it as string contains "Scheduled event '") of it, it))) of (file it) of (if (exists files(it; it & ".bak") whose (exists lines of it)) then (tuple string item 0 of concatenation ", " of (pathnames of files (it; it & ".bak") whose (exists lines of it))) else (error ("file not found (" & it & ")" ))) of unique values of (if it contains "%22" then concatenation of substrings separated by "%22" of it as lowercase else it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
Next Scheduled Backup Time/Date
Period 12 hours
 
  * Results in a true/false
Show indented relevance
(item 0 of it & " (" & pathname of item 1 of it & ")") of (((if not exists it whose (it contains "Server Window Start") then "<no schedule found>" else (it as trimmed string) of following text of first "Server Window Start:" of it whose (it contains "Server Window Start:" of it) of substrings separated by "|||" of it) of following text of last "--- SCHEDULEREC QUERY BEGIN" of concatenation "|||" of lines of it) as string, it) of (file it) of (if (exists files(it; it & ".bak") whose (exists lines of it)) then (tuple string item 0 of concatenation ", " of (pathnames of files (it; it & ".bak") whose (exists lines of it))) else (error ("file not found (" & it & ")" ))) of unique values of (if it contains "%22" then concatenation of substrings separated by "%22" of it as lowercase else it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
Last Backup Result Details
Period 6 hours
 
  * Results in a true/false
Show indented relevance
(item 0 of it & " (" & item 1 of it & ")") of (substrings separated by "%0d%0f" of preceding texts of first "--- SCHEDULEREC STATUS END" of following texts of last "--- SCHEDULEREC STATUS BEGIN" of concatenation "%0d%0f" of lines of it, pathname of it ) of (file it) of (if (exists files(it; it & ".bak") whose (exists lines of it)) then (tuple string item 0 of concatenation ", " of (pathnames of files (it; it & ".bak") whose (exists lines of it))) else (error ("file not found (" & it & ")" ))) of unique values of (if it contains "%22" then concatenation of substrings separated by "%22" of it as lowercase else it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
Number of failed objects in last backup
Period 6 hours
 
  * Results in a true/false
Show indented relevance
(item 0 of it as trimmed string & " (" & pathname of item 1 of it & ")") of (following text of last ":" of it whose (it contains "failed") of substrings separated by "%0d%0f" of preceding text of first "--- SCHEDULEREC STATUS END" of following text of last "--- SCHEDULEREC STATUS BEGIN" of concatenation "%0d%0f" of lines of it, it)of (file it) of (if (exists files(it; it & ".bak") whose (exists lines of it)) then (tuple string item 0 of concatenation ", " of (pathnames of files (it; it & ".bak") whose (exists lines of it))) else (error ("file not found (" & it & ")" ))) of unique values of (if it contains "%22" then concatenation of substrings separated by "%22" of it as lowercase else it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
Number of backed up objects in last backup
Period 6 hours
 
  * Results in a true/false
Show indented relevance
(item 0 of it as trimmed string & " (" & pathname of item 1 of it & ")") of (following text of last ":" of it whose (it contains "backed up") of substrings separated by "%0d%0f" of preceding text of first "--- SCHEDULEREC STATUS END" of following text of last "--- SCHEDULEREC STATUS BEGIN" of concatenation "%0d%0f" of lines of it, it)of (file it) of (if (exists files(it; it & ".bak") whose (exists lines of it)) then (tuple string item 0 of concatenation ", " of (pathnames of files (it; it & ".bak") whose (exists lines of it))) else (error ("file not found (" & it & ")" ))) of unique values of (if it contains "%22" then concatenation of substrings separated by "%22" of it as lowercase else it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))
Size of last backup
Period 6 hours
 
  * Results in a true/false
Show indented relevance
(item 0 of it as trimmed string & " (" & pathname of item 1 of it & ")") of (following text of last ":" of it whose (it contains "bytes transferred") of substrings separated by "%0d%0f" of preceding text of first "--- SCHEDULEREC STATUS END" of following text of last "--- SCHEDULEREC STATUS BEGIN" of concatenation "%0d%0f" of lines of it, it)of (file it) of (if (exists files(it; it & ".bak") whose (exists lines of it)) then (tuple string item 0 of concatenation ", " of (pathnames of files (it; it & ".bak") whose (exists lines of it))) else (error ("file not found (" & it & ")" ))) of unique values of (if it contains "%22" then concatenation of substrings separated by "%22" of it as lowercase else it as lowercase) of (if (item 0 of it contains "\") then (item 0 of it) else (item 1 of it & "\" & item 0 of it)) of ( ( preceding text of first ";" of (concatenation ";" of (following texts of firsts "SCHEDLOGNAME" of (it as uppercase) of (if it contains "*" then preceding text of first "*" of it else it) of lines whose (it as string as uppercase contains "SCHEDLOGNAME") of files it as trimmed string; "DSMSCHED.LOG;")) of unique values of (item 1 of it as lowercase)), item 0 of it, item 1 of it) of ((value "Path" of it as string) of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient" of native registry, unique values of (values "OptionsFile" of keys "Parameters" of keys (names of values whose (it as string as trimmed string !="") of key "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service" of native registry) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services" of native registry as string))

Relevance

isWindows (Relevance 1172)
Used in 1113 fixlets and 524 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 21 fixlets and 3 analyses   * Results in a true/false
Show indented relevance
if exists property "in proxy agent context" then not in proxy agent context else true
Used in 1 analsis   * Results in a true/false
Show indented relevance
not (exists (settings of client) whose (name of it = "Ignore_TSM_Report" and value of it = "1"))
Used in 1 analsis   * Results in a true/false
Show indented relevance
(name of operating system starts with "Win2003" OR name of operating system starts with "Win2008") OR (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!