Powershell - VBO Health Check


Userlevel 5
Badge +1

Update Jan 13th - Latest version available on 

https://github.com/yetanothermightytool/powershell/tree/master/vbo/vbo-health-checker

***

It's always recommended to open a support case as soon you're facing an issue with Veeam Backup for Microsoft Office 365. But as systems engineers, we somehow always want to know what happens under the hood :wink:

That's why I started writing a VBO Health Check script which quickly gives some useful information about the health of a Veeam Backup for Microsoft 365 setup. The script checks and reports possible issues/misconfigurations:

    - Backup Job Status per Job / Number of failed job
    - License expiration date
    - Check logs if throtthling occured on MS side
    - Possible slow backup due to slow backup repository
    - Proxy stuff (min. recommended CPU and Memory)
    - Check Windows event log for low memory conditions    
    - Logfile with the findings

Logfile gets stored in “C:\Scripts\Veeam\vbo\vbo_healthcheck_<computername>.log”


Note: The script is still "work in progress". Feedback welcome.


15 comments

Userlevel 5
Badge +1

Great work @SteveHeart - I ran that successfully for both my demo environments  :clap:

Userlevel 7
Badge +4

Thanks @SteveHeart 

I will try the script on my servers.

Userlevel 7
Badge +4

Hi @SteveHeart, the script runs perfectly fine !

One recommendation would be a “read-host” variable to decide where to store log files to as it is hardcoded at the moment. If you have the script on github, link it here I’m doing a PR then :D

Userlevel 5
Badge +1

Hi @SteveHeart, the script runs perfectly fine !

One recommendation would be a “read-host” variable to decide where to store log files to as it is hardcoded at the moment. If you have the script on github, link it here I’m doing a PR then :D

 

Hi @falkob - No github yet. But now you can pass the logfile name using the “-Logfile” Parameter.

Userlevel 7
Badge +6

Great script will have to run this on my test environment and see if we can use it.  Great work.

Userlevel 3
Badge +1

Love it, thanks for sharing @SteveHeart :slight_smile:

Userlevel 6
Badge

Looks great @SteveHeart ! Please do get this into github, would like to build this into some automated testing.

Userlevel 5
Badge +1

Looks great @SteveHeart ! Please do get this into github, would like to build this into some automated testing.

@k00laidIT , @falkob - github is on its way. Stay tuned.

Userlevel 7
Badge +4

Nice !

Userlevel 3
Badge

Thanks for sharing

Userlevel 5
Badge +1

@falkob, @k00laidIT - Now on github
https://github.com/yetanothermightytool/powershell/tree/master/vbo/vbo-health-checker

V1.1 with bugfixes and new functions

Userlevel 7
Badge +4

Forked :hearts:

Hi @SteveHeart ,

The script is working great. I just have a little problem. the Bottleneck give an error of cannot find path because it does not exist. Need help. Thank You

 

 

Userlevel 5
Badge +1

Hi @azja09 ,

 

possibly some special characters or something else within your job or org name that makes the variable “unusable”. Could you PM me your backup job name as well as the organization name?

https://helpcenter.veeam.com/docs/vbo365/guide/vbo_rename_org.html?ver=60

 

Thanks.

Userlevel 5
Badge +1

@azja09 : Found the “bug” and I am working on a solution.

 

Update: Newest version 1.3 now available.

Comment