Avamar Client Backup Analysis - superseded
0 Votes |
Versioning - This is an older version.
1 | Avamar Client Backup Analysis | 11/29/2012 10:18:53 AM |
2 | EMC Avamar Client Backup Analysis - Windows | 6/26/2013 1:39:06 PM |
Description
This Analysis will show the backup status of EMC Avamar Clients.
Relevant on all Windows machines with EMC Avamar installed.
Property Details
Properties
Avamar Server
Period
6 hours
* Results in a "string"/number |

if exists file (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\avagent.cfg") then if exists (line whose (it as lowercase contains "-mcsaddr=") of file (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\avagent.cfg")) then following text of first "-mcsaddr=" of (line whose (it as lowercase contains "-mcsaddr=") of file (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\avagent.cfg")) as string else "No Server" else "No CFG file"
Most recent error-free backup time?
Period
6 hours
* Results in a "string"/number |

if exists folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") AND exists files whose (name of it contains ".log" AND (not exists lines whose (it contains " avtar Info <6149>: Error summary: ") of it)) of folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") then maximum of creation times of files whose (name of it contains ".log" AND (not exists lines whose (it contains " avtar Info <6149>: Error summary: ") of it)) of folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") as string else "No error-free backups exist"
Most recent backup time?
Period
6 hours
* Results in a "string"/number |

if exists folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") AND exists file whose (name of it contains ".log" AND (creation time of it = maximum of creation times of files of parent folder of it)) of folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") then creation time of file whose (name of it contains ".log" AND (creation time of it = maximum of creation times of files of parent folder of it)) of folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") as string else "No Backups Exist"
VSS Errors in Most Recent Backup?
Period
12 hours
* Results in a "string"/number |

if exists folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") AND exists file whose (name of it contains ".log" AND (creation time of it = maximum of creation times of files of parent folder of it) AND (exists lines whose (it contains " avtar Info <10662>: Unable to create volume snapshot; backup proceeding with original (non-snapshot) volume content. Some file content may not be backed up.") of it)) of folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") then "VSS Errors" else "No VSS Errors"
Error Summary in Most Recent Backup
Period
12 hours
* Results in a "string"/number |

if exists folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") AND exists file whose (name of it contains ".log" AND (creation time of it = maximum of creation times of files of parent folder of it) AND (exists lines whose (it contains " avtar Info <6149>: Error summary: ") of it)) of folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") then (following text of first " avtar Info <6149>: Error summary: " of line whose (it contains " avtar Info <6149>: Error summary: ") of file whose (name of it contains ".log" AND (creation time of it = maximum of creation times of files of parent folder of it) AND (exists lines whose (it contains " avtar Info <6149>: Error summary: ") of it)) of folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") as string) else "No Errors"
Number of Log files
Period
6 hours
* Results in a "string"/number |

if exists folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") then number of files whose (name of it contains ".log" AND name of it does not contain "progress-") of folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") as string else "No Backups Exist"
Relevance

(name of it = "WinXP" OR name of it = "WinXP-2003" OR (name of it = "WinVista" AND product type of it = nt workstation product type AND NOT x64 of it) OR (name of it = "WinVista" AND product type of it = nt workstation product type AND x64 of it) OR (name of it = "Win7" AND NOT x64 of it) OR (name of it = "Win7" AND x64 of it)) of operating system

exists key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry
Sharing
Social Media: |