PowerShell script exchange
Post Reply
mikeely
Expert
Posts: 224
Liked: 69 times
Joined: Nov 07, 2016 7:39 pm
Full Name: Mike Ely
Contact:

Demo script for general-purpose monitoring

Post by mikeely » 7 people like this post

This is something we actually use in production and I thought other folks might find it useful to understand basic concepts as well as a few parts that I found tricky. Once installed it runs like any other powershell command so you can call it however you like - it returns either a list of failed backup jobs or nothing if everybody's either Success or Warning (which you can easily change to suit your own needs). Use it however you want - it's just a general purpose command that returns any failed jobs within the scope it was written to.

Currently we're using it to monitor:
  • Regular VMWare backups
  • Linux Agent jobs
  • SOBR offload tasks(added today, hopefully I didn't break anything)
Use at your own risk, no warranty, etc. and don't run it if you don't know how. Have a lot of fun:
https://github.com/taupehat/scratch/blo ... tatus.psm1
'If you truly love Veeam, then you should not let us do this :D' --Gostev, in a particularly Blazing Saddles moment
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests